找回密码
 注册
查看: 343|回复: 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 i0 S2 W2 j# I# k
3 a5 m  [3 B1 [# y# b+ L8 u
创建vlan:
2 S& l3 `8 q  I0 c0 ^# u8 }& w8 m0 [6 Y, |. J1 R
[H3C]vlan 1372' n8 a7 U' Q) Z& v  O( ^+ y8 _6 i
[H3C-vlan1372]exit
& Z! a  Q" k6 Q/ ?0 r[H3C]vlan 1371: K& P! z$ L% i
[H3C-vlan1371]exit
9 y8 D: r: \7 f0 m
# j" m1 `* Y, I" ?, ^5 w( w  V! C6 U2 d; s( {9 N! j' F
设置vlan ip:/ e' b% ^+ O/ R

1 I3 I5 ?5 s/ P9 h! {/ c  ][H3C]interface  Vlan-interface 1371- G; d' O$ D4 s2 x! U! @
[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.
  D1 l' |, _/ q8 B0 N- C4 o. t%Jan  1 02:27:30:669 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface1371 changed to up.
# Y8 w4 `  y2 G: Y& h! g" p9 H) d: E% ]  ^
[H3C-Vlan-interface1371]ip address 10.17.18.254 255.255.255.0 8 K7 Z' C) ^* C7 x+ s2 }7 V( H' ?
[H3C-Vlan-interface1371]exit
$ O. u9 S: n6 G* S. A: g' y7 z2 ~, y
% f% A$ w6 W2 q6 r

/ T9 s3 X% g! E' x2 D* [
! l1 L* t& h2 S/ j8 M" t8 \配置指定端口trunk 并运行vlan 1371和1372通过:2 x' D) G7 H/ ^! @% z1 `; y
, w& }& D, {. |) I0 P  J0 _
interface Ten-GigabitEthernet 2/0/1
/ e1 @  r# z5 W; o2 i3 e( S  V/ B. _, x port link-type trunk
5 ]( t6 M! U' p* Y$ _( ^) f port trunk permit vlan 1371 1372
. T! s0 Q7 J# t" ]) _1 wexit* g' ]  _2 h6 {4 b! N

9 R# P' U9 w0 `- Y$ \interface Ten-GigabitEthernet 2/0/3% A; g3 s6 I$ p* d) B
port link-type trunk5 K* `' J% j& b7 D4 X; W6 U, P
port trunk permit vlan 1371 1372
' U/ y- a, Y& X8 Uexit
) m( @, k6 J* M$ r8 Q* y. o0 Z' A6 H& P% o# Y; i
5 \; ]# l- t# {4 e; W& s

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2026-2-28 13:06:04 | 显示全部楼层
[H3C]display interface Vlan-interface1372
+ ~3 R, X. I/ ^" c% zVlan-interface1372, t/ y; p; W6 p! D2 t0 J6 D% Z9 b
Current state: UP* B' c0 O4 J" S. A3 _) T$ ]
Line protocol state: UP. p, N1 y" q" M' I' ^
Description: Vlan-interface1372 Interface
. }1 q: z( {* e! a  Z6 lBandwidth: 10000000 kbps. K# O( E9 J( |; q6 Z0 N
Maximum transmission unit: 1500
& L% h" V9 j8 I7 E; RInternet address: 10.17.19.254/24 (Primary)
, j6 s2 S# _2 |  |IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d
) @4 |- S+ o; s/ s6 V7 ]IPv6 packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d
" Q% F3 f: N5 |Last clearing of counters: Never
4 H. V! ]( l3 g( n* R2 U4 ~' `& kInput (total):  360 packets, 37896 bytes
& M2 j% b) @1 W7 F: \- bOutput (total):  0 packets, 0 bytes
( @- L: J+ H: ]) ^5 d0 K/ ^) @
& }  E/ Q  T) D$ o# Q# S9 H[H3C]display interface Ten-GigabitEthernet 2/0/33
3 z" c1 F; o( f, i3 O- WTen-GigabitEthernet2/0/33
* T7 L' A/ o8 a9 XCurrent state: UP0 y! M5 i$ n" J5 j: V
Line protocol state: UP: r6 d8 N* |3 W/ _
IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab91) l, Q& e: K1 P4 v, x3 \% u' T
Description: Ten-GigabitEthernet2/0/33 Interface
3 B4 h- s! I8 X1 L+ c/ x7 ABandwidth: 1000000 kbps
& o5 s% a: z8 fLoopback is not set# V6 k- k3 R4 B4 y5 o1 T% \3 o' A
Media type is optical fiber, port is 1000_BASE_SX_SFP
, C" E8 I" |. z' l1000Mbps-speed mode, full-duplex mode, {2 F- T/ a! @* y2 P5 B; b0 G% k
Link speed type is autonegotiation, link duplex type is autonegotiation
* s3 k, \8 a- kFlow-control is not enabled1 m& w0 g; k2 C7 Q) o& @
Maximum frame length: 10000" v' h/ n# Z2 w0 I5 h. q/ v1 y
Allow jumbo frames to pass& L, Q, s9 Q( h0 j! P& ]: g" S
Broadcast max-ratio: 100%
% g3 w, ^) o% W# f& `1 \Multicast max-ratio: 100%. b) m, P( ~* h/ y2 b% v& V1 J; A. ^
Unicast max-ratio: 100%. i2 n1 p3 ?. _; p9 }+ K
Known-unicast max-ratio: 100%
, y. L4 b7 v" J( x7 u8 P) Q2 ~PVID: 1372
; a6 q! [& C- kMDI type: Automdix3 a$ D& y8 _* b" ]3 z* r) e* F
Port link-type: Access
6 ?3 U8 Y/ H6 G$ X  ]$ R9 y- i Tagged VLANs:   None
1 b& U8 \1 O' p( ~ Untagged VLANs: 1372
9 J9 V  {9 Y$ e# @: rPort priority: 0, Y- k7 m2 T) y) F, E
Last link flapping: 0 hours 36 minutes 19 seconds1 l1 g  L6 {. n# T5 f1 N
Last clearing of counters: Never
$ m5 X% w4 b1 z# d8 Y' X/ F+ G- hCurrent system time:2011-01-01 02:45:16
8 ~$ |: T2 O& j9 `Last time when physical state changed to up:2011-01-01 02:08:57
# z  q" G* M0 M* ~Last time when physical state changed to down:2011-01-01 00:02:17
% G8 y* I+ E) [( N- g; p Peak input rate: 75 bytes/sec, at 2011-01-01 02:14:20 * c: u# e1 |8 z9 c% ?
Peak output rate: 88 bytes/sec, at 2011-01-01 02:14:20
- y1 Y" {  m, @1 t2 o. \0 m/ z7 Q Last 300 seconds input: 0 packets/sec 17 bytes/sec 0%6 j# b/ l8 i5 o
Last 300 seconds output: 0 packets/sec 83 bytes/sec 0%
. B3 S4 n6 t3 ?+ B# z. [9 O Input (total):  424 packets, 43288 bytes
* a; j8 `# n7 {5 ^) _+ l         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses) z' P6 v% d. K$ m2 J2 ^6 T
Input (normal):  424 packets, - bytes/ M+ U2 [, P* U' v4 g% m$ G
         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses% {, }4 ?& b# W8 @! t4 i
Input:  0 input errors, 0 runts, 0 giants, 0 throttles4 u- H1 N* ]6 x) p! \
         0 CRC, 0 frame, - overruns, 0 aborts
% c& E1 Z9 n! I- j         - ignored, - parity errors7 }3 N5 L% m; E0 X$ b8 ^
Output (total): 1242 packets, 174362 bytes
  G0 ?- ]9 w) `* {+ `" N         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses2 Q  ?: u7 k  C
