|
|
进入特权模式: i! {! M+ J! y8 t' W
Switch#configure terminal
; u& ]" K r, k' q/ r% DEnter configuration commands, one per line. End with CNTL/Z.9 ]8 p- o1 K$ e$ k; O' Q
; c5 N8 r* W# \4 s+ {& r J# z
A% y" }7 I. B: i+ t ^7 d# k设置成default状态:2 M( v' o' e! }! P u
Switch(config)#default interface fastEthernet 0/234 k. A' x; r% [
Interface FastEthernet0/23 set to default configuration
' z% U" y8 X/ C
: w' E, D& j6 l* [7 E3 d01:45:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down
* h$ i E' ~) E, R( x& H" J' ]! c
! j; X2 Y/ G7 p! @! a3 I01:45:28: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to up
7 D" o0 D, X$ B01:45:34: %SYS-5-CONFIG_I: Configured from console by console* i) P- S( h4 b G
01:45:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up0 ~4 Y# J# u# G4 h# h+ J
! s# D+ o' \& Z' g5 y
Switch#show interfaces fastEthernet 0/23
6 V6 f0 u( l, M; u' N, Q* H% S0 t# a2 CFastEthernet0/23 is up, line protocol is up (connected)% Q `9 H0 s7 j1 r
Hardware is Fast Ethernet, address is 001b.2b79.7499 (bia 001b.2b79.7499)
' B! E+ \% U. h$ A. i( q6 @( Q MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, ; V0 Z' @2 c8 Y# ?5 C1 t+ n
reliability 255/255, txload 1/255, rxload 1/255, q) ^$ n- d: Z7 z
Encapsulation ARPA, loopback not set
: v6 H/ l5 `& r6 h! P* [; G Keepalive set (10 sec)
" G" g) b$ h; U6 k/ V& R7 M Full-duplex, 100Mb/s, media type is 10/100BaseTX
8 C" R7 w% R, o4 Q' X! N input flow-control is off, output flow-control is unsupported
, i- L# k" _' D ARP type: ARPA, ARP Timeout 04:00:00
y5 B T. A1 c/ h. Y7 t Last input never, output 00:00:00, output hang never, o+ k8 W2 @9 j( ^: x8 }0 r
Last clearing of "show interface" counters never! u) L4 x' U. y9 M1 @, V
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 07 i9 F' b) g }4 ?& }% `0 F! l
Queueing strategy: fifo
9 ~& h0 H4 A0 M. `3 X6 N5 ^( e Output queue: 0/40 (size/max)
, g8 g2 h; M) [! f9 i6 s1 w 5 minute input rate 0 bits/sec, 0 packets/sec
& R8 @) [, W9 v# `+ x2 @' a) m 5 minute output rate 0 bits/sec, 0 packets/sec! M( W# ^7 V: I9 {4 v* p& v, P0 E
4281 packets input, 538052 bytes, 0 no buffer" J& d2 c7 s& q' B o
Received 4015 broadcasts (0 multicast)
& i: w, c# M$ Y, A 0 runts, 0 giants, 0 throttles8 z4 z( t a5 G5 [3 S1 V2 D
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored% A+ P9 y3 l/ D& o
0 watchdog, 3224 multicast, 0 pause input
9 V# c# }. c+ L8 c4 D 0 input packets with dribble condition detected n: [- F J6 b
2225 packets output, 193144 bytes, 0 underruns' L( F) b; b v9 J ]7 L/ n
0 output errors, 0 collisions, 1 interface resets3 C) `% H2 s+ ?+ Y! w
0 babbles, 0 late collision, 0 deferred: W6 a8 c0 g" x) {$ c( W
0 lost carrier, 0 no carrier, 0 PAUSE output
- U+ a4 X; h* ]7 l) T6 Z2 @/ o 0 output buffer failures, 0 output buffers swapped out
( n8 u3 H' ~3 X. s& ~& w q. u2 h3 t( k& O# r9 E4 C# ~- T
( }( e8 F7 D1 o0 I- _8 U$ C! _+ p# I( G7 Z; y( `$ G* K
% O8 I$ h% r0 L0 z0 ~. m0 _7 ]
Switch#show configuration
$ @ \; s+ I3 S& b8 {Using 1832 out of 524288 bytes' G6 J/ b$ I* M
!4 C: R' q& ^/ J7 _. B3 o \
version 12.2
$ X L& x9 Q4 @9 b' e; E+ j; H6 l! ( A6 b7 I3 b t0 o- Y t9 W
interface FastEthernet0/23; {2 e5 b3 F5 s& F0 z
! $ e G& ~4 q: x8 H7 _
interface FastEthernet0/24- P, p# q; h' w. i9 s& }6 d. w4 y
7 [9 p# ^% L* g9 l# L4 U
4 U& \; n& ~$ K* s ] |
|