•
Ensure that the translated VLANs are created on the switch and that the FEX Layer 2 trunk ports specify
the translated VLANs in their trunk allowed vlan-list.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Specifies an Ethernet interface to configure.
switch(config)# interface type port
Step 2
Configures port channel parameters.switch(config-if)# channel-group
number
Step 3
Exits the configuration submode.switch(config-if)# exit
Step 4
Specifies an Ethernet interface to configure.
switch(config)# interface type port
Step 5
Set the interface to support an external Fabric
Extender.
switch(config-if)# switchport mode
fex-fabric
Step 6
vlan-id is the ingress. Range is from 1 to 4094.
translated-id is the local VLAN. Range is from 1 to
4094.
switch(config-if)# switchport vlan
map vlan-id translated-id
Step 7
Associates a Fabric Extender with a fabric interface.switch(config-if)# fex associate
number
Step 8
Exits the configuration submode.switch(config-if)# exit
Step 9
Specifies an Ethernet interface to configure.
switch(config)# interface type port
Step 10
Applies to the FEX trunk
interfaces.
Note
Configures the interface as a trunk port.switch(config-if)# switchport mode
trunk
Step 11
Applies to the FEX trunk
interfaces.
Note
Configures the allowed VLANs for a virtual Ethernet
interface.
switch(config-if)# switchport trunk
allowed vlan vlan-id
Step 12
Applies to the FEX trunk interfaces. For FEX
port-channel trunk interfaces, the last vlan
in the allowed vlan list must be associated
with a translated vlan in one of the vlan maps
configured on the FEX fabric interface.
Note
This example shows how to configure VLAN translation with a FEX.
switch# configure terminal
switch(config)# interface ethernet1/1
switch(config-if)# channel-group 100
switch(config-if)# exit
switch(config)# interface Po100
switch(config-if)# switchport mode fex-fabric
switch(config-if)# switchport vlan map 10 20
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
24
Configuring VLANs
Configuring VLAN Translation with a FEX