找回密码
 注册
查看: 342|回复: 3

H3C s6800 交换机配置vlan、dhcp、vlan标签(truck)

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2026-2-28 12:55:00 | 显示全部楼层 |阅读模式
H3C s6800 交换机配置vlan、dhcp、vlan标签(truck)9 B/ Y. B8 |. X' Q3 H

- `" i0 _/ Y. o; x) h2 \/ w$ N创建vlan:4 }, K9 T  F% i1 v- R" x

' M* s' F( Q/ Z3 u/ l* e0 x[H3C]vlan 1372
) v% f0 D5 N; _[H3C-vlan1372]exit
: B( e0 e8 _8 P( H( B5 @[H3C]vlan 13718 K: C3 R: m9 P8 o* ]
[H3C-vlan1371]exit6 @1 F) ^' K) x
+ Z4 i! R+ s% n0 A3 j2 O; Q2 t

3 p2 B  K; j! j5 S; n设置vlan ip:' U  `7 l+ s2 {2 c5 \
. t. Q; k4 f/ M- T0 _1 V: M0 i
[H3C]interface  Vlan-interface 13715 j& J. n, V, F! @* K' `
[H3C-Vlan-interface1371]%Jan  1 02:27:30:667 2011 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Vlan-interface1371 changed to up.* n  p& s: v  F( K/ s9 f& n# A8 m* R
%Jan  1 02:27:30:669 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface1371 changed to up.
9 M, m2 O  S5 t9 E+ e0 J5 Y' j, a4 i4 W. r% c9 G
[H3C-Vlan-interface1371]ip address 10.17.18.254 255.255.255.0 , y0 g! V: ~9 x+ \
[H3C-Vlan-interface1371]exit6 O/ `- t- i* g
+ L8 t' c' O) ~5 ]4 [
1 [$ k( E( U5 T+ V3 t* M" p
$ E' b6 A: T! Y" J- O- X' z$ _$ V6 U9 p: E

# @& z$ z5 x0 r$ q配置指定端口trunk 并运行vlan 1371和1372通过:
% x8 K6 l- p4 ~4 K3 Z: _  y8 r9 G# K8 o7 X
interface Ten-GigabitEthernet 2/0/1" [1 L1 |# M# Z. M; e  P; q
port link-type trunk% @' t6 @7 v! H, x
port trunk permit vlan 1371 1372
: Y& w8 J7 \6 d6 x! Q( oexit
' M% y3 v: Q% N3 U$ H
3 }7 D4 Q* n9 ~' R" z0 ?; ?* ]interface Ten-GigabitEthernet 2/0/3
7 e+ ?0 ^; k0 k4 s0 O port link-type trunk
" k/ L7 a' M; X/ V port trunk permit vlan 1371 1372
2 g% [+ o1 y% Q; _. O8 S! ?exit
; w1 @5 a+ D# M7 f! V: z* \( C4 w  h1 L
1 G# U/ A% K- G6 F/ L

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2026-2-28 13:06:04 | 显示全部楼层
[H3C]display interface Vlan-interface1372
( q0 N1 T3 H5 X, C* v5 ^# ~Vlan-interface1372
: q7 S% S) F5 Z& `3 f) k) SCurrent state: UP( m0 S. x. x( k! E6 ~
Line protocol state: UP
$ F! d$ E7 m* k2 p5 fDescription: Vlan-interface1372 Interface
8 M; _% b2 H& zBandwidth: 10000000 kbps
$ [, R! Y! F$ ~3 c1 `) j% RMaximum transmission unit: 1500
& N# ]3 a0 [4 c3 Y2 K% P" {7 D3 DInternet address: 10.17.19.254/24 (Primary). U- K6 [" Y+ q& ~0 u* h
IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d
* n% C# S1 D) |3 h8 b. d/ JIPv6 packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d7 i7 d0 I: m+ G
Last clearing of counters: Never
# }: ^) l% |6 u( I5 O# n' |Input (total):  360 packets, 37896 bytes# \5 R% T' ]) `! x+ J
Output (total):  0 packets, 0 bytes
/ F$ s9 D' f* }' b2 u4 \$ K* E' ^0 m8 \$ A
[H3C]display interface Ten-GigabitEthernet 2/0/33# q% f! k9 o' [$ O' o1 p; E
Ten-GigabitEthernet2/0/33
8 Z" g6 \9 r: rCurrent state: UP5 c# r. ^; p" C) W7 A
Line protocol state: UP
4 l+ N5 m5 w3 r) CIP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab91
' {: p& U& E' `) u3 E) A' zDescription: Ten-GigabitEthernet2/0/33 Interface0 {- {; N6 h0 ~: |$ e. i
Bandwidth: 1000000 kbps. x- G& h2 i0 I# P
Loopback is not set  \! W" ]5 ]1 f- E
Media type is optical fiber, port is 1000_BASE_SX_SFP
! g* j% B" d$ f* a3 ]# K1000Mbps-speed mode, full-duplex mode
9 h* I( H; W& M, iLink speed type is autonegotiation, link duplex type is autonegotiation; g7 M4 f# P+ t/ L0 a
Flow-control is not enabled" z+ ?2 X* I7 F9 ~% Z, ~2 ^
Maximum frame length: 10000
+ G4 Z! F4 U1 h' H) }, f1 `$ r* _0 UAllow jumbo frames to pass
- E) }  Z) V, K# e% Y5 aBroadcast max-ratio: 100%3 g& ~6 A+ ]3 g8 b: \! Q! d: B
Multicast max-ratio: 100%  l% r# h0 R! P# I
Unicast max-ratio: 100%
) F- A9 O, }8 l8 `; i% }0 pKnown-unicast max-ratio: 100%: \; t( l' K2 f3 B
PVID: 13725 D* U5 W7 ~7 Z5 F$ ?
MDI type: Automdix
0 ~5 L  z& `( c) T5 w7 }( qPort link-type: Access
& @( p8 f* L( k  R, X# D* f Tagged VLANs:   None5 O' q. h! H3 {* g5 t" `
Untagged VLANs: 1372* x6 Q" |5 H* U) n7 l9 S( U1 w
Port priority: 06 L% {, e( L& Z' ?
Last link flapping: 0 hours 36 minutes 19 seconds$ [8 T. p* ]. B4 v- W* Y
Last clearing of counters: Never
' _$ e6 t9 O. m# ?2 cCurrent system time:2011-01-01 02:45:16
* I4 @: L) q+ s' q2 e$ w1 R6 q" X& GLast time when physical state changed to up:2011-01-01 02:08:57
4 Y' w1 V5 b( Y1 o3 s% x' ELast time when physical state changed to down:2011-01-01 00:02:17
! X6 e  l* C  ?5 X Peak input rate: 75 bytes/sec, at 2011-01-01 02:14:20 : A$ j9 [# E, O0 h
Peak output rate: 88 bytes/sec, at 2011-01-01 02:14:20
/ W7 }) y/ L8 N; W Last 300 seconds input: 0 packets/sec 17 bytes/sec 0%* ~4 Z) h9 G. H9 W. k# G2 i
Last 300 seconds output: 0 packets/sec 83 bytes/sec 0%; Y, y1 E+ f+ c
Input (total):  424 packets, 43288 bytes8 F$ o- _# L# ~/ w. i* J
         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses" B0 w. z9 R. ?. x; W8 b
Input (normal):  424 packets, - bytes
2 a$ Z- M  V) |/ ?) W  N/ E         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses
7 U" `* X3 P6 e8 D& ], G' O Input:  0 input errors, 0 runts, 0 giants, 0 throttles
$ i+ b- }! Z7 S: o" x: k. n         0 CRC, 0 frame, - overruns, 0 aborts
" W# X! N5 |7 O- C, i         - ignored, - parity errors5 J- I' H, e5 [& V( |6 q* C
Output (total): 1242 packets, 174362 bytes8 v, q) _' Q* d
         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses
