Base switch – ADLINK aTCA-N700 User Manual

Page 59

Advertising
background image

aTCA-N700 SW Users Guide

53

[root@N700]$ nbm-relay ps xe0
ena/ speed/ link auto STP lrn inter max loop
port link duplex scan neg? state pause discrd ops face frame back
xe0 up 1G FD SW Yes Forward TX RX None FA GMII 16356


** LED ‘E’ Off


[root@N700]$ nbm-sfp tx_disable n FP1
[root@N700]$ nbm-relay port xe0 en=false
[root@N700]$ nbm-relay ps xe0
ena/ speed/ link auto STP lrn inter max loop
port link duplex scan neg? state pause discrd ops face frame back
xe0

!ena

1G FD SW Yes Forward TX RX None FA GMII 16356


8.3.12. Base Switch


The proprietary command nbm-robo is used to configure the switch: port enable/disable
and status checking. Here are the examples.


[root@N700]$ nbm-robo
root@aTCA-N700:~# nbm-robo
ROBO switch register tool
Usage: nbm-robo (init|close|show|clear)
- init: initailize Base switch
- close: Set state to 'Not forwarding'
- show : Disply Base switch port infomation
- clear: Clear port statistics infomation
nbm-robo (enable|disable) <port>
- Enable or Disable port
nbm-robo read <page> <reg> <length>
- Read Register value
nbm-robo write <page> <reg> <length> <value>
- Write values to Register
nbm-robo vlan add <vid> <port> <tag/untag>
- Add port to a VLAN
nbm-robo vlan del <vid> <port>
- Remove port from VLAN
nbm-robo vlan destroy <vid>
- Destroy a VLAN
nbm-robo vlan show <vid>
- Display a VLAN
nbm-robo pvid <port> <vid>
- Set a PVID for a port
nbm-robo pvid show
- Display PVID for all ports
nbm-robo l2 add <MacAddr> <vid> <port>
- Add L2 address associated with a port
nbm-robo l2 del <MacAddr> <vid>
- Delete L2 address associated with a port
nbm-robo l2 clear
- Delete all L2 table
nbm-robo l2 show
- Display all L2 table
nbm-robo trunk (enable|disable)
- Enable/Disable trunking
nbm-robo trunk add <trunk_id> <port>
- Add ports to a trunk(trunk_id: 0 or 1)
nbm-robo trunk remove <trunk_id> <port>
- Remove ports from a trunk
nbm-robo trunk hash set <index>
- Set hash index value to select egress port of a trunk
<index> - 0: [DMAC,SMAC],1: [DMAC], 2: [SMAC]
nbm-robo trunk hash get
- Get hash index value
nbm-robo trunk show
- Display all trunk infomation

Advertising