|
|
进入特权模式:
8 e5 N2 k$ `& ]Switch#configure terminal
/ w7 F% R" }, V) W0 oEnter configuration commands, one per line. End with CNTL/Z.
- k) U, } C1 {6 ~9 }
$ z. K0 ~% d: P% p6 `( u* A' |, p; U0 G9 f/ D, u( z( ?* K
设置成default状态:
2 p# u7 r' v8 W. @5 TSwitch(config)#default interface fastEthernet 0/234 ]# e+ f& _$ n) z6 U
Interface FastEthernet0/23 set to default configuration
! W5 I4 J) `2 \! |" Y
7 H) n6 W* e+ ~+ X) x/ K01:45:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down( x3 Y4 p6 ^6 [# r F9 S6 i9 p
; w' I7 C+ j3 [! L* f01:45:28: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to up
# H- E _. z" K01:45:34: %SYS-5-CONFIG_I: Configured from console by console9 Z; K6 L0 z2 K6 B% C. u+ x: s/ ]
01:45:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up) I5 C: J* }: g& W5 j7 n
2 h0 b* W/ T2 j
Switch#show interfaces fastEthernet 0/23
. N+ u( G% x. [" m" ^6 |7 N5 VFastEthernet0/23 is up, line protocol is up (connected)
& E7 @, u4 x6 N( T i Hardware is Fast Ethernet, address is 001b.2b79.7499 (bia 001b.2b79.7499)
9 f$ h: X8 Y+ {! O" C MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, - A R2 O: J' u; A& P
reliability 255/255, txload 1/255, rxload 1/255$ E z5 _" l" e U1 W9 S) |
Encapsulation ARPA, loopback not set% U6 E+ c8 s* g' s: p2 L
Keepalive set (10 sec)! p7 p0 {, T* t: s
Full-duplex, 100Mb/s, media type is 10/100BaseTX
+ Z7 B1 m) S- t! w input flow-control is off, output flow-control is unsupported
/ \$ x' p8 j$ m7 { `% P$ H ARP type: ARPA, ARP Timeout 04:00:00. C R& S) E) L! `
Last input never, output 00:00:00, output hang never
7 }' Y6 S% f$ F9 q: ? Last clearing of "show interface" counters never
y, B" \1 \9 K1 a# b% b" r Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0" q5 @% L, a& s! s8 l' x
Queueing strategy: fifo8 b) l; J. c: F2 J$ |; i2 `! ?
Output queue: 0/40 (size/max)
, J/ E# d6 W5 N0 \( R% ?# o 5 minute input rate 0 bits/sec, 0 packets/sec
4 F: }' F/ W9 t! b+ n 5 minute output rate 0 bits/sec, 0 packets/sec1 T: _7 x' k) r
4281 packets input, 538052 bytes, 0 no buffer/ l- Q5 U0 ?$ a4 r
Received 4015 broadcasts (0 multicast)# U# d d/ d% ~
0 runts, 0 giants, 0 throttles: H5 _" y& l2 |3 l' x T
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored& }) S: U( u7 O; z7 i9 L
0 watchdog, 3224 multicast, 0 pause input
2 _( X2 c# @& C/ n! W) r 0 input packets with dribble condition detected: T" R- [( @* d. U
2225 packets output, 193144 bytes, 0 underruns0 p9 C- ]: [' W0 o
0 output errors, 0 collisions, 1 interface resets
" M2 w3 |9 x( H 0 babbles, 0 late collision, 0 deferred
8 X. h2 I$ C3 U2 _5 D/ w 0 lost carrier, 0 no carrier, 0 PAUSE output
: w' z: R! X; X1 V 0 output buffer failures, 0 output buffers swapped out
: G$ ?6 B/ H% m3 R' Q3 \" Y0 q( b) U$ I- Q. S) b% J: t a
- f1 Z9 _1 x0 v* [9 K1 G, [
3 ]. c. Q: A. l
4 e; K* r- W4 b! @( A* d, l5 r
Switch#show configuration
- s$ H0 L5 u: r4 xUsing 1832 out of 524288 bytes
6 N; t0 R) w4 n9 s; @!
y k5 h! G: J) c" v& L% `version 12.20 y5 K; D- \8 o& X0 m$ {
! 8 ^8 h6 w, \ I1 ~1 l
interface FastEthernet0/23
6 ?+ o7 C6 ~; R; c3 `0 K* v! - @9 z$ |1 x$ ?5 j' |
interface FastEthernet0/24
5 [" z% e+ F9 x* X2 {5 D- y( Q4 Y) O8 x% l' I4 K
- U9 `* }: m5 K |
|