Output (normal): 1242 packets, - bytes  J5 U' t5 k) t" V+ I; g( Y2 r
         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses1 P( V& r4 l% O4 X  ?2 q/ S, m. Q
Output: 0 output errors, - underruns, - buffer failures8 I1 e- H3 D" \* M9 ^
         0 aborts, 0 deferred, 0 collisions, 0 late collisions3 K' ?1 T7 J0 k, b7 k% O; d
         0 lost carrier, - no carrier
# }. F) A0 O4 V4 S% a0 H               ; _2 Y3 E7 u  K  y( s/ A3 R5 X) P
[H3C]         
3 Z, U, p) e. k3 n- f[H3C]display interface Ten-GigabitEthernet 2/0/1. X( s- |. }/ A$ }; Q
Ten-GigabitEthernet2/0/1& O! Z: R; E* P$ V
Current state: UP/ S/ A; M9 d0 `  j) s" L
Line protocol state: UP
( {! H7 t# ~# ]& TIP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab71
  y; D3 P% a# b4 S, ODescription: Ten-GigabitEthernet2/0/1 Interface+ @, F9 j% L" g' c4 U* Q
Bandwidth: 10000000 kbps
& |2 ]: E7 f$ lLoopback is not set. e: c# Z* K7 t7 m
Media type is optical fiber, port is 10G_BASE_SR_SFP# R0 f5 {% k- ~8 W- T, \. C
10Gbps-speed mode, full-duplex mode
+ e- O& [( a. u/ a: E, n' tLink speed type is autonegotiation, link duplex type is autonegotiation
0 p7 \2 r' g6 B6 jFlow-control is not enabled
, w1 v/ j* f/ ?# [2 @Maximum frame length: 10000
& \) o: z8 L7 t& s( M- x2 dAllow jumbo frames to pass- U5 T3 F2 ^  g* C
Broadcast max-ratio: 100%6 C6 O: P8 M* i# W, r# E+ O
Multicast max-ratio: 100%
) ]# t  i' V6 oUnicast max-ratio: 100%" W& Z$ q! p7 Q! Q! {3 P! a, j
Known-unicast max-ratio: 100%
- }! v& n3 t* M7 J" Y- I0 jPVID: 1
4 c8 K% i8 K* \3 g, YMDI type: Automdix* r5 a. D+ t0 y1 [. t
Port link-type: Trunk6 L1 E+ v2 G2 w3 n4 v! ~3 W5 B3 X
VLAN Passing:   1(default vlan), 1371-1372
& K* ]; P5 x/ Z# T+ f) F4 U VLAN permitted: 1(default vlan), 1371-1372& G/ i% `5 E5 g( z: M9 J
Trunk port encapsulation: IEEE 802.1q" `) L" i1 Z* u& j) X# [0 H6 M
Port priority: 0
* y7 e! e: D( T% L" T, W! a& CLast link flapping: 0 hours 36 minutes 11 seconds
: Z5 \. D; P" n' ^Last clearing of counters: Never$ g# h; X( r/ u' p' \4 A
Current system time:2011-01-01 02:45:26. o2 H* p, E8 y
Last time when physical state changed to up:2011-01-01 02:09:152 X2 ~( a" G$ @; P0 o7 U& R' H
Last time when physical state changed to down:2011-01-01 02:09:14& i$ @7 G1 i8 ]6 t. T1 \
Peak input rate: 2 bytes/sec, at 2011-01-01 02:10:18 . Q, J% F4 h9 T9 ~
Peak output rate: 85 bytes/sec, at 2011-01-01 02:34:16
: Z* A0 b! h0 H; u7 g( g Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%4 o( M! i9 t# |  @5 f# t: P: f& S
Last 300 seconds output: 0 packets/sec 82 bytes/sec 0%
1 \& b9 F9 U1 c2 _ Input (total):  13 packets, 1018 bytes
* Z$ @. y' h2 q: {$ D# a; j         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses0 }* l$ u, x& n! [0 \& a
Input (normal):  13 packets, - bytes% ]: C3 b$ P7 ]8 h  V
         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses# J2 |$ b3 H9 d) U6 U
Input:  0 input errors, 0 runts, 0 giants, 0 throttles
' P- r. B( c3 Y% U, b         0 CRC, 0 frame, - overruns, 0 aborts- g; t/ u! ?. {6 R. M5 L2 L
         - ignored, - parity errors. W! f! O; H) Q4 d( E
Output (total): 1419 packets, 186293 bytes
5 ~( o3 s+ T0 n: r         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses+ _5 c6 d: t, c9 v" o9 ~6 B
Output (normal): 1419 packets, - bytes
3 o  q" R$ \: u3 c         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses" P$ g8 ^1 t: ~' r$ R0 J1 J
Output: 0 output errors, - underruns, - buffer failures1 R; V: s5 {, I5 c! d9 V: F% Z* @
         0 aborts, 0 deferred, 0 collisions, 0 late collisions
) p* G8 h. Z9 M" i' ?4 |1 z# ?) M         0 lost carrier, - no carrier0 a& E# x' j4 p3 V1 x% z- i  o* K' h
               
2 d1 A3 p( e3 p4 n5 F4 Q; Y: c: Z6 Z
[H3C]display stp brief
, ^: }/ C! A  t" t" u& `7 | MST ID   Port                                Role  STP State   Protection$ n+ n9 U# x9 h! c, i2 q7 c
0        Ten-GigabitEthernet2/0/1            DESI  FORWARDING  NONE+ L  `3 M( C( h" L- ]
0        Ten-GigabitEthernet2/0/3            DESI  FORWARDING  NONE& i/ B4 b. z/ m! A  u# d7 H9 h% N
0        Ten-GigabitEthernet2/0/5            DESI  FORWARDING  NONE
6 n$ T' ~8 X; y& A1 D$ W4 S/ ^ 0        Ten-GigabitEthernet2/0/7            DESI  FORWARDING  NONE$ l1 B1 o7 t, v0 r
0        Ten-GigabitEthernet2/0/9            DESI  FORWARDING  NONE) p7 B% k- {' h4 }
0        Ten-GigabitEthernet2/0/11           DESI  FORWARDING  NONE! ?4 _% t# @' q' _* o# {* |
0        Ten-GigabitEthernet2/0/21           DESI  FORWARDING  NONE7 V9 I% J; k) f/ v
0        Ten-GigabitEthernet2/0/23           DESI  FORWARDING  NONE
9 s4 b! |* S; P& k% @6 ?. D 0        Ten-GigabitEthernet2/0/25           DESI  FORWARDING  NONE
8 h$ J3 n8 }# N/ n7 w 0        Ten-GigabitEthernet2/0/27           DESI  FORWARDING  NONE9 w( K* G* h% }
0        Ten-GigabitEthernet2/0/29           DESI  FORWARDING  NONE
% h! w$ W* C! y8 y. E 0        Ten-GigabitEthernet2/0/31           DESI  FORWARDING  NONE3 q4 J7 X; b- }; N. t( b6 A% @
0        Ten-GigabitEthernet2/0/33           DESI  FORWARDING  NONE
, C8 ?( [5 r7 a0 V7 i) @( u/ A[H3C]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2026-2-28 13:18:10 | 显示全部楼层
[H3C]display interface Ten-GigabitEthernet 2/0/1( t3 U$ D9 d+ h! H6 B' r4 x
Ten-GigabitEthernet2/0/1
+ Q" W3 d) E4 }& x9 X7 CCurrent state: UP
, V. L! f4 C- Q7 g7 `, XLine protocol state: UP
: z) \! G3 o! G. f/ U6 x# dIP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab71
0 h# r2 r6 o/ dDescription: Ten-GigabitEthernet2/0/1 Interface
3 W& Q' K: ^9 x. _- S* t% pBandwidth: 10000000 kbps
$ Q" g$ J2 o% W6 q* `5 i8 cLoopback is not set/ g7 x- l1 u& G! m
Media type is optical fiber, port is 10G_BASE_SR_SFP4 q! k; R8 r1 [& L# [* }$ w
10Gbps-speed mode, full-duplex mode
. }5 H0 a4 f3 ]% ?6 F( eLink speed type is autonegotiation, link duplex type is autonegotiation3 t$ u3 F! |" L7 A4 B, _6 v
Flow-control is not enabled, d3 M1 T9 [8 A
Maximum frame length: 10000
5 ^- v) ?& f+ k" p) `Allow jumbo frames to pass# q2 n5 D: K2 @: {4 w+ G
Broadcast max-ratio: 100%
* b" `  i& D0 v! v; S/ VMulticast max-ratio: 100%
8 [+ i. q0 H) wUnicast max-ratio: 100%3 i5 E8 @3 \" m3 N- m+ _# }# U
Known-unicast max-ratio: 100%$ Z! s' v8 i* u  Z
PVID: 1
& S% Z4 k  w/ \2 A; RMDI type: Automdix' j' P# `! J# H: ~
Port link-type: Trunk
4 @  Y( @3 E% o; v VLAN Passing:   1(default vlan), 1371-1372' d3 e* n5 }1 b5 }. m0 ~$ \
VLAN permitted: 1(default vlan), 1371-1372; H: j6 c$ Y. N8 G! C+ a
Trunk port encapsulation: IEEE 802.1q& j, h1 @; q3 s* q' z6 Y+ F
Port priority: 0
2 f1 ^: m# }- C  i# E; O  w0 K* `Last link flapping: 0 hours 48 minutes 15 seconds
8 j+ L- }0 G  E# B7 DLast clearing of counters: Never
5 ]7 F0 N9 n& D! H" r% k! vCurrent system time:2011-01-01 02:57:308 V. ?0 S8 w4 M1 S, R! e' o
Last time when physical state changed to up:2011-01-01 02:09:15# ~5 ~& s1 A+ m6 n; u; [6 J
Last time when physical state changed to down:2011-01-01 02:09:140 B' A- t& B$ E% r' z
Peak input rate: 2 bytes/sec, at 2011-01-01 02:10:18
$ f0 |5 f! Q* n, {! | Peak output rate: 85 bytes/sec, at 2011-01-01 02:34:16
: _8 G% L' c2 Y! t0 o. f# x Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%
3 T( W, R: \" P Last 300 seconds output: 0 packets/sec 75 bytes/sec 0%& |! Y; @1 e$ N+ Y  J
Input (total):  13 packets, 1018 bytes) r9 l' e% s4 g: e7 }% ^
         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses, }- E8 u% z) `0 G% V
Input (normal):  13 packets, - bytes
+ n( J! w, X  m4 c( w3 u9 }7 B% x         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses
) t( t2 C1 E6 f Input:  0 input errors, 0 runts, 0 giants, 0 throttles. ]; D  o) Q& o
         0 CRC, 0 frame, - overruns, 0 aborts* d6 k  I! v5 U9 _$ x
         - ignored, - parity errors8 H1 }8 j# q9 u( w2 F
Output (total): 1845 packets, 242218 bytes
8 L2 ?: R6 d3 O         0 unicasts, 89 broadcasts, 1756 multicasts, 0 pauses8 E6 h0 m; y* P6 R; D4 `8 O6 O+ L
Output (normal): 1845 packets, - bytes
3 }) J) H% z7 F: k4 g0 l1 n( O( N2 O         0 unicasts, 89 broadcasts, 1756 multicasts, 0 pauses
3 c( n. k- c( A& H: k- A Output: 0 output errors, - underruns, - buffer failures7 N" D$ J6 p6 @: v
         0 aborts, 0 deferred, 0 collisions, 0 late collisions
) ^- f0 I9 P2 _! u         0 lost carrier, - no carrier* v2 a4 [; N& L2 T. u4 w
               7 \/ ?. f+ r" V% a: \9 X2 W3 P" k3 [" n
[H3C]         
9 i- Y& h# Y: |7 n[H3C]display interface Ten-GigabitEthernet 2/0/1 | include error
# n" e7 w" |% D- ?9 h1 H4 J  j Input:  0 input errors, 0 runts, 0 giants, 0 throttles
+ h' {( J  d" {         - ignored, - parity errors
/ u3 e) K8 d5 B6 {1 t: q+ V Output: 0 output errors, - underruns, - buffer failures- l& z4 i9 ?: {2 J# `& R; T: Y
[H3C]
. C; x9 Y3 _* n  P+ ~$ k0 b# `[H3C]display mac-address interface Ten-GigabitEthernet 2/0/1
. c( B+ R/ l$ f0 z' ^* k7 vMAC Address      VLAN ID    State            Port/Nickname            Aging
( l0 I* e' {. k" k9 }; u& k$ P

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2026-2-28 13:37:32 | 显示全部楼层
' s# F8 U* m' {9 }3 R3 p
[H3C]display vlan 1372
6 ^: D' W3 }2 F VLAN ID: 1372
( |2 W) W2 u( c: x- w3 u VLAN type: Static3 X' O& r( X! A1 J, ]( ^
Route interface: Configured4 n% ~; |( }/ W+ Y( {
IPv4 address: 10.117.189.254
, {9 |. j5 Y% _ IPv4 subnet mask: 255.255.255.0
1 n7 J+ A' I4 I" e. E+ { Description: VLAN 1372
+ i4 v0 z( i6 ?4 T0 ]# M; w Name: VLAN 1372; G# p2 ~2 R4 F  J8 @
Tagged ports:   
* ~% q# `% p' O7 t4 U. J4 [    Ten-GigabitEthernet2/0/1(U)        
0 Z: C! W* d; v1 ^9 b    Ten-GigabitEthernet2/0/3(U)        
6 x( h2 k- b# L+ U/ g/ n    Ten-GigabitEthernet2/0/5(U)        + \2 U) v6 }2 o3 `0 I* @
    Ten-GigabitEthernet2/0/7(U)        4 o' {2 w' o4 Y5 ^3 P6 n4 e  l
    Ten-GigabitEthernet2/0/9(U)        
/ w7 s4 l/ E5 a& ^% ]9 A    Ten-GigabitEthernet2/0/11(U)      
) b' ?) N$ Y9 P  J' y' Y0 @    Ten-GigabitEthernet2/0/21(U)       + M8 `2 w  M0 e/ g% s" T
    Ten-GigabitEthernet2/0/23(U)      
' ]( t) `' g( p6 F  K    Ten-GigabitEthernet2/0/25(U)      
0 y5 X$ L. S9 X, C3 R2 q    Ten-GigabitEthernet2/0/27(U)      
; ^: O! O4 q- z: j- y3 }    Ten-GigabitEthernet2/0/29(U)       2 [9 Y7 M2 _/ E
    Ten-GigabitEthernet2/0/31(U)      
6 z9 w3 C$ u' Z2 v& Z8 [5 z, ~ Untagged ports:
( D: D' Z3 n/ U! ^: p    Ten-GigabitEthernet2/0/33(U)       9 i/ O5 J( b/ G/ h6 J5 U
[H3C]
" k; \. M: P! S; @9 z
2 l3 L3 I3 e- U6 \' }[H3C]display interface Vlan-interface13721 b1 e) N, L4 v3 Y" h& T
Vlan-interface1372& ?- d! L9 C8 o/ ^/ P+ M, [
Current state: UP9 D3 c: q: S) K" M
Line protocol state: UP
  k. o3 p3 s; R" E7 q1 j+ \' ODescription: Vlan-interface1372 Interface2 U& E2 \- h5 O
Bandwidth: 10000000 kbps
5 |. H( F  D* t, f0 v- S+ M/ xMaximum transmission unit: 15000 z6 ^' I& v1 ^3 j7 w" ~
Internet address: 10.117.189.254/24 (Primary)4 i& e& V9 N, u! u/ T' A
IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d
, o7 P- P; o- D  VIPv6 packet frame type: Ethernet II, hardware address: 48bd-3db9-ab6d% J" R. v* q7 z" O  z
Last clearing of counters: Never( J) y$ Y4 z8 L5 [# D6 }
Input (total):  360 packets, 37896 bytes; @! {9 z, U$ p5 b
Output (total):  0 packets, 0 bytes5 X* ?' }2 [" g
$ u3 K( p. n9 }( n4 |
[H3C]dis7 X- {' r% p7 A  Y
[H3C]display in2 l7 ?6 n4 J) ^! Y9 t6 P; r
[H3C]display int9 n+ J5 O) {+ c, ~) |
[H3C]display interface t7 j, }5 A) c# @; W% P
[H3C]display interface Ten-GigabitEthernet 2/0/33
0 r! |, H3 X- O- jTen-GigabitEthernet2/0/333 N3 m6 s0 B6 X7 j" Q9 ?
Current state: UP
5 O1 i+ a& `+ f6 {2 l: D+ {6 iLine protocol state: UP/ V5 f$ c0 [. Z' J3 C; l, V
IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab91
  R5 x; N8 c: z- X4 s" J  fDescription: Ten-GigabitEthernet2/0/33 Interface' o7 u5 L; a9 k  N+ k+ r
Bandwidth: 1000000 kbps: Q$ L& |4 t, N8 n
Loopback is not set3 |% w3 d  _& @+ i8 D$ J0 J
Media type is optical fiber, port is 1000_BASE_SX_SFP, ?2 p% Q4 r4 B' K! l
1000Mbps-speed mode, full-duplex mode
8 U# @0 U- T! V* Q( X/ C/ }; r# ]Link speed type is autonegotiation, link duplex type is autonegotiation
* ]1 a% G: J3 R( [1 |Flow-control is not enabled
! A! J9 y4 t8 R3 T5 L$ pMaximum frame length: 10000
; o' D0 |( n9 d) c$ W% ~% F* \Allow jumbo frames to pass, a: g2 A1 V5 y& f) O
Broadcast max-ratio: 100%
5 u" r2 v8 {0 G: @Multicast max-ratio: 100%3 y  |  z- v$ |" r0 x
Unicast max-ratio: 100%6 v" s$ D9 v$ q: ~7 J1 g( g
Known-unicast max-ratio: 100%0 y# N, x2 j4 l8 O1 L* r
PVID: 1372* g, c- L1 R8 \' W9 F! M* [6 ]
MDI type: Automdix: r* G* e3 Z, G  }$ H8 C, @
Port link-type: Access9 a4 v. d/ c) h1 ?5 F5 z
Tagged VLANs:   None
5 c+ M1 `( l, z& k; S9 o; G/ k Untagged VLANs: 1372# b: }0 J# i# d) M& B9 M
Port priority: 0
( g: V; `- f4 h. m- X7 {- P. MLast link flapping: 0 hours 36 minutes 19 seconds# ^; }( ?0 _; Q3 T
Last clearing of counters: Never
, s( X  X! Z" \Current system time:2011-01-01 02:45:16# m, e. v+ E7 d3 K; |
Last time when physical state changed to up:2011-01-01 02:08:574 R: |- Q- a5 b: i' n* f
Last time when physical state changed to down:2011-01-01 00:02:17
. t. g0 O, ~9 u$ C' ^3 ] Peak input rate: 75 bytes/sec, at 2011-01-01 02:14:20
1 q( e0 p+ A6 E! A: C Peak output rate: 88 bytes/sec, at 2011-01-01 02:14:20
" |: G5 u4 Z' i# x* g5 c Last 300 seconds input: 0 packets/sec 17 bytes/sec 0%
: h- z7 e* `& n7 q. P% K6 A. i* J Last 300 seconds output: 0 packets/sec 83 bytes/sec 0%: q) i4 b8 l, H$ L5 {% }4 Y. ]
Input (total):  424 packets, 43288 bytes6 \! p3 }/ S( y7 d) n
         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses
- ]. M) l" ~) t4 L8 O) X' z Input (normal):  424 packets, - bytes" E( N& ]6 [; E6 {+ A3 D! q1 G
         33 unicasts, 124 broadcasts, 267 multicasts, 0 pauses
6 R1 g+ F! K2 `5 Y; u8 Q+ T4 r Input:  0 input errors, 0 runts, 0 giants, 0 throttles
" T( a% e& w7 A% ^         0 CRC, 0 frame, - overruns, 0 aborts0 @* y6 w( k  [$ Z3 Z/ P1 R
         - ignored, - parity errors
  m6 {5 x2 K& }& T8 L" n! H) _6 d Output (total): 1242 packets, 174362 bytes
% n; V+ b: N/ L2 N: U5 \) x: G         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses: t4 [- M3 }# D1 z
Output (normal): 1242 packets, - bytes
3 L" z& R, d# a$ ~; I# x         44 unicasts, 6 broadcasts, 1192 multicasts, 0 pauses: N9 W% Y6 W5 L9 S. @0 z, W) d- @
Output: 0 output errors, - underruns, - buffer failures
- S) R# m; E! e8 x6 v0 s         0 aborts, 0 deferred, 0 collisions, 0 late collisions
. @! y( o9 R, Z  c3 L+ j         0 lost carrier, - no carrier& x" t$ |/ S& d# ]' u
               ! W! m; R. R/ H9 X+ n3 n2 ]) V* C
[H3C]            ^  H7 F2 E0 U& @  R  k
[H3C]display interface Ten-GigabitEthernet 2/0/18 @4 S5 `2 b* K7 l
Ten-GigabitEthernet2/0/1
6 Z" @7 ]$ n! [+ b* A: KCurrent state: UP
2 I7 t( S/ F: i0 ^# O; r6 d& eLine protocol state: UP+ G$ W- R" \" |4 @8 @$ k  Y1 A" G0 T# g
IP packet frame type: Ethernet II, hardware address: 48bd-3db9-ab71
* l7 s1 R. i( C( A9 W0 V7 J8 MDescription: Ten-GigabitEthernet2/0/1 Interface0 [6 B+ i' I5 s3 f$ p5 d
Bandwidth: 10000000 kbps9 T6 |, ^0 O! F0 q" f; U8 |
Loopback is not set
* P% k1 A* i; N) J0 p' o( HMedia type is optical fiber, port is 10G_BASE_SR_SFP* ~) G! l5 G7 _+ |8 x  r
10Gbps-speed mode, full-duplex mode
- @  m$ H6 ~) b/ w- p9 ~4 cLink speed type is autonegotiation, link duplex type is autonegotiation
" @* v! ]: F3 Y# A, U; |6 fFlow-control is not enabled
. _7 H: p: c# y) A: ^6 s: Q! Y8 U. w" ~Maximum frame length: 10000
. I. t5 V- e* }9 [Allow jumbo frames to pass
7 R# D% d) J1 e" F# [. r* [% NBroadcast max-ratio: 100%. |' |2 s5 I% R( p4 a
Multicast max-ratio: 100%) K. Z- b5 ?- |. {" k' d
Unicast max-ratio: 100%( v  `4 n( Y+ G  q5 Q6 z7 u2 p
Known-unicast max-ratio: 100%, ^, I. ]6 |- |4 T1 k
PVID: 1
: s7 M' ]# Q% [& ?& tMDI type: Automdix! o; V, h4 \( `+ ?7 w* t4 W  m9 C$ m
Port link-type: Trunk
/ I( J& _5 f, W5 w4 p* p; g VLAN Passing:   1(default vlan), 1371-1372
6 i6 Z1 |# n% ~3 D2 l; {0 J7 i  [ VLAN permitted: 1(default vlan), 1371-1372/ L# @# s4 s# P0 L# P- {3 f3 W
Trunk port encapsulation: IEEE 802.1q
8 f; ~6 G/ X- R0 Q! tPort priority: 0
3 ^! O/ S; B- \  rLast link flapping: 0 hours 36 minutes 11 seconds
: s) }+ k+ I7 y9 N- {; a) Y" X  NLast clearing of counters: Never
( R4 S2 w2 ^5 F8 m: O4 J) WCurrent system time:2011-01-01 02:45:26
, T* w8 y* _. _% w* gLast time when physical state changed to up:2011-01-01 02:09:15
1 _1 b+ E/ U! a& P% W% Y& S; yLast time when physical state changed to down:2011-01-01 02:09:14: o% D& o8 j! x* ~$ i
Peak input rate: 2 bytes/sec, at 2011-01-01 02:10:18 + T, M+ l, D1 S& n5 ~8 O7 M$ F
Peak output rate: 85 bytes/sec, at 2011-01-01 02:34:16
9 g+ _' {+ j% Y# g Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%
5 Y. p2 Q2 X/ E% i/ A& z; } Last 300 seconds output: 0 packets/sec 82 bytes/sec 0%( _, r1 B3 ]% \  r' c2 U
Input (total):  13 packets, 1018 bytes
1 u6 ^# j( _7 R' r7 ~         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses
! h6 l( \2 S0 y Input (normal):  13 packets, - bytes
4 Y4 {7 X# `. R8 W0 f( B/ }6 D         0 unicasts, 0 broadcasts, 13 multicasts, 0 pauses
" h' |5 B2 B3 U+ \4 m Input:  0 input errors, 0 runts, 0 giants, 0 throttles0 T2 P- u2 F( L9 X' M/ o
         0 CRC, 0 frame, - overruns, 0 aborts
' A  E' E4 J8 k3 Q+ t0 k( ~         - ignored, - parity errors
4 M/ t( {' ]! t) ^' i6 d Output (total): 1419 packets, 186293 bytes
: t/ ^9 c" r) S5 K4 n- J( R0 v         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses) E4 h% u# T3 P' P
Output (normal): 1419 packets, - bytes) e/ }+ |1 @  l% r( F, f
         0 unicasts, 75 broadcasts, 1344 multicasts, 0 pauses& ?3 F! P6 n6 G, y+ F6 l
Output: 0 output errors, - underruns, - buffer failures
  O  j2 K/ S( f6 {" O         0 aborts, 0 deferred, 0 collisions, 0 late collisions( ~# {' i7 ]" I" ]( x6 }" }6 `  J/ t
         0 lost carrier, - no carrier
7 d  J0 U7 C$ n, i, V  ]# {               
8 V2 ~* U9 s- {$ V/ `# X+ s2 g/ E! _8 l6 {2 ?0 |0 y
[H3C]display stp brief 5 C5 M6 Q: ?3 A+ T& o
MST ID   Port                                Role  STP State   Protection3 k9 L/ b3 O  r$ k
0        Ten-GigabitEthernet2/0/1            DESI  FORWARDING  NONE
- ~+ N3 L; l. j0 z8 y  Z7 } 0        Ten-GigabitEthernet2/0/3            DESI  FORWARDING  NONE
# d8 \6 t5 o4 l4 \0 ]8 N* m 0        Ten-GigabitEthernet2/0/5            DESI  FORWARDING  NONE
6 B: t" z) B; i* g% m 0        Ten-GigabitEthernet2/0/7            DESI  FORWARDING  NONE0 p0 r" P8 d" T3 s2 R
0        Ten-GigabitEthernet2/0/9            DESI  FORWARDING  NONE) z/ ~, [" p. ~5 V: W. J
0        Ten-GigabitEthernet2/0/11           DESI  FORWARDING  NONE- v( k( w1 M) B1 X
0        Ten-GigabitEthernet2/0/21           DESI  FORWARDING  NONE
4 V  s% Q$ q" H$ Q9 ]& l# s7 U! W 0        Ten-GigabitEthernet2/0/23           DESI  FORWARDING  NONE, W- ^$ k; d2 E! L: S
0        Ten-GigabitEthernet2/0/25           DESI  FORWARDING  NONE; U. A5 x$ G: o* @' a
0        Ten-GigabitEthernet2/0/27           DESI  FORWARDING  NONE- h( B$ U' u+ A$ R" G" ]5 |, w
0        Ten-GigabitEthernet2/0/29           DESI  FORWARDING  NONE- n4 I* G5 C% K- a. N& f8 n
0        Ten-GigabitEthernet2/0/31           DESI  FORWARDING  NONE
2 V$ H  Y; q4 T) F$ Y% ~9 z 0        Ten-GigabitEthernet2/0/33           DESI  FORWARDING  NONE+ ]+ p1 m- E$ x+ L- r4 ]
[H3C]* R' A" _$ G; d( A. j& Z
[H3C]
0 C' `" w- O6 ]0 T' a[H3C]display mac-address interface Ten-GigabitEthernet 2/0/1/ e6 `: u2 M) L" G2 x8 i" @
MAC Address      VLAN ID    State            Port/Nickname            Aging
( y( y' F* X  E( u) ?/ n8 W: }[H3C]display ip routing-table
, `7 S1 O. a5 @% m
& R0 E' G) D; t4 O5 Y" l& S. qDestinations : 13
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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