H3C S6800交换机 BCM shell命令
H3C S6800交换机 BCM shell命令
http://wgli978.blog.163.com/blog/static/13592877220172315858831/
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]probe
[H3C-probe]?
Probe view commands:
INTEGER<0-1> Switch NO
bcm BCM
[H3C-probe]bcm slot 1 chip 0 v
Broadcom Command Monitor: Copyright (c) 1998-2010 Broadcom Corporation
Release: sdk-6.4.11 built unknown_date (unknown_date)
From unknown_user@unknown_host:unknown_tree
Platform: unknown
OS: Linux Kernel
Chips:
BCM56634_A0,
BCM88230_A0, BCM88230_B0, BCM88230_C0, BCM56840_A0,
BCM56840_B0,
[H3C-probe]bcm slot 1 chip 0 "ps ce"
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back
ce0( 1) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce1( 5) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce2( 9) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce3( 13) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce4( 17) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce5( 21) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce6( 25) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce7( 29) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce8( 34) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce9( 38) !ena 4 100G FD SW No Forward None FA LR4 9416 No
......
ce23( 96) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce24(102) up 4 100G FD SW No Forward None FA LR4 9416 No
ce25(106) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce26(110) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce27(114) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce28(118) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce29(122) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce30(126) !ena 4 100G FD SW No Forward None FA LR4 9416 No
ce31(130) !ena 4 100G FD SW No Forward None FA LR4 9416 No
[H3C-probe]bcm slot 1 chip 0 "port ce8 lb=phy"
[H3C-probe]bcm slot 1 chip 0 "port ce8 en=1"
[H3C-probe]bcm slot 1 chip 0 "ps ce8"
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back
ce8( 34) up 4 100G FD SW No Forward None FA LR4 9416 No PHY
[H3C-probe]bcm slot 1 chip 0 "phy info"
Phy mapping dump:
port id0 id1 addr iaddr name timeout
ce0( 1) ae02 5230 140 81 BCM82381/0 250000
xe0( 2) 0 0 140 81 Null 250000
xe1( 3) 0 0 140 81 Null 250000
xe2( 4) 0 0 140 81 Null 250000
ce1( 5) ae02 5230 141 85 BCM82381/0 250000
xe3( 6) 0 0 141 85 Null 250000
xe4( 7) 0 0 141 85 Null 250000
xe5( 8) 0 0 141 85 Null 250000
ce2( 9) ae02 5230 148 89 BCM82381/0 250000
[H3C-probe]bcm slot 1 chip 0 "vlan remove 1 pbm=cpu”
[H3C-probe]bcm slot 1 chip 0 "vlan add 1 pbm=ce8,ce24 ubm=ce8,ce24"
[H3C-probe]bcm slot 1 chip 0 "vlan create 2"
[H3C-probe]bcm slot 1 chip 0 "port ce8 en=0"
[H3C-probe]bcm slot 1 chip 0 "port ce24 en=0"
[H3C-probe]bcm slot 1 chip 0 "vlan add 2 pbm=ce8,ce24 ubm=ce8,ce24"
[H3C-probe]bcm slot 1 chip 0 "d port 34 1 port_vid"
PORT.ipipe0[34]: <PORT_VID=1,>
[H3C-probe]bcm slot 1 chip 0 "d port 102 1 port_vid"
PORT.ipipe0[102]: <PORT_VID=1,>
[H3C-probe]bcm slot 1 chip 0 "mod port 34 1 port_vid=2"
[H3C-probe]bcm slot 1 chip 0 "d port 34 1 port_vid"
PORT.ipipe0[34]: <PORT_VID=2,>
[H3C-probe]bcm slot 1 chip 0 "port ce8 en=1"
[H3C-probe]bcm slot 1 chip 0 "port ce24 en=1"
[H3C-probe]bcm slot 1 chip 0 "ps ce8"
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back
ce8( 34) up 4 100G FD SW No Forward None FA LR4 9416 No PHY
[H3C-probe]bcm slot 1 chip 0 "ps ce24"
ena/ speed/ link auto STP lrn inter max cut loop
port link Lns duplex scan neg? state pause discrd ops face frame thru? back
ce24(102) up 4 100G FD SW No Forward None FA LR4 9416 No
[H3C-probe]bcm slot 1 chip 0 "vlan show 1"
vlan 1 ports ce8,ce24,xe48,xe73 (0x0000000000000050000000040000000400000000), untagged ce8,ce24,xe (0x0000003bbbbbbbdeeeeeeee7bbbbbbbddddddddc) MCAST_FLOOD_UNKNOWN
[H3C-probe]bcm slot 1 chip 0 "vlan show 2"
vlan 2 ports cpu,ce8,ce24 (0x0000000000000040000000000000000400000001), untagged ce8,ce24 (0x0000000000000040000000000000000400000000) MCAST_FLOOD_UNKNOWN
[H3C-probe]bcm slot 1 chip 0 "show c c ce"
R255.ce8 : 23,980,380,091 +804,552,407 84,400,717/s
RPKT.ce8 : 23,980,380,256 +804,552,407 84,400,718/s
RBCA.ce8 : 23,980,380,287 +804,552,407 84,400,718/s
RPOK.ce8 : 23,980,380,662 +804,552,406 84,400,717/s
RBYT.ce8 : 3,069,488,786,526 +102,982,708,096 1,120,901/s
T255.ce8 : 23,985,364,731 +804,552,407 84,400,718/s
TPOK.ce8 : 23,985,364,897 +804,552,407 84,400,718/s
TPKT.ce8 : 23,985,364,913 +804,552,407 84,400,718/s
TBCA.ce8 : 23,985,364,943 +804,552,407 84,400,718/s
TBYT.ce8 : 3,070,126,789,397 +102,982,708,096 1,121,017/s
PERQ_PKT(2).ce8 : 24,038,542,498 +855,747,807 46,101,779/s
PERQ_BYTE(2).ce8 : 3,557,704,289,704 +126,650,675,436 8,179,755/s
R255.ce24 : 228,475,908,924 +804,549,169 84,400,072/s
RPKT.ce24 : 228,475,909,275 +804,549,169 84,400,071/s
RBCA.ce24 : 228,475,909,167 +804,549,168 84,400,071/s
RPOK.ce24 : 228,475,909,755 +804,549,169 84,400,071/s
RBYT.ce24 : 29,244,916,519,056 +102,982,293,504 29,649/s
T255.ce24 : 23,989,403,944 +804,549,169 84,400,070/s
T511.ce24 : 113 +1
TPOK.ce24 : 23,989,404,607 +804,549,169 84,400,070/s
TPKT.ce24 : 23,989,404,626 +804,549,169 84,400,070/s
TMCA.ce24 : 478 +1
TBCA.ce24 : 23,989,404,207 +804,549,168 84,400,070/s
TBYT.ce24 : 3,070,643,902,000 +102,982,293,945 29,533/s
PERQ_PKT(2).ce24 : 24,008,886,427 +822,273,794 4,350,353/s
PERQ_BYTE(2).ce24 : 3,553,315,191,196 +121,696,521,512 645,000,538/s
UC_PERQ_PKT(7).ce24: 478 +1
UC_PERQ_BYTE(7).ce24: 89,824 +333