Pages

10/28/2016

Map ports to ASIC on Cisco 7K

Map Port to ASIC on Cisco 7K Switch

From:  Nexus 7000 NXOS VDC Config Guide

Find the slot# of the module:
    show mod

Enter command:
    slot 3 show hardware internal dev-port-map

Sample Output:
--------------------------------------------------------------
CARD_TYPE:       48 port 10G
>Front Panel ports:48
--------------------------------------------------------------
 Device name             Dev role              Abbr num_inst:
--------------------------------------------------------------
> Clipper MAC            DEV_ETHERNET_MAC       MAC_0  12
> Clipper FWD            DEV_LAYER_2_LOOKUP     L2LKP  12
> Clipper XBAR           DEV_QUEUEING           QUEUE  12
> Sacramento Xbar ASIC   DEV_SWITCH_FABRIC      SWICHF 1
> PHY                    DEV_PHY                PHYS   12
> Clipper L3 Driver      DEV_LAYER_3_LOOKUP     L3LKP  12
+----------------------------------------------------------------+
+---------+++FRONT PANEL PORT TO ASIC INSTANCE MAP+++------------+
+----------------------------------------------------------------+
FP port |  PHYS | MAC_0 | L2LKP | L3LKP | QUEUE |SWICHF
   1       0       0       0       0       0       0
   2       0       0       0       0       0       0
   3       0       0       0       0       0       0
   4       0       0       0       0       0       0
   5       1       1       1       1       1       0
   6       1       1       1       1       1       0
   7       1       1       1       1       1       0
. . .

  • Port number = FP port column.
  • ASIC = MAC_0 column.
  • So, ASIC=int(Port/4) - 1

One port in each port group can be dedicated to 10Gb using the rate-mode command.