Cisco Nexus Series switches architecture enables access to the ASIC shell. You can use an ASIC shell to access a shell prompt specific to the device front panel and fabric module line cards.

The following examples describe how you can access the command-line broadcom based shell (bcm-shell) and how to read from these ASICS, although it need not be limited to these ASICs.

Accessing the Broadcom Shell with the CLI (bcm-shell)

Syntax: bcm-shell module module_number [instance_number:command]

Query the Broadcom Shell for detailed VLAN information:

n9k-sw-1# sh vlan id 101  
VLAN Name Status Ports
101 VLAN0101 active Po1, Po22, Eth1/1, Eth1/2
Eth1/47, Eth1/48
VLAN Type Vlan-mode
101 enet CE
n9k-sw-1# bcm-shell module 1  
Warning: BCM shell access should be used with caution  
Entering bcm shell on module 1  
Available Unit Numbers: 0  
bcm-shell.0> vlan 101  
Current settings:  
          VRF=3  
          OuterTPID=0x8100  
          LearnDisable=1  
          UnknownIp6McastToCpu=0  
          UnknownIp4McastToCpu=1  
          Ip4Disable=0  
          Ip6Disable=0  
          Ip4McastDisable=0  
          Ip6McastDisable=1  
          Ip4McastL2Disable=0  
          Ip6McastL2Disable=0  
          L3VrfGlobalDisable=0  
          MplsDisable=0  
          CosqEnable=0  
          MiMTermDisable=0  
          Cosq=-277706854  
          Ip6McastFloodMode=MCAST_FLOOD_UNKNOWN  
          Ip4McastFloodMode=MCAST_FLOOD_UNKNOWN  
          L2McastFloodMode=MCAST_FLOOD_UNKNOWN  
          IfClass=17  
bcm-shell.0>  

Query the Broadcom Shell for detailed MAC table information:

  n9k-sw-1# show mac address-table  

Legend:
* - primary entry
G - Gateway MAC
(R) - Routed MAC
O - Overlay MAC
age - seconds since last seen
+ - primary entry using vPC Peer-Link
(T) - True, (F) - False

VLAN MAC Address Type age Secure NTFY Ports
* 2501 5087.89d4.5495 static - F F Vlan2501
* 2502 5087.89d4.5495 static - F F Vlan2502
G - 5087.89d4.5495 static - F F sup-eth1(R)
G 1 5087.89d4.5495 static - F F sup-eth1(R)
G 101 5087.89d4.5495 static - F F sup-eth1(R)
G 102 5087.89d4.5495 static - F F sup-eth1(R)
G 2501 5087.89d4.5495 static - F F sup-eth1(R)
G 2502 5087.89d4.5495 static - F F sup-eth1(R)
G 201 5087.89d4.5495 static - F F sup-eth1(R)
n9k-sw-1#  
n9k-sw-1# bcm-shell module 1  
Warning: BCM shell access should be used with caution  
Entering bcm shell on module 1  
Available Unit Numbers: 0  
bcm-shell.0> l2 show  
mac=50:87:89:d4:54:95 vlan=31174 GPORT=0x80000202 port=0x80000202(vxlan) Static Hit  
mac=50:87:89:d4:54:95 vlan=31173 GPORT=0x80000201 port=0x80000201(vxlan) Static Hit  
bcm-shell.0>