Solution to the error "err-disable" on the switch port
Instance:
We pulled an MSTP line from the customer's IDC room. After connecting to the Cisco 3750x, the port lights will not light up, and the port will not light up after it is changed, the error "err-disable" is reported because the client has a loop.
Fault symptom:
Line failure, physical indicator light is not on, some will be displayed in Orange (different platform indicator light status)
Solution:
Cancel loop and restart the port
Troubl
:1920px;}}@-webkit-keyframes t4{0%{left:2880px;}20%{left:2880px;}25%{left:1920px;}45%{left:1920px;}50%{left:960px;}70%{left:960px;}75%{left:0;}95%{left:0;}100%{left:2880px;}}
T1, T2, T3, T4 Four animated names are defined here. Mainly in the animation of the setting of the number of frames, because there are only 4 charts, so take each frame number increased by 25% to let the left value minus the width of the picture, and before changing the left value of 5% (this value adjusted according to th
: . Test. IMG1{ Left:0;-webkit-animation:T1 Linear 12s Infinite;-moz-animation:T1 Linear 12s Infinite;-ms-animation:T1 Linear 12s Infinite;-o-animation:T1 Linear 12s Infinite;Animation:T1 Linear 12s Infinite;}. Test. Img2{ Left:960px;-webkit-animation:T2 Linear
In node. JS source code, it is common to use various symbols to process strings as numbers. May be written by different people, the use of different styles. Basically there are some of the following.Convert a string to a number +A simple way to convert a number string into a number is to prefix it with a number + . VarSi= + ";//12 var SN = + ' -12 ' ;// -12 var SF = + ' 12.7 ' ;//12.7 var SS = + ' 12s ' ;//NaN *To convert using multipli
enter the correct weixin you want to modify:")) Modify_flag= 1elifNum2==4: Card_infors[sign-1]["Addr"] = input ("Please enter the correct address you want to modify:") Modify_flag= 1elifNum2==5: Break Else: Print("input Error, please re-enter:") ifModify_flag = = 1:#determine if the modification was successful Print("modified successfully! ") Break Breakdeffind_card_infor ():"
12
Xiaochao
311aqqee
13
Hanxiaoping
121rcfwrfq
14
Song well-off
123123tcsd
15
Kang
3cxvdfs
The Order_goods data is as follows:
OID
UID
name
Buytime
1
10
Apple Mouse
1212313
2
3
iphone 12s
123121241
3
12
Snow BI
1323
User Access Verification
Password:
Idc-3750g-12s-01>ping 192.168.50.47
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.47, timeout is 2 seconds:
!!!!!
Success rate is percent (5/5), round-trip Min/avg/max = 1/1/1 ms
Hc-3750g-12s-01>sh ARP | In 192.168.50.47
Internet 192.168.50.47 2 0030.4825.4441 ARPA Vlan50
Idc-3750g-12s-01>s
Question link:
HereAnalysis:
When the upper and lower layers are both #, you can set the upper and lower layers to a wall .. Another layer is that the # layer is a wall .. You just need to build both walls... To judge whether he is killed .. Haha, I have encountered some minor problems... When I met #, I forgot to add steps... So we kept wa .. Finally, it is checked out... ..... Low-level mistakes... No time is required for the upper and lower floors .. But it takes one step to go...Code:
#incl
: ' + json.stringify (res.data);
}
});
Count--;
},4000);
};
In this code, I created a proxy object, can cache Ajax request 10s, with a timer called the proxy object five times get method to send the same request, the final printing effect is as follows:As a result, the entire code executes 24s, and the time that the agent sends the request is 4s, 8s, 12s, 16s and 20s. Because the agent's cache is valid for 10s, and 4s is the
file and screen at the same timeImportLogginglogging.basicconfig ( level=logging. DEBUG, Format='% (asctime) s% (filename) s[line:% (lineno) d]% (levelname) s% (message) s', Datefmt='%a,%d%b%Y%h:%m:%s', filename='Myapp.log', FileMode='W')##################################################################################################define a Streamhandler, print info-level or higher log information to a standard error, and add it to the current log processing object #console =logging. Streamha
ignored when stream and filename are specified simultaneously
3. Output logs to both file and screen at the same time
Import Logging Logging.basicconfig (level=logging. DEBUG, format= '% (asctime) s% (filename) s[line:% (lineno) d]% (levelname) s% (message) s ', datefmt= '%a,%d%b%Y%h:% M:%s ', filename= ' Myapp.log ', filemode= ' W ') ############################################################## ################################### #定义一个StreamHandler, print info-level or higher log infor
and filename are specified simultaneously3. Output logs to both file and screen at the same time
Import loggingLogging.basicconfig (level=logging. DEBUG,format= '% (asctime) s% (filename) s[line:% (lineno) d]% (levelname) s% (message) s ',Datefmt= '%a,%d%b%Y%h:%m:%s ',Filename= ' Myapp.log ',Filemode= ' W ')##################################################################################################定义一个StreamHandler, print Info-level or higher log information to a standard err
Today in the company code to see the use of the time-out function of the Select function as the use of timers, and then organized the following several micro-level Linux timer. In my Ubutu10.10 dual-core environment, the compilation passes.[CPP]View PlainCopy
/*
* @FileName: TEST_SLEEP.C
* @Author: WZJ
* @Brief:
*
*
* @History:
*
* @Date: February 07, 2012 Tuesday 22:20:00
*
*/
#include
#include
#include
#include
#include
#include
#include
#include
and filename are specified simultaneously3. Output logs to both file and screen at the same time
Import loggingLogging.basicconfig (level=logging. DEBUG,format= '% (asctime) s% (filename) s[line:% (lineno) d]% (levelname) s% (message) s ',Datefmt= '%a,%d%b%Y%h:%m:%s ',Filename= ' Myapp.log ',Filemode= ' W ')##################################################################################################定义一个StreamHandler, print Info-level or higher log information to a standard err
()Level: Sets the log levels by default to logging. WARNINGStream: Specifies the output stream that will log, can specify output to Sys.stderr,sys.stdout or file, default output to Sys.stderr, stream is ignored when stream and filename are specified simultaneously3. Output logs to both file and screen at the same time
Import loggingLogging.basicconfig (level=logging. DEBUG,format= '% (asctime) s% (filename) s[line:% (lineno) d]% (levelname) s% (message) s ',Datefmt= '%a,%d%b%Y%h:%m
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.