PurposeCommand or Action
Changes the allowed list for the specified
VSAN range.
switchport trunk allowed vsan vsan-id - vsan-id
Example:
switch(config-if)# switchport trunk allowed vsan 35-55
Step 2
Expands the specified VSAN to the new
allowed list.
switchport trunk allowed vsan add vsan-id
Example:
switch(config-if)# switchport trunk allowed vsan add 40
Step 3
Deletes the specified VSAN range.
no switchport trunk allowed vsan vsan-id - vsan-id
Example:
switch(config-if)# no switchport trunk allowed vsan 61-65
Step 4
Deletes the expanded allowed list.
no switchport trunk allowed vsan add vsan-id
Example:
switch(config-if)# no switchport trunk allowed vsan add
40
Step 5
Displaying VSAN Trunking Information
The show interface command is invoked from the EXEC mode and displays VSAN trunking configurations
for a TE port. Without any arguments, this command displays the information for all of the configured interfaces
in the switch.
The following example shows how to display the trunk mode of a Fibre Channel interface:
switch# show interface fc3/3
fc3/3 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:83:00:0d:ec:6d:78:40
Peer port WWN is 20:0c:00:0d:ec:0d:d0:00
Admin port mode is auto, trunk mode is on
...
The following example shows how to display the trunk protocol of a Fibre Channel interface:
switch# show trunk protocol
Trunk protocol is enabled
The following example shows how to display the VSAN information for all trunk interfaces:
switch# show interface trunk vsan 1-1000
fc3/1 is not trunking
...
fc3/11 is trunking
Belongs to san-port-channel 6
Vsan 1 is up, FCID is 0xef0000
Vsan 2 is up, FCID is 0xef0000
...
san-port-channel 6 is trunking
Vsan 1 is up, FCID is 0xef0000
Vsan 2 is up, FCID is 0xef0000
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide, Release 5.2(1)N1(1)
92 OL-27583-01
Configuring VSAN Trunking
Displaying VSAN Trunking Information