beautypg.com

3 port status command, 2 mib clear command – ZyXEL Communications VES-1000 User Manual

Page 122

background image

VES-1000 Series Ethernet Switch

13-2 Switch-Related

Commands

Figure 13-1 Port Statistics

Please see Table 9-B for more information on these fields.

13.2.2

MIB Clear Command

sw mib clear n

This command allows you to clear the MIB counters of port “n” where “n” is a port number.

sw mib clear 13

Clears port 13 of all MIB counters.

13.3 Port Status Command

sw port status

This command allows you to view the link status of all ports.

Figure 13-2 Port Status Command

“0x” denotes a hexadecimal number. Let’s look at the bolded number (1003) in Figure 13-2.

Port13 statics:
00 RxUcstPkts = 0 01 RxBcstPkts = 0
02 RxMcstPkts = 0 03 RxPausePkts = 0
04 RxFCSErrors = 0 05 Collisions0 = 0
06 Collisions1 = 0 07 MultiCollision = 0
08 TxUcstPkts = 0 09 TxBcstPkts = 0
0a TxMcstPkts = 0 0b TxPausePkts = 0
0c FloodPkts = 0 0d FilterPkts = 0
0e BufFullDrops = 0 0f StormDrops = 0
10 Rx64Octets = 0 11 Rx65To127 = 0
12 Rx128To255 = 0 13 Rx256To511 = 0
14 Rx512To1023 = 0 15 Rx1024ToMAX = 0
16 TxExcessCOLs = 0 17 TxLateCOLs = 0
18 Tx64Bytes = 0 19 Tx65To127 = 0
1a Tx128To255 = 0 1b Tx256To511 = 0
1c Tx512To1023 = 0 1d Tx1024ToMAX = 0
1e RxOctetsMSB = 0 1f RxOctetsLSB = 0
20 TxOctetsMSB = 0 21 TxOctetsLSB = 0
22 RxFragments = 0 23 RxJabbers = 0
24 RxAlignErrors = 0 25 RxSymbolErrors = 0
26 SecurityDrops = 0 27 VLANDrops = 0
28 UndersizedPkt = 0 29 OversizedPkt = 0
2a TxOversizePkt = 0
Test>

Port 0 status is 0x1003
Port 1 status is 0x2
Port 2 status is 0x10 02
Port 3 status is 0x8000
Port 4 status is 0x1002
Port 5 status is 0x8000
Port 6 status is 0x8000
Port 7 status is 0x2
Port 8 status is 0x1002
Port 9 status is 0x8000
Port10 status is 0x8000
Port11 status is 0x1002
Port12 status is 0x1002
Port13 status is 0x3

Numbers greater
than 0x8000 denote
the link is down.