Chapter 5 Configuring Trunking

Verifying Trunking Configuration

 

Command

Purpose

Step 3

 

 

switch(config-if)#switchport trunk allowed vsan 2-4

Changes the allowed list for the

 

 

specified VSANs.

 

 

 

 

switch(config-if)#switchport trunk allowed vsan add 5

Expands the specified VSAN (5) to

 

updated trunking membership

the new allowed list.

 

 

 

 

switch(config-if)#no switchport trunk allowed vsan 2-4

Deletes VSANs 2, 3, and 4.

 

 

 

 

switch(config-if)#no switchport trunk allowed vsan add 5

Deletes the expanded allowed list.

 

 

 

Verifying Trunking Configuration

To display trunking configuration information, perform one of the following tasks:

Command

Purpose

 

 

show interface fc slot/port

Displays the interface configuration information

 

that includes trunking, trunk mode, allowed

 

VSANs, and status.

 

 

show trunk protocol

Displays whether the trunk protocol is enabled.

 

 

show interface trunk vsan numbers

Displays whether the interface is trunking, and the

 

allowed VSAN list for each trunking interface.

 

 

For detailed information about the fields in the output from these commands, refer to the Cisco MDS NX-OS Command Reference.

The show interface command is invoked from the EXEC mode and displays trunking configurations for a TE port. Without any arguments, this command displays the information for all of the configured interfaces in the switch. See Examples 5-1to 5-3.

Example 5-1 Displays a Trunked Fibre Channel Interface

switch# show interface fc1/13 fc1/13 is trunking

Hardware is Fibre Channel

Port WWN is 20:0d:00:05:30:00:58:1e

Peer port WWN is 20:0d:00:05:30:00:59:1e Admin port mode is auto, trunk mode is on

Port mode is TE

 

Port vsan is 1

 

Speed is 2 Gbps

 

Receive B2B

Credit is 255

 

Beacon is turned off

 

Trunk vsans

(admin allowed and active) (1)

Trunk vsans

(up)

(1)

Trunk vsans

(isolated)

()

Trunk vsans

(initializing)

()

5

minutes input

rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

5

minutes output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec

 

 

233996 frames

input, 14154208

bytes,

0 discards

 

 

0

CRC, 0 unknown class

 

 

 

 

 

 

 

0

too long,

0 too short

 

 

 

 

 

 

 

236

frames output, 13818044 bytes, 0

discards

 

 

11 input OLS,

12 LRR, 10 NOS,

28 loop inits

 

 

 

 

 

Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-29284-01, Release 6.x

 

 

 

 

 

 

5-13

 

 

 

 

 

 

 

 

 

Page 167
Image 167
Cisco Systems DSC9148D8G48PK9 manual Verifying Trunking Configuration