; P3 a+ K/ g/ }* ]7 d Output (normal): 1242 packets, - bytes' m8 l+ r" n& r- g) v
         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses% C( n* M% w7 q7 n% a7 p- J+ _# h
Output: 0 output errors, - underruns, - buffer failures- d) _+ O5 o0 K# S$ w) I! ~$ ]
         0 aborts, 0 deferred, 0 collisions, 0 late collisions1 I& g* W4 b- E1 [6 C2 |9 J( B
         0 lost carrier, - no carrier
2 _" }  {2 a( I# h/ p. R; _               
# j  ]7 L' D- M6 o! o- f[H3C]          0 P8 o: L# V3 j7 J3 Y2 C; B- w
[H3C]display interface Ten-GigabitEthernet 2/0/1& x+ P" V3 V* m3 {* F' {( \/ k
Ten-GigabitEthernet2/0/18 ^/ R- M: j: z' \, V! \, ~
Current state: UP
$ m3 T" m" t9 n; y! R( t+ B% g/ RLine protocol state: UP
2 O- f2 H8 Q- A) p9 ^IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab71
5 y6 z- N. G# T- cDescription: Ten-GigabitEthernet2/0/1 Interface7 m) a, X. _5 ^: P: _5 D: ^
Bandwidth: 10000000 kbps
# j8 G) \/ e4 _8 U' Z. Q5 J6 fLoopback is not set
- O+ f0 t& V! K$ X% Z! y7 ?. x: CMedia type is optical fiber, port is 10G_BASE_SR_SFP. [8 i2 p* ^1 F! a. `( K
10Gbps-speed mode, full-duplex mode
  ?& B: B# ]  t% h0 i9 g0 T% V  n  }  YLink speed type is autonegotiation, link duplex type is autonegotiation8 J2 m3 B% V( Q7 }7 P: d6 u9 {* u# ]
Flow-control is not enabled! S/ g4 R7 R; P  X8 r& H
Maximum frame length: 100008 C# t8 }- B: Z# I
Allow jumbo frames to pass
6 z% B6 T$ c& S$ n% i( H" VBroadcast max-ratio: 100%/ L2 O6 J5 p8 b! B
Multicast max-ratio: 100%
+ V( Q) l# Q9 }: |$ `% Q8 @Unicast max-ratio: 100%! d& K& d/ _6 g
Known-unicast max-ratio: 100%9 Q- [0 X) q/ W4 J
PVID: 1
7 U2 t: M; C+ W- T8 n; `MDI type: Automdix
% U, f- i! R" fPort link-type: Trunk8 b  d. ~' n2 \  g% I6 Y
VLAN Passing:   1(default vlan), 1371-1372
& P" c7 g5 \1 i' P9 N0 Z6 `) j VLAN permitted: 1(default vlan), 1371-1372
: O4 H2 ?/ ~, M# r% q Trunk port encapsulation: IEEE 802.1q
  u  Y6 a, ]7 w  y' sPort priority: 0
' N& c0 U( k' t7 ^. ~Last link flapping: 0 hours 36 minutes 11 seconds' J6 A1 ~0 n# y' G( j3 Y
Last clearing of counters: Never  y/ W; D9 r1 r; m
Current system time:2011-01-01 02:45:26
, k7 J: A. r0 P1 x3 c: tLast time when physical state changed to up:2011-01-01 02:09:154 g7 j( c/ O: ~$ k0 K
Last time when physical state changed to down:2011-01-01 02:09:146 w! `5 [: `* c- t& s
Peak input rate: 2 bytes/sec, at 2011-01-01 02:10:18 / s" `+ q; f) l- Y
Peak output rate: 85 bytes/sec, at 2011-01-01 02:34:16 & j& a: M) v* e% l
Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%7 c. z& D* I' K- Z
Last 300 seconds output: 0 packets/sec 82 bytes/sec 0%
2 g6 T8 h2 P- O3 Y3 o% T Input (total):  13 packets, 1018 bytes
; c) P  t# y( w. k) I. a         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses
2 z- [+ V2 O. L3 X$ v& u Input (normal):  13 packets, - bytes" H& Q7 w% b2 U. S4 q  B/ S! W
         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses6 n* J" G* a) V3 o" Z: q
Input:  0 input errors, 0 runts, 0 giants, 0 throttles3 }4 |% Y! E6 P* R5 s2 Q
         0 CRC, 0 frame, - overruns, 0 aborts
- y8 i/ i3 m. o9 R         - ignored, - parity errors
3 A" O' O. }3 l, t Output (total): 1419 packets, 186293 bytes
( g* m3 T4 Q2 c         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses3 S3 t0 U+ b0 r. P7 w( b) D4 T
Output (normal): 1419 packets, - bytes
' `. B' I9 f; E* S# F; M         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses$ G+ w# u4 f* }0 Z
Output: 0 output errors, - underruns, - buffer failures; e- c; T2 @( A9 K! Z( u$ L" h) E( Z
         0 aborts, 0 deferred, 0 collisions, 0 late collisions6 y; [! }3 ]% R$ E9 A% p
         0 lost carrier, - no carrier
: a$ ?( L4 z* V4 Y/ V6 S               
9 x8 O/ [) j, r4 r2 R- W) N9 Z" h  H/ Y
[H3C]display stp brief / y5 R0 s/ |) Z4 w
MST ID   Port                                Role  STP State   Protection( g6 b* m& a) g: W( `1 t+ }
0        Ten-GigabitEthernet2/0/1            DESI  FORWARDING  NONE. I6 S) j% `- K* P( Z
0        Ten-GigabitEthernet2/0/3            DESI  FORWARDING  NONE
  I* n! k5 _$ q: o* y& r 0        Ten-GigabitEthernet2/0/5            DESI  FORWARDING  NONE2 v5 ~4 Z. B9 L: r9 V
0        Ten-GigabitEthernet2/0/7            DESI  FORWARDING  NONE
! l% g8 B% ^" W 0        Ten-GigabitEthernet2/0/9            DESI  FORWARDING  NONE
2 w" x! G/ ]" U$ l 0        Ten-GigabitEthernet2/0/11           DESI  FORWARDING  NONE
9 f9 j( @! \/ p. e4 R# L; ` 0        Ten-GigabitEthernet2/0/21           DESI  FORWARDING  NONE
6 H- j8 V% J3 h0 M: G 0        Ten-GigabitEthernet2/0/23           DESI  FORWARDING  NONE
2 |1 ]! V/ _, \$ r9 u 0        Ten-GigabitEthernet2/0/25           DESI  FORWARDING  NONE
8 C+ x  {+ l6 v' p 0        Ten-GigabitEthernet2/0/27           DESI  FORWARDING  NONE
8 j3 @) R8 x, I5 }( |2 {+ I; \5 ? 0        Ten-GigabitEthernet2/0/29           DESI  FORWARDING  NONE; F+ n+ |4 ^5 X0 u+ \  U6 Q
0        Ten-GigabitEthernet2/0/31           DESI  FORWARDING  NONE/ Y+ x9 M. A; ?8 E
0        Ten-GigabitEthernet2/0/33           DESI  FORWARDING  NONE' D) M" N+ `7 J" {/ N% P
[H3C]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2026-2-28 13:18:10 | 显示全部楼层
[H3C]display interface Ten-GigabitEthernet 2/0/1
( t8 m+ W1 P" U" T1 K5 ]Ten-GigabitEthernet2/0/1+ w- w7 s1 O+ M' u5 p
Current state: UP% h7 b+ A" v1 G3 s& R
Line protocol state: UP, i: X2 w. k  G: c, w" w
IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab71
# y: m7 r3 L( X+ CDescription: Ten-GigabitEthernet2/0/1 Interface$ \2 ?. x3 p2 r& a/ t
Bandwidth: 10000000 kbps
, K! ~7 F# c( M4 S1 `Loopback is not set- R4 _( G7 y! v  ^: K
Media type is optical fiber, port is 10G_BASE_SR_SFP1 E" C1 d4 N  n, ?
10Gbps-speed mode, full-duplex mode
/ M/ }) C, y, [3 x0 e+ gLink speed type is autonegotiation, link duplex type is autonegotiation
$ Y* y; `2 P! l  [/ H  K; CFlow-control is not enabled
5 R2 y$ G3 L3 U& u: dMaximum frame length: 10000
! |; c2 q( J" t0 I* a/ YAllow jumbo frames to pass( F# |* [0 j( h0 O- w( S
Broadcast max-ratio: 100%
2 a. Q/ W- ?7 `. bMulticast max-ratio: 100%
# Y& ?( m6 U# ZUnicast max-ratio: 100%; T6 B  p/ @/ g; b5 w, o
Known-unicast max-ratio: 100%
% i  P8 n( \, o; w7 OPVID: 1  k8 X$ g# R3 b3 ~2 Q
MDI type: Automdix& s  A3 F7 c, n% X
Port link-type: Trunk5 ^0 ?7 y1 e) r/ b9 f; |/ Y& O
VLAN Passing:   1(default vlan), 1371-1372
: E2 Q8 l+ ~7 L! B VLAN permitted: 1(default vlan), 1371-1372
$ q0 e; t' d! v6 V Trunk port encapsulation: IEEE 802.1q& ?& r0 j" S% x1 h0 u
Port priority: 0
/ T" J1 E0 z/ n+ @* n8 iLast link flapping: 0 hours 48 minutes 15 seconds
+ S8 Y) }- w. E6 LLast clearing of counters: Never
6 G% S: g" N; K3 a- q$ W. a: fCurrent system time:2011-01-01 02:57:30/ ]/ x6 i" K/ P* S9 ^
Last time when physical state changed to up:2011-01-01 02:09:15
! ^4 ?: e: J5 g6 k! SLast time when physical state changed to down:2011-01-01 02:09:14
4 H, n6 h8 q. |1 B1 m Peak input rate: 2 bytes/sec, at 2011-01-01 02:10:18 4 F/ e4 b' v- I+ @
Peak output rate: 85 bytes/sec, at 2011-01-01 02:34:16 4 P3 e9 q9 U: E  _! P% {" g- H% `* d
Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%1 ^. V% w9 K8 ]
Last 300 seconds output: 0 packets/sec 75 bytes/sec 0%( B* E! p1 J7 |$ M: U) z& {  F
Input (total):  13 packets, 1018 bytes
4 t  J0 i$ l" C/ ?  h; d; i         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses: m7 c( w2 v/ R) ?5 g" g! K( g5 {  E8 H
Input (normal):  13 packets, - bytes) \* _9 u, O8 u
         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses
! N; p# _9 k5 @" A: { Input:  0 input errors, 0 runts, 0 giants, 0 throttles/ a/ e, ]* g/ t% M! [! P& w
         0 CRC, 0 frame, - overruns, 0 aborts
* y+ W* V  Z, N" Y5 V/ g- a6 L         - ignored, - parity errors
; L( b7 D+ v! [& g2 J, Q Output (total): 1845 packets, 242218 bytes) Z& b) g: b9 K- a- O3 U1 d" [$ F
         0 unicasts, 89 broadcasts, 1756 multicasts, 0 pauses$ l  J; a( T7 I# [- m! P, R! ]
Output (normal): 1845 packets, - bytes
1 T8 y0 a" G- N6 H( M: e* q4 [: A' p         0 unicasts, 89 broadcasts, 1756 multicasts, 0 pauses
0 \: ~" i7 F" s( x Output: 0 output errors, - underruns, - buffer failures4 @2 z  k' {1 N; R, h% g' ?
         0 aborts, 0 deferred, 0 collisions, 0 late collisions& H# E  J6 F0 C
         0 lost carrier, - no carrier! q6 _& z! I6 P( ^0 G
               # ^% H7 y. u  h# Q% i
[H3C]          , J- S( d& d& w* i! ?3 Z1 S
[H3C]display interface Ten-GigabitEthernet 2/0/1 | include error
# U. O5 l3 D9 j1 Q% W# G Input:  0 input errors, 0 runts, 0 giants, 0 throttles
; _9 `3 a8 |. K         - ignored, - parity errors. d# p0 h* Q6 h0 l9 `' F/ u4 K
Output: 0 output errors, - underruns, - buffer failures' `4 z9 V# J% s. h. Z
[H3C]
+ ]' z6 I$ n$ N) M[H3C]display mac-address interface Ten-GigabitEthernet 2/0/1
: P! u% d, K7 w# EMAC Address      VLAN ID    State            Port/Nickname            Aging
5 C" @9 q  [0 [) n$ [8 O

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2026-2-28 13:37:32 | 显示全部楼层

0 H* e- `3 W, `- i$ [9 Z6 K[H3C]display vlan 1372; \' j) l5 ?: L$ u
VLAN ID: 1372
$ p" k( R( y1 p2 }$ ^ VLAN type: Static
2 R4 T9 h& D, h; q8 |6 Z Route interface: Configured( h& d( {& P' a: x9 w1 x3 Y
IPv4 address: 10.117.189.254, `/ S' T- M4 l' `$ |1 D# Q
IPv4 subnet mask: 255.255.255.0: Y% x8 u  S$ C' m; \4 T: [, o" A# N
Description: VLAN 1372* S' K0 i: [6 Q. h" U* R* D7 R2 ~
Name: VLAN 13724 l3 f; F6 a# z) R
Tagged ports:   
" }6 A: F3 X( s. n5 C$ A% T7 f$ Y    Ten-GigabitEthernet2/0/1(U)        5 q) K# D+ s" ~' f; l" e% F& m
    Ten-GigabitEthernet2/0/3(U)        
1 Z. E7 `# o/ S: m; h& g! a    Ten-GigabitEthernet2/0/5(U)        
/ O6 ~' \8 g4 f. [" N8 a! [  s    Ten-GigabitEthernet2/0/7(U)        
4 T+ y+ C5 P5 ]7 _  s    Ten-GigabitEthernet2/0/9(U)        
1 |: @5 Y: ]9 f5 C. z    Ten-GigabitEthernet2/0/11(U)      
& x% Y; U3 ?9 t, ?3 I5 k* N    Ten-GigabitEthernet2/0/21(U)      
. c' U$ d  T  V    Ten-GigabitEthernet2/0/23(U)       * i+ m) p& V3 p( X  ^/ T
    Ten-GigabitEthernet2/0/25(U)       & E! W8 X- H5 B- y& s( F
    Ten-GigabitEthernet2/0/27(U)      
- U7 ?: v: E' c0 J% s    Ten-GigabitEthernet2/0/29(U)       . z2 B2 {8 r$ X/ s
    Ten-GigabitEthernet2/0/31(U)      
& _- y; x! g& F2 \) s# S Untagged ports: 3 @5 E0 c  ]2 J$ V8 N9 Y: P
    Ten-GigabitEthernet2/0/33(U)       " G( a8 `/ p" E) @
[H3C]
, u( z5 O: a- \0 j
& v+ e3 {3 u: j1 s+ I) _[H3C]display interface Vlan-interface1372- \/ [" I3 v4 i+ t
Vlan-interface13724 s3 @% h; v/ d7 ~$ _* \
Current state: UP
/ a( v5 I) C( h/ y8 }Line protocol state: UP
! Q) d6 v, E: }9 fDescription: Vlan-interface1372 Interface
1 f3 H7 R* u7 {0 e+ BBandwidth: 10000000 kbps
& T, t" m- f% qMaximum transmission unit: 1500: y' s1 B% }& l' [* H7 T
Internet address: 10.117.189.254/24 (Primary)
$ W! g% x* W7 _IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d
: D, j+ i# s& X6 S8 V) m* Y! g% KIPv6 packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d
. ~: Q7 o& B1 o$ KLast clearing of counters: Never
, L7 j4 h8 t! J/ FInput (total):  360 packets, 37896 bytes; r3 b, E8 m" c1 d# L7 k' f7 Q/ b
Output (total):  0 packets, 0 bytes3 j5 _! n- R1 o! b$ ]
+ U7 k- P: y1 b2 e/ K1 U1 [
[H3C]dis$ I5 l2 m% b! y
[H3C]display in) i/ {' `2 L; F3 }# e7 M7 \
[H3C]display int
- O/ P2 Z# s+ ^/ ^' l[H3C]display interface t4 k  P* a+ y( K
[H3C]display interface Ten-GigabitEthernet 2/0/33
  I. p+ |4 {% D9 \, b) I0 aTen-GigabitEthernet2/0/33& P' ?' M7 Y) Q$ y
Current state: UP$ u( D! _1 N% s4 h5 e. m
Line protocol state: UP
+ J: p+ p* G- v# A* W# \  e$ T3 E3 oIP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab91' E2 @/ B6 ?3 S9 o0 s
Description: Ten-GigabitEthernet2/0/33 Interface8 y; _% d% e( A  e" Z
Bandwidth: 1000000 kbps
+ `8 p! w3 o  e" N+ A; F% q% P0 VLoopback is not set
; ]' U& F2 P$ C& d8 Q7 n$ oMedia type is optical fiber, port is 1000_BASE_SX_SFP; e7 n$ ?; M, y$ @% o
1000Mbps-speed mode, full-duplex mode
4 O: q* O! V9 t  j! S# _Link speed type is autonegotiation, link duplex type is autonegotiation9 s# T2 C9 \8 V/ G# X: w
Flow-control is not enabled
! X% ~3 M0 U5 N8 }  c, Z. D. wMaximum frame length: 10000. W( a$ {: r% K$ E3 O+ j
Allow jumbo frames to pass
. d7 Z7 _, w6 b/ vBroadcast max-ratio: 100%  M% P+ ^% h( ^! t. R; T/ e# H
Multicast max-ratio: 100%
1 R* E' ^4 o* A+ a* fUnicast max-ratio: 100%( _+ M: }  i* H2 ^' o6 s) T
Known-unicast max-ratio: 100%- W% ?/ G- [2 {
PVID: 1372
, A1 _2 `5 c" C! m, J# RMDI type: Automdix
& ^( F. c) M; g- |/ NPort link-type: Access
6 `" ^& `7 Z9 s+ W Tagged VLANs:   None
& Y7 b8 k9 f3 Q Untagged VLANs: 1372
, _* O8 `7 h% d0 V6 J% xPort priority: 0
4 K9 Y: T! q( L/ W" Z3 V' {1 i$ MLast link flapping: 0 hours 36 minutes 19 seconds
0 E4 `2 r; a, Z8 U$ vLast clearing of counters: Never, z# `4 c2 L8 b0 ^
Current system time:2011-01-01 02:45:16
/ @1 o# j5 x& P. O  b. xLast time when physical state changed to up:2011-01-01 02:08:57
- }/ ]5 J: Y: P! ]$ oLast time when physical state changed to down:2011-01-01 00:02:17
$ _+ u( b7 S5 k4 t6 s Peak input rate: 75 bytes/sec, at 2011-01-01 02:14:20 , ?6 W# r- u. W8 _' R3 a& l
Peak output rate: 88 bytes/sec, at 2011-01-01 02:14:20 " p2 `4 q0 `- c% }9 E' x8 m
Last 300 seconds input: 0 packets/sec 17 bytes/sec 0%
; q) w; |- v- [- v Last 300 seconds output: 0 packets/sec 83 bytes/sec 0%# u. p+ c4 o) i( r; }. i
Input (total):  424 packets, 43288 bytes
, j3 A4 M1 V  p" k         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses
9 g; b& q) |+ i/ s' @ Input (normal):  424 packets, - bytes
& f9 h- h1 r* w         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses
; i7 W- g* z- M+ P Input:  0 input errors, 0 runts, 0 giants, 0 throttles6 D5 o  r3 c9 r4 p9 L
         0 CRC, 0 frame, - overruns, 0 aborts
! a  D7 F& S: L- W( W# Y9 H         - ignored, - parity errors
: R+ t: d2 f0 u Output (total): 1242 packets, 174362 bytes6 ]& }0 ?4 Q* Q2 t8 J7 f  Z
         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses4 Y; G2 \- n) D: q+ j+ i
Output (normal): 1242 packets, - bytes
" ~6 I" w' A8 k; N- ^( Y         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses& H1 J( m, U7 D, u1 e! s. @5 Y
Output: 0 output errors, - underruns, - buffer failures' f2 H- \8 h2 Y9 x2 J3 T
         0 aborts, 0 deferred, 0 collisions, 0 late collisions9 w5 a" g0 e- L4 n
         0 lost carrier, - no carrier1 q$ r  G+ Z8 U- l* K" r
               % L/ D% E( x! B; ?8 i  a
[H3C]         
2 ?' t7 I4 l0 i0 [9 m5 R[H3C]display interface Ten-GigabitEthernet 2/0/1
" @; ?$ [! h' B$ @, u# n/ OTen-GigabitEthernet2/0/1
  N3 D; M* r+ _8 W+ ~9 wCurrent state: UP
' i, d3 B/ Q" C# `8 {1 S9 ULine protocol state: UP
+ |% v3 U" V/ z. e# f& \IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab71
1 L! Z9 g7 P8 i' A5 R4 U+ D+ GDescription: Ten-GigabitEthernet2/0/1 Interface4 ]. F: D& D0 U! z
Bandwidth: 10000000 kbps1 W, S, c1 S" z4 r  m( I
Loopback is not set
! P% b: D; t  D4 L3 Z3 fMedia type is optical fiber, port is 10G_BASE_SR_SFP
- j; j- U8 d) J% R! @10Gbps-speed mode, full-duplex mode) K: Y- ]. ~' x- |& [
Link speed type is autonegotiation, link duplex type is autonegotiation; g* \- Y  Q) g' l
Flow-control is not enabled
6 \: G& j4 J, S6 z  x) ~: T- kMaximum frame length: 10000/ G& a3 ]4 h) n9 V& p
Allow jumbo frames to pass
0 @) `$ K/ Q/ v2 qBroadcast max-ratio: 100%
/ j- I- o# e1 D6 }9 Q0 O) ~+ }Multicast max-ratio: 100%3 Z& T  m0 V9 M9 S# v: l
Unicast max-ratio: 100%: R: s4 r% w1 ^' |4 `
Known-unicast max-ratio: 100%9 X# ?4 x9 g" U0 [
PVID: 10 _. O, N9 D& D$ B9 N3 I- I
MDI type: Automdix1 Q% Q' k2 Q0 q  f: g: ~: d
Port link-type: Trunk
  a9 \- Y. m  [, a, u VLAN Passing:   1(default vlan), 1371-1372" n* u* [$ F" h
VLAN permitted: 1(default vlan), 1371-1372, n2 t3 [. [# J; I+ k
Trunk port encapsulation: IEEE 802.1q
2 N2 w2 G; A) {) L1 e% b' IPort priority: 0
$ c8 o0 {! Y  C% k) x+ \Last link flapping: 0 hours 36 minutes 11 seconds. P; j# a5 |; b1 [9 N2 b
Last clearing of counters: Never
; t5 d2 ^, c6 z4 r! W/ JCurrent system time:2011-01-01 02:45:26
5 m; a: V* ?7 n: }8 t1 ALast time when physical state changed to up:2011-01-01 02:09:15+ U: U; u5 j& s: S8 _
Last time when physical state changed to down:2011-01-01 02:09:14; _& y8 ^9 j+ j. v5 j
Peak input rate: 2 bytes/sec, at 2011-01-01 02:10:18 + m. ^& [2 w7 Z; G& @
Peak output rate: 85 bytes/sec, at 2011-01-01 02:34:16
3 S2 E5 ]: X" z9 F3 s+ ~+ _) L Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%4 x0 Z7 g. U2 _  [
Last 300 seconds output: 0 packets/sec 82 bytes/sec 0%
- r8 R- V! y3 ~* m2 }5 a Input (total):  13 packets, 1018 bytes* ^# Q# J& l9 F* ^; \7 a( p
         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses
/ E4 X5 n' c4 w Input (normal):  13 packets, - bytes2 U; y2 I" [: A9 P& x
         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses9 y$ w* y7 |( n
Input:  0 input errors, 0 runts, 0 giants, 0 throttles- L* c  P5 R" z3 |- J9 F1 h
         0 CRC, 0 frame, - overruns, 0 aborts
, p' ^0 F- j0 a2 i         - ignored, - parity errors' E  c6 G+ H! z7 D* t
Output (total): 1419 packets, 186293 bytes
# K1 _6 F, K/ C& G4 [5 y/ ^3 a5 E         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses
0 D5 U& W: Q6 \) B) y! [7 D7 X  j Output (normal): 1419 packets, - bytes/ D9 V$ g7 `/ }# D/ M
         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses
9 |9 U" o; O* l4 X3 p! y  q/ ~ Output: 0 output errors, - underruns, - buffer failures
, C+ Y- Y9 Y/ J5 A         0 aborts, 0 deferred, 0 collisions, 0 late collisions
1 P9 `9 k' R# ]( u' u( ^         0 lost carrier, - no carrier/ {( j- j2 q! \) X* i4 p
               
. k+ M+ R; r  g3 C+ z9 |; N7 z; N  \; k
[H3C]display stp brief
5 N7 l- \0 P5 y3 o0 u3 U6 A  @ MST ID   Port                                Role  STP State   Protection9 ~- x, q9 N& [0 a
0        Ten-GigabitEthernet2/0/1            DESI  FORWARDING  NONE
+ t" o6 g6 O" r) I 0        Ten-GigabitEthernet2/0/3            DESI  FORWARDING  NONE! M  u$ w0 W* F5 q
0        Ten-GigabitEthernet2/0/5            DESI  FORWARDING  NONE, n; d1 |8 ^- @
0        Ten-GigabitEthernet2/0/7            DESI  FORWARDING  NONE# p+ d% z  R' S) N
0        Ten-GigabitEthernet2/0/9            DESI  FORWARDING  NONE
' j0 \7 ?* _" ^# T' e 0        Ten-GigabitEthernet2/0/11           DESI  FORWARDING  NONE
4 L' D1 d. l0 o. X- F 0        Ten-GigabitEthernet2/0/21           DESI  FORWARDING  NONE
* K9 r8 |2 R8 K( T! U 0        Ten-GigabitEthernet2/0/23           DESI  FORWARDING  NONE
$ r, ^' ]) I0 D 0        Ten-GigabitEthernet2/0/25           DESI  FORWARDING  NONE
3 P# Q' L/ U/ O+ c 0        Ten-GigabitEthernet2/0/27           DESI  FORWARDING  NONE
  _6 ^9 D5 H$ |: @% } 0        Ten-GigabitEthernet2/0/29           DESI  FORWARDING  NONE
5 B& y/ ~' d/ w 0        Ten-GigabitEthernet2/0/31           DESI  FORWARDING  NONE
; @, H' O. x9 n/ @. s1 Y 0        Ten-GigabitEthernet2/0/33           DESI  FORWARDING  NONE
( Y2 Q6 q  I1 u7 t, a0 q[H3C]
: \4 J& H3 U  a" J[H3C]" T% o4 @  r- n. e
[H3C]display mac-address interface Ten-GigabitEthernet 2/0/1
* D2 d/ S" ~7 c7 O- s4 ~1 oMAC Address      VLAN ID    State            Port/Nickname            Aging4 \! c% I0 n) D8 m$ J$ q2 S
[H3C]display ip routing-table
0 \4 D5 U  G, @" F$ j* X2 n& y: s" K* _# d- b' e$ M0 P
Destinations : 13
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:25 , Processed in 0.017743 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表