Introducción
Este documento describe la relación entre el ID de VLAN visto en los seguimientos de Ethanalyzer y el ID de VLAN en un switch Nexus de Cisco serie 5000.
Prerequisites
Requirements
Cisco recomienda que tenga conocimiento sobre estos temas:
- Conocimiento de Cisco NX-OS CLI
- Conocimiento de Fibre Channel over Ethernet (FCoE)
Componentes Utilizados
La información de este documento se basa en los switches Nexus de Cisco serie 5000 y 5500.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
¿Cuál es la diferencia entre el ID de VLAN que se muestra en el analizador etáreo NX-OS y el ID de VLAN en un switch Nexus de Cisco serie 5000?
Ethanalyzer no muestra el ID de VLAN FCoE real en el campo VID del encabezado 802.1q. Esta sección muestra los seguimientos de dos conexiones FCoE. Qlogic CNA utiliza FCoE VLAN/VSAN 100 y Cisco P81E (Monterey Park Adapter) utiliza FCoE VLAN/VSAN 30. El seguimiento muestra un VID de 13 y 14 respectivamente.
Keepalives QLOGIC FIP (configurados para FCoE VLAN/VSAN 100)

Solicitud FIP de Monterey Park (P81e) (configurada para FCoE VLAN/VSAN 30)

