Cisco Nexus 7000 Series Command Reference Manual page 300

Nx-os mpls
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

switchport allowed vlan
switchport allowed vlan
To allow a flow from the specified VLAN to pass through the trunk, use the switchport allowed vlan
command.
Syntax Description
vlan-id
Defaults
None
Command Modes
Interface configuration mode
Supported User Roles
network-admin
vdc-admin
Command History
Release
6.2.2
Usage Guidelines
The VLAN ID must match the ID of the VLAN to which this virtual forwarding interface (VFI) is to be
associated.
This command requires the MPLS Services license.
Examples
This example shows how to allow flow from the specified VLAN to pass through the trunk:
switch# configure terminal
switch(config)# vlan 100
switch(config-vlan)# member vfi foo
switch(config-vlan)# exit
switch(config)# interface ethernet 2/1
switch(config-if)# switchport mode trunk
switch(config-if)# switchport allowed vlan 100
switch(config-if)#
Related Commands
Command
member vfi
Cisco Nexus 7000 Series NX-OS MPLS Command Reference
1232
switchport allowed vlan vlan-id
VLAN ID. The range is from 1 to 4094.
Modification
This command was introduced.
Description
S Commands
OL-24994-01

Advertisement

Table of Contents
loading

Table of Contents