Troubleshooting Dropped FIP Traffic
Problem
Description
You observe that a switch is dropping Fibre Channel over Ethernet (FCoE) Initialization Protocol (FIP) traffic such as FIP VLAN discovery and notification frames.
Cause
The interface on which the FIP traffic is dropped does not have a native VLAN configured. FIP VLAN discovery and notification messages are exchanged as untagged packets on the native VLAN. (After the FCoE session with the Fibre Channel switch is established, FCoE traffic uses the FCoE VLAN.)
Solution
Check to ensure that every 10-Gigabit Ethernet interface that connects to an FCoE device includes a native VLAN. Configure a native VLAN on all 10-Gigabit Ethernet interfaces that connect to FCoE devices.
Make sure that the native VLAN you are using is the same native VLAN that the FCoE devices use for Ethernet traffic.
The procedure to configure a native VLAN on an interface is different on switches that use the Enhanced Layer 2 Software (ELS) CLI than on switches that don’t use the ELS CLI. Both configuration procedures are provided here.
On ELS switches, to configure a native VLAN on an interface:
Set the interface mode to
trunk
if you have not already done so:[edit] user@switch# set interfaces interface unit unit family ethernet-switching interface-mode trunk
For example, to set the interface mode to
trunk
for interfacexe-0/0/6.0
:[edit] user@switch# set interfaces xe-0/0/6 unit 0 family ethernet-switching interface-mode trunk
Configure the native VLAN if it does not already exist:
[edit] user@switch# set vlans vlan-name vlan-id vlan-id
For example, to name the native VLAN
native
and use the VLAN ID1
:[edit] user@switch# set vlans native vlan-id 1
Configure the native VLAN on the physical Ethernet interface:
[edit] user@switch# set interfaces interface native-vlan-id vlan-id
For example, to configure a native VLAN with the VLAN ID
1
on interfacexe-0/0/6.0
:[edit] user@switch# set interfaces xe-0/0/6 native-vlan-id 1
Configure the Ethernet interface as a member of the native VLAN:
[edit] user@switch# set interfaces interface unit unit family ethernet-switching vlan members vlan-name
For example, to configure an Ethernet interface as a member of a native VLAN with the VLAN ID
1
on interfacexe-0/0/6.0
:[edit] user@switch# set interfaces xe-0/0/6 unit 0 family ethernet-switching vlan members native
On non-ELS switches, to configure a native VLAN on an interface:
Set the interface port mode to
tagged-access
if you have not already done so:[edit] user@switch# set interfaces interface unit unit family ethernet-switching port-mode tagged-access
For example, to set the port mode to
tagged-access
for interfacexe-0/0/6.0
:[edit] user@switch# set interfaces xe-0/0/6 unit 0 family ethernet-switching port-mode tagged-access
Configure the native VLAN if it does not already exist:
[edit] user@switch# set vlans vlan-name vlan-id vlan-id
For example, to name the native VLAN
native
and use the VLAN ID1
:[edit] user@switch# set vlans native vlan-id 1
Configure the native VLAN on the interface:
[edit] user@switch# set interfaces interface unit unit family ethernet-switching native-vlan-id vlan-id
For example, to configure a native VLAN with the VLAN ID
1
on interfacexe-0/0/6.0
:[edit] user@switch# set interfaces xe-0/0/6 unit 0 family ethernet-switching native-vlan-id 1