switchport trunk allowed vsan
To allow a virtual SAN list for a virtual Fibre Channel (VFC) interface, use the switchport trunk allowed vsan command. To return to the default setting, use the no form of this command.
switchport trunk allowed vsan vsan-id
no switchport trunk allowed vsan vsan-id
Syntax Description
vsan-id |
VSAN ID. The range is from 1 to 4093. |
Command Default
None.
Command Modes
Interface configuration mode.
Command History
Release |
Modification |
---|---|
5.2(1) |
This command was introduced on the Cisco Nexus 7000 and MDS 9500 Series Switches. |
Usage Guidelines
None.
Examples
This example shows how to allow a VSAN list for a VFC interface:
switch# configure terminal
switch(config)# interface vfc 1
switch(config-if)# switchport trunk allowed vsan 1
switch(config-if)#
This example shows how to add VSAN 100 to the allowed list:
switch(config-if)# switchport trunk allowed vsan add 100
switch(config-if)#