交换机 : Cisco Nexus 5000 系列交换机

连结5000 FAQ :在NX-OS显示的VLAN ID Ethanalyzer和在Cisco连结5000系列交换机的VLAN ID有何区别?

2016 年 10 月 24 日 - 机器翻译
其他版本: PDFpdf | 英语 (2015 年 8 月 22 日) | 反馈

简介

本文描述在Ethanalyzer跟踪看到的VLAN ID和VLAN ID之间的关系在Cisco连结5000系列交换机。

贡献用保罗Raytick和Prashanth Krishnappa, Cisco TAC工程师。

先决条件

要求


Cisco 建议您了解以下主题:

  • Cisco NX-OS CLI知识
  • 光纤信道知识在以太网(FCoE)的

使用的组件

本文档中的信息根据Cisco连结5000和5500系列交换机。

本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您使用的是真实网络,请确保您已经了解所有命令的潜在影响。

在NX-OS显示的VLAN ID Ethanalyzer和在Cisco连结5000系列交换机的VLAN ID有何区别?

Ethanalyzer不在802.1q报头的VID字段显示实际FCoE VLAN ID。此部分显示两FCoE连接跟踪。Qlogic CNA使用FCoE VLAN/VSAN 100,并且思科P81E (蒙特利公园市适配器)使用FCoE VLAN/VSAN 30。trace分别显示VID 13和14。

QLOGIC FIP Keepalive (配置为FCoE VLAN/VSAN 100)

116250-qanda-nexus-vlan-id-ethanalyzer-01.png

蒙特利公园市(P81e) FIP垦请(配置为FCoE VLAN/VSAN 30)

116250-qanda-nexus-vlan-id-ethanalyzer-02.png

Ethanalyzer不会表示实际十进制VLAN ID值,您在一轴向trace会看到。Ethanalyzer显示N5K内部规范VLAN ID (CVID)值。这是一种方式映射它回到:

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 (CVID) 13 (0x000d)映射对FCoE VLAN 100 (0x0064),映射对VSAN 100;并且对FCoE VLAN 30 (0x001e)的CVID 14 (0x000e)地图,映射对VSAN 30。

同样CVID (0x000e ?十进制14)用于代表外部FCoE VLAN和VSAN不管他们是否使用同样编号(建议使用)或一不同的数字。例如: 

更改FCoE VLAN对映射的VSAN是FCoE VLAN 630到VSAN 30,而不是使用VLAN 30到VSAN 30。

N5K# show vlan fcoe
Original VLAN ID Translated VSAN ID Association State
---------------- ------------------ -----------------

100 100 Operational
630 30 Operational

注意CVID (0x000e -十进制14)是同一个编号:

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

这是另一个方式确定映射对外部VLAN映射的内部VLAN :

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


Document ID: 116250