Ethanalyzer no mostrará el valor de ID de VLAN decimal real que usted vería en un seguimiento en línea. Ethanalyzer muestra el valor N5K de ID de VLAN canónica interna (CVID). Esta es una manera de mapearlo:
N5K# show system internal fcfwd fwcvidmap cvid
Canonical VLAN-ID based FWCVIDMAP table-(all values in hex)
------------------------------------------------------------------------------
CVID Type UCD VID Bcast_Index Mcast_Index MVR_Ctrl_Index
---- ---- ---- --- -------------- -------------- --------------
0x0001 enet 0x01 0x0fc8 0100.0000.000b 0100.0000.000c 0100.0000.0004
0x0002 enet 0x01 0x0fc9 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0003 enet 0x01 0x0fcb 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0004 enet 0x01 0x0001 0100.0000.001d 0100.0000.001d 0100.0000.0004
0x0005 enet 0x01 0x0000 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0006 enet 0x02 0x0000 0100.0000.000a 0100.0000.000a 0100.0000.000a
0x0007 enet 0x02 0x0001 0100.0000.000a 0100.0000.000a 0100.0000.000a
0x000d enet 0x01 0x0064 0100.0000.001e 0100.0000.001e 0100.0000.0004 - vlan 100
0x000e enet 0x01 0x001e 0100.0000.0020 0100.0000.0020 0100.0000.0004 - vlan 30
0x0fff enet 0x01 0x0fca 0100.0000.0002 0100.0000.0002 0100.0000.0ffd
0x0000 fc 0x0e 0x0000 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0008 fc 0x0e 0x0ffe 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x0009 fc 0x0e 0x0001 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000a fc 0x0e 0x0fef 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000c fc 0x0e 0x0005 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000d fc 0x0e 0x0064 0100.0000.0004 0100.0000.0004 0100.0000.0004 - vsan 100
0x000e fc 0x0e 0x001e 0100.0000.0004 0100.0000.0004 0100.0000.0004 - vsan 30
N5k# show flogi database
--------------------------------------------------------------------------------
INTERFACE VSAN FCID PORT NAME NODE NAME
--------------------------------------------------------------------------------
vfc1981 100 0xbc0000 21:00:00:c0:dd:15:d1:7d 20:00:00:c0:dd:15:d1:7d - Qlogic
vfc1982 30 0xb90000 20:00:e8:b7:48:4e:32:54 10:00:e8:b7:48:4e:32:54 - Monterey Park
Total number of flogi = 2.
N5K# sh vlan fcoe
Original VLAN ID Translated VSAN ID Association State
---------------- ------------------ -----------------
30 30 Operational
100 100 Operational
N5K# show platform fcfib vsan 30
(SD=S_ID/D_ID, SDO=S_ID/D_ID/OX_ID)
VSAN CVSAN State LoadBal IOD IOD_State
30(0x001e) 14(0x000e) active SDO N none
N5K# show platform fcfib vsan 100
(SD=S_ID/D_ID, SDO=S_ID/D_ID/OX_ID)
VSAN CVSAN State LoadBal IOD IOD_State
100(0x0064) 13(0x000d) active SDO N none
VLAN canónica (CVID) 13 (0x000d) se asigna a la VLAN 100 de FCoE (0x0064), que se asigna a VSAN 100; y CVID 14 (0x000e) se asigna a la VLAN 30 de FCoE (0x001e), que se asigna a la VSAN 30.
El mismo CVID (0x000e ? decimal 14) se utiliza para representar la VLAN y VSAN FCoE externas independientemente de si utilizan el mismo número (recomendado) o un número diferente. Por ejemplo:
Cambie la VLAN FCoE a la asignación de VSAN para que sea FCoE VLAN 630 a VSAN 30, en lugar de usar VLAN 30 a VSAN 30.
N5K# show vlan fcoe
Original VLAN ID Translated VSAN ID Association State
---------------- ------------------ -----------------
100 100 Operational
630 30 Operational
Observe que el CVID (0x000e - decimal 14) es el mismo número:
N5K# show system internal fcfwd fwcvidmap cvid
Canonical VLAN-ID based FWCVIDMAP table- (All values in hex)
------------------------------------------------------------------------------
CVID Type UCD VID Bcast_Index Mcast_Index MVR_Ctrl_Index
---- ---- ---- --- -------------- -------------- --------------
0x0001 enet 0x01 0x0fc8 0100.0000.000b 0100.0000.000c 0100.0000.0004
0x0002 enet 0x01 0x0fc9 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0003 enet 0x01 0x0fcb 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0004 enet 0x01 0x0001 0100.0000.001d 0100.0000.001d 0100.0000.0004
0x0005 enet 0x01 0x0000 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0006 enet 0x02 0x0000 0100.0000.000a 0100.0000.000a 0100.0000.000a
0x0007 enet 0x02 0x0001 0100.0000.000a 0100.0000.000a 0100.0000.000a
0x000d enet 0x01 0x0064 0100.0000.001e 0100.0000.001e 0100.0000.0004
0x000e enet 0x01 0x0276 0100.0000.0024 0100.0000.0024 0100.0000.0004 - VLAN 630
0x0fff enet 0x01 0x0fca 0100.0000.0002 0100.0000.0002 0100.0000.0ffd
0x0000 fc 0x0e 0x0000 0100.0000.0000 0100.0000.0000 0100.0000.0000
0x0008 fc 0x0e 0x0ffe 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x0009 fc 0x0e 0x0001 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000a fc 0x0e 0x0fef 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000c fc 0x0e 0x0005 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000d fc 0x0e 0x0064 0100.0000.0004 0100.0000.0004 0100.0000.0004
0x000e fc 0x0e 0x001e 0100.0000.0004 0100.0000.0004 0100.0000.0004 - VSAN 30
Esta es otra manera de determinar el mapping de VLAN interna al mapping de VLAN externa:
N5k# show platform afm info global
Gatos Hardware version 0
Hardware instance mapping
-------------------------
Hardware instance: 0 asic id: 0 slot num: 0
Hardware instance: 1 asic id: 1 slot num: 0
Hardware instance: 2 asic id: 2 slot num: 0
Hardware instance: 3 asic id: 3 slot num: 0
Hardware instance: 4 asic id: 4 slot num: 0
Hardware instance: 5 asic id: 5 slot num: 0
Hardware instance: 6 asic id: 6 slot num: 0
Hardware instance: 7 asic id: 0 slot num: 1
Hardware instance: 8 asic id: 1 slot num: 1
Hardware instance: 9 asic id: 0 slot num: 3
Hardware instance: 10 asic id: 1 slot num: 3
AFM Internal Status
-------------------
[unknown label ]: 324
[no free statistics counter ]: 2
[number of verify ]: 59
[number of commit ]: 59
[number of request ]: 6163
[tcam stats full ]: 2
Vlan mapping table
------------------
Ext-vlan: 1 - Int-vlan: 66
Ext-vlan: 2 - Int-vlan: 62
Ext-vlan: 101 - Int-vlan: 61
Ext-vlan: 102 - Int-vlan: 60
Ext-vlan: 103 - Int-vlan: 59
Ext-vlan: 104 - Int-vlan: 58
Ext-vlan: 105 - Int-vlan: 57
Ext-vlan: 106 - Int-vlan: 56
Ext-vlan: 107 - Int-vlan: 55
Ext-vlan: 108 - Int-vlan: 54
Ext-vlan: 109 - Int-vlan: 53
Ext-vlan: 110 - Int-vlan: 52
Ext-vlan: 111 - Int-vlan: 51
Ext-vlan: 112 - Int-vlan: 50