Contents
- swconfig ?
- swconfig list
- NHX53X2 View network port link status
- NHX6018 View network port link status
- NHX5018 View network port link status
- NHX4019 View network port link status
- swconfig dev switch1 show
- swconfig dev switch1 vlan x show
swconfig ?
root@NHX53X2-V03-244-NPN-512M16-D4:/# swconfig ?swconfig listswconfig dev <dev> [port <port>|vlan <vlan>] (help|set <key> <value>|get <key>|load <config>|show)root@NHX53X2-V03-244-NPN-512M16-D4:/#
swconfig list
root@NHX53X2-V03-244-NPN-512M16-D4:/# swconfig listFound: switch0 - QCA MPPEFound: switch1 - QCA MHTroot@NHX53X2-V03-244-NPN-512M16-D4:/#
NHX53X2 View network port link status
root@NHX53X2-V03-244-NPN-512M16-D4:/# swconfig dev switch1 show |grep link link: port:0 link:up speed:1000baseT full-duplex txflow rxflow link: port:1 link:down link: port:2 link:down link: port:3 link:up speed:1000baseT full-duplex txflow rxflow link: port:4 link:down link: port:5 link:downroot@NHX53X2-V03-244-NPN-512M16-D4:/#
NHX6018 View network port link status
root@NHX6018-0-NPN-256M32-D4:/# swconfig dev switch0 show |grep link link: port:0 link:up speed:10000baseT full-duplex link: port:1 link:down link: port:2 link:down link: port:3 link:down link: port:4 link:down link: port:5 link:up speed:1000baseT full-duplex txflow rxflow eee100 eee1000 link: port:6 link:down link: port:7 link:up speed:unknown full-duplexroot@NHX6018-0-NPN-256M32-D4:/#
NHX5018 View network port link status
root@NHX5018-NPN-256M16-D3:/# swconfig dev switch1 show |grep link link: port:0 link:up speed:1000baseT full-duplex link: port:1 link:down link: port:2 link:down link: port:3 link:down link: port:4 link:up speed:1000baseT full-duplex txflow rxflow link: port:5 link:down link: port:6 link:up speed:1000baseT full-duplexroot@NHX5018-NPN-256M16-D3:/#
NHX4019 View network port link status
root@NHX4019-NPN-256M16-D3:/# swconfig dev switch0 show |grep link link: port:0 link:up speed:1000baseT full-duplex txflow rxflow link: port:1 link:down link: port:2 link:down link: port:3 link:down link: port:4 link:up speed:1000baseT full-duplex txflow rxflow link: port:5 link:downroot@NHX4019-NPN-256M16-D3:/#
swconfig dev switch1 show
root@NHX53X2-V03-244-NPN-512M16-D4:/# swconfig dev switch1 showGlobal attributes: enable_vlan: 1 max_frame_size: 9216 dump_arl: MAC: 5c:b1:5f:90:94:50 PORTMAP: 0x01 VID: 0x1 STATUS: 0x0MAC: f0:1d:bc:f3:f6:64 PORTMAP: 0x08 VID: 0x1 STATUS: 0x0MAC: 5c:b1:5f:90:94:55 PORTMAP: 0x01 VID: 0x2 STATUS: 0x0
switch_ext: ???Port 0: mib: Port 0 MIB countersRxBroad : 91RxPause : 0RxMulti : 82RxFcsErr : 0RxAlignErr : 0RxRunt : 0RxFragment : 0Rx64Byte : 53Rx128Byte : 169Rx256Byte : 77Rx512Byte : 61Rx1024Byte : 0Rx1518Byte : 0RxMaxByte : 0RxTooLong : 0RxGoodByte : 53510RxBadByte : 0RxOverFlow : 0Filtered : 56TxBroad : 113TxPause : 0TxMulti : 3994TxUnderRun : 0Tx64Byte : 3Tx128Byte : 1271Tx256Byte : 108Tx512Byte : 1336Tx1024Byte : 1570Tx1518Byte : 0TxMaxByte : 0TxOverSize : 0TxByte : 1609227TxCollision : 0TxAbortCol : 0TxMultiCol : 0TxSingleCol : 0TxExcDefer : 0TxDefer : 0TxLateCol : 0RxUniCast : 187TxUniCast : 181
enable_eee: ??? pvid: 0 link: port:0 link:up speed:1000baseT full-duplex txflow rxflowPort 1: mib: Port 1 MIB countersRxBroad : 41RxPause : 0RxMulti : 3738RxFcsErr : 0RxAlignErr : 0RxRunt : 0RxFragment : 0Rx64Byte : 63Rx128Byte : 788Rx256Byte : 66Rx512Byte : 1388Rx1024Byte : 1518Rx1518Byte : 0RxMaxByte : 0RxTooLong : 0RxGoodByte : 1552982RxBadByte : 0RxOverFlow : 0Filtered : 0TxBroad : 63TxPause : 0TxMulti : 59TxUnderRun : 0Tx64Byte : 15Tx128Byte : 47Tx256Byte : 33Tx512Byte : 61Tx1024Byte : 0Tx1518Byte : 0TxMaxByte : 0TxOverSize : 0TxByte : 32934TxCollision : 0TxAbortCol : 0TxMultiCol : 0TxSingleCol : 0TxExcDefer : 0TxDefer : 0TxLateCol : 0RxUniCast : 44TxUniCast : 34
enable_eee: 0 pvid: 2 link: port:1 link:downPort 2: mib: Port 2 MIB countersRxBroad : 18RxPause : 0RxMulti : 60RxFcsErr : 0RxAlignErr : 0RxRunt : 0RxFragment : 0Rx64Byte : 24Rx128Byte : 62Rx256Byte : 7Rx512Byte : 0Rx1024Byte : 0Rx1518Byte : 0RxMaxByte : 0RxTooLong : 0RxGoodByte : 8448RxBadByte : 0RxOverFlow : 0Filtered : 0TxBroad : 0TxPause : 0TxMulti : 1TxUnderRun : 0Tx64Byte : 2Tx128Byte : 12Tx256Byte : 7Tx512Byte : 0Tx1024Byte : 0Tx1518Byte : 0TxMaxByte : 0TxOverSize : 0TxByte : 2282TxCollision : 0TxAbortCol : 0TxMultiCol : 0TxSingleCol : 0TxExcDefer : 0TxDefer : 0TxLateCol : 0RxUniCast : 15TxUniCast : 20
enable_eee: 0 pvid: 1 link: port:2 link:downPort 3: mib: Port 3 MIB countersRxBroad : 36RxPause : 0RxMulti : 128RxFcsErr : 0RxAlignErr : 0RxRunt : 0RxFragment : 0Rx64Byte : 49Rx128Byte : 202Rx256Byte : 23Rx512Byte : 0Rx1024Byte : 0Rx1518Byte : 0RxMaxByte : 0RxTooLong : 0RxGoodByte : 25022RxBadByte : 0RxOverFlow : 0Filtered : 0TxBroad : 0TxPause : 0TxMulti : 0TxUnderRun : 0Tx64Byte : 5Tx128Byte : 93Tx256Byte : 14Tx512Byte : 0Tx1024Byte : 0Tx1518Byte : 0TxMaxByte : 0TxOverSize : 0TxByte : 9986TxCollision : 0TxAbortCol : 0TxMultiCol : 0TxSingleCol : 0TxExcDefer : 0TxDefer : 0TxLateCol : 0RxUniCast : 110TxUniCast : 112
enable_eee: 0 pvid: 1 link: port:3 link:up speed:1000baseT full-duplex txflow rxflowPort 4: mib: Port 4 MIB countersRxBroad : 18RxPause : 0RxMulti : 68RxFcsErr : 0RxAlignErr : 0RxRunt : 0RxFragment : 0Rx64Byte : 28Rx128Byte : 65Rx256Byte : 5Rx512Byte : 0Rx1024Byte : 0Rx1518Byte : 0RxMaxByte : 0RxTooLong : 0RxGoodByte : 8707RxBadByte : 0RxOverFlow : 0Filtered : 0TxBroad : 0TxPause : 0TxMulti : 0TxUnderRun : 0Tx64Byte : 1Tx128Byte : 8Tx256Byte : 6Tx512Byte : 0Tx1024Byte : 0Tx1518Byte : 0TxMaxByte : 0TxOverSize : 0TxByte : 1744TxCollision : 0TxAbortCol : 0TxMultiCol : 0TxSingleCol : 0TxExcDefer : 0TxDefer : 0TxLateCol : 0RxUniCast : 12TxUniCast : 15
enable_eee: 0 pvid: 1 link: port:4 link:downPort 5: mib: Port 5 MIB countersRxBroad : 0RxPause : 0RxMulti : 0RxFcsErr : 0RxAlignErr : 0RxRunt : 0RxFragment : 0Rx64Byte : 0Rx128Byte : 0Rx256Byte : 0Rx512Byte : 0Rx1024Byte : 0Rx1518Byte : 0RxMaxByte : 0RxTooLong : 0RxGoodByte : 0RxBadByte : 0RxOverFlow : 0Filtered : 0TxBroad : 0TxPause : 0TxMulti : 0TxUnderRun : 0Tx64Byte : 0Tx128Byte : 0Tx256Byte : 0Tx512Byte : 0Tx1024Byte : 0Tx1518Byte : 0TxMaxByte : 0TxOverSize : 0TxByte : 0TxCollision : 0TxAbortCol : 0TxMultiCol : 0TxSingleCol : 0TxExcDefer : 0TxDefer : 0TxLateCol : 0RxUniCast : 0TxUniCast : 0
enable_eee: ??? pvid: 0 link: port:5 link:downVLAN 1: vid: 1 ports: 0t 2 3 4VLAN 2: vid: 2 ports: 0t 1root@NHX53X2-V03-244-NPN-512M16-D4:/#
swconfig dev switch1 vlan x show
root@NHX53X2-V03-244-NPN-512M16-D4:/# swconfig dev switch1 vlan 1 showVLAN 1: vid: 1 ports: 0t 2 3 4root@NHX53X2-V03-244-NPN-512M16-D4:/# swconfig dev switch1 vlan 2 showVLAN 2: vid: 2 ports: 0t 1root@NHX53X2-V03-244-NPN-512M16-D4:/#