Run the show interface command from user EXEC mode. This command displays the interface configurations. Without any arguments, this command displays
the information for all the configured interfaces in the switch.
The following example displays the status of interfaces:
Examples
switch# show interface
fc1/1 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:01:54:7f:ee:de:c5:00
Admin port mode is SD
snmp link state traps are enabled
Port mode is SD
Port vsan is 1
Admin Speed is 8 Gbps
Operating Speed is 8 Gbps
Rate mode is dedicated
Beacon is turned off
Logical type is Unknown(0)
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
4 frames input,304 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
4 frames output,304 bytes
0 discards,0 errors
0 input OLS,0 LRR,0 NOS,0 loop inits
0 output OLS,0 LRR, 0 NOS, 0 loop inits
1 receive B2B credit remaining
0 transmit B2B credit remaining
0 low priority transmit B2B credit remaining
Interface last changed at Mon Apr 24 23:10:49 2017
Last clearing of "show interface" counters : never
.
.
.
fc3/8 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:88:54:7f:ee:de:c5:00
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is TF
Port vsan is 1
Admin Speed is auto max 32 Gbps
Operating Speed is 16 Gbps
Rate mode is dedicated
Port flow-control is R_RDY
Transmit B2B Credit is 64
Receive B2B Credit is 32
Receive data field Size is 2112
Beacon is turned off
Logical type is core
Trunk vsans (admin allowed and active) (1-7,200,400)
Trunk vsans (up) (1-2)
Trunk vsans (isolated) (6-7,200,400)
Trunk vsans (initializing) (3-5)
5 minutes input rate 13438472736 bits/sec,1679809092 bytes/sec, 779072 frames/sec
5 minutes output rate 13438477920 bits/sec,1679809740 bytes/sec, 779073 frames/sec
99483764407 frames input,213691124011124 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
99485576094 frames output,213695013798564 bytes
0 discards,0 errors
0 input OLS,0 LRR,0 NOS,0 loop inits
1 output OLS,1 LRR, 0 NOS, 0 loop inits
32 receive B2B credit remaining
62 transmit B2B credit remaining
62 low priority transmit B2B credit remaining
Interface last changed at Mon Apr 24 23:11:47 2017
Last clearing of "show interface" counters : never
.
.
.
fc3/15 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:8f:54:7f:ee:de:c5:00
Admin port mode is F, trunk mode is off
snmp link state traps are enabled
Port mode is F, FCID is 0xe003c0
Port vsan is 1
Admin Speed is auto max 32 Gbps
Operating Speed is 16 Gbps
Rate mode is dedicated
Port flow-control is R_RDY
Transmit B2B Credit is 80
Receive B2B Credit is 32
Receive data field Size is 2112
Beacon is turned off
Logical type is edge
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
29 frames input,2600 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
36 frames output,2948 bytes
0 discards,0 errors
0 input OLS,0 LRR,0 NOS,0 loop inits
1 output OLS,1 LRR, 0 NOS, 0 loop inits
32 receive B2B credit remaining
80 transmit B2B credit remaining
80 low priority transmit B2B credit remaining
Interface last changed at Mon Apr 24 23:11:50 2017
Last clearing of "show interface" counters : never
Examples
You can also specify arguments (a range of interfaces or multiple specified interfaces) to display interface information.
You can specify a range of interfaces by issuing a command in the following format:
interface fc1/1 - 5 , fc2/5 - 7
Note
|
The spaces are required before and after the dash ( - ) and before and after the comma ( , ).
|
Examples
The following example displays the status of a range of interfaces:
switch# show interface fc3/9 , fc3/12
fc3/9 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:89:54:7f:ee:de:c5:00
Peer port WWN is 20:09:00:2a:6a:a4:0b:00
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Admin Speed is auto
Operating Speed is 32 Gbps
Rate mode is dedicated
Port flow-control is ER_RDY
Transmit B2B Credit for vl0 is 15
Transmit B2B Credit for vl1 is 15
Transmit B2B Credit for vl2 is 40
Transmit B2B Credit for vl3 is 430
Receive B2B Credit for vl0 is 15
Receive B2B Credit for vl1 is 15
Receive B2B Credit for vl2 is 40
Receive B2B Credit for vl3 is 430
B2B State Change Number is 14
Receive data field Size is 2112
Beacon is turned off
fec is enabled by default
Logical type is core
FCSP Status: Successfully authenticated
Trunk vsans (admin allowed and active) (1-7,200,400)
Trunk vsans (up) (1-7)
Trunk vsans (isolated) (200,400)
Trunk vsans (initializing) ()
5 minutes input rate 1175267552 bits/sec,146908444 bytes/sec, 67007 frames/sec
5 minutes output rate 1175268256 bits/sec,146908532 bytes/sec, 67005 frames/sec
8563890817 frames input,18703349820904 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
8563735031 frames output,18703009725636 bytes
0 discards,0 errors
0 input OLS,0 LRR,0 NOS,0 loop inits
1 output OLS,3 LRR, 0 NOS, 0 loop inits
70 receive B2B credit remaining
500 transmit B2B credit remaining
485 low priority transmit B2B credit remaining
Interface last changed at Mon Apr 24 23:11:49 2017
Last clearing of "show interface" counters : never
fc3/12 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:8c:54:7f:ee:de:c5:00
Peer port WWN is 20:0c:00:2a:6a:a4:0b:00
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Admin Speed is auto
Operating Speed is 32 Gbps
Rate mode is dedicated
Port flow-control is ER_RDY
Transmit B2B Credit for vl0 is 15
Transmit B2B Credit for vl1 is 15
Transmit B2B Credit for vl2 is 40
Transmit B2B Credit for vl3 is 430
Receive B2B Credit for vl0 is 15
Receive B2B Credit for vl1 is 15
Receive B2B Credit for vl2 is 40
Receive B2B Credit for vl3 is 430
B2B State Change Number is 14
Receive data field Size is 2112
Beacon is turned off
fec is enabled by default
Logical type is core
FCSP Status: Successfully authenticated
Trunk vsans (admin allowed and active) (1-7,200,400)
Trunk vsans (up) (1-7)
Trunk vsans (isolated) (200,400)
Trunk vsans (initializing) ()
5 minutes input rate 1175267840 bits/sec,146908480 bytes/sec, 67008 frames/sec
5 minutes output rate 1175265056 bits/sec,146908132 bytes/sec, 67007 frames/sec
8564034952 frames input,18703367929364 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
8563736100 frames output,18703012026724 bytes
0 discards,0 errors
1 input OLS,1 LRR,1 NOS,0 loop inits
1 output OLS,2 LRR, 0 NOS, 0 loop inits
70 receive B2B credit remaining
500 transmit B2B credit remaining
485 low priority transmit B2B credit remaining
Interface last changed at Mon Apr 24 23:11:50 2017
Last clearing of "show interface" counters : never
Examples
The following example displays the status of a specified interface:
switch# show interface fc3/9
fc3/9 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:89:54:7f:ee:de:c5:00
Peer port WWN is 20:09:00:2a:6a:a4:0b:00
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Admin Speed is auto
Operating Speed is 32 Gbps
Rate mode is dedicated
Port flow-control is ER_RDY
Transmit B2B Credit for vl0 is 15
Transmit B2B Credit for vl1 is 15
Transmit B2B Credit for vl2 is 40
Transmit B2B Credit for vl3 is 430
Receive B2B Credit for vl0 is 15
Receive B2B Credit for vl1 is 15
Receive B2B Credit for vl2 is 40
Receive B2B Credit for vl3 is 430
B2B State Change Number is 14
Receive data field Size is 2112
Beacon is turned off
fec is enabled by default
Logical type is core
FCSP Status: Successfully authenticated
Trunk vsans (admin allowed and active) (1-7,200,400)
Trunk vsans (up) (1-7)
Trunk vsans (isolated) (200,400)
Trunk vsans (initializing) ()
5 minutes input rate 1175263296 bits/sec,146907912 bytes/sec, 67007 frames/sec
5 minutes output rate 1175266272 bits/sec,146908284 bytes/sec, 67007 frames/sec
8570830922 frames input,18718506849280 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
8570675128 frames output,18718166747180 bytes
0 discards,0 errors
0 input OLS,0 LRR,0 NOS,0 loop inits
1 output OLS,3 LRR, 0 NOS, 0 loop inits
70 receive B2B credit remaining
500 transmit B2B credit remaining
485 low priority transmit B2B credit remaining
Interface last changed at Mon Apr 24 23:11:49 2017
Last clearing of "show interface" counters : never
Examples
The following example displays a summary of information:
switch# show interface brief
-----------------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port Logical
Mode Trunk Mode Speed Channel Type
Mode (Gbps)
-----------------------------------------------------------------------------------------
fc1/1 1 E on up swl E 8 -- core
fc1/2 1 auto on sfpAbsent -- -- -- -- --
fc1/3 1 F on up swl F 8 -- core
switch# show interface brief
-----------------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port Logical
Mode Trunk Mode Speed Channel Type
Mode (Gbps)
-----------------------------------------------------------------------------------------
fc1/1 1 auto on down swl -- -- -- --
fc1/2 1 auto on down swl -- -- -- --
fc1/3 1 auto on down swl -- -- -- --
fc1/4 1 auto on down swl -- -- -- --
fc1/5 1 auto on down swl -- -- -- --
fc1/6 1 auto on down swl -- -- -- --
fc1/7 1 auto on down swl -- -- -- --
fc1/8 1 auto on down swl -- -- -- --
fc1/9 1 auto on down swl -- -- -- --
fc1/10 1 auto on down swl -- -- -- --
fc1/11 1 auto on down swl -- -- -- --
fc1/12 1 auto on sfpAbsent -- -- -- -- --
-------------------------------------------------------------------------------
Interface Status Speed
(Gbps)
-------------------------------------------------------------------------------
sup-fc0 up 1
--------------------------------------------------------------------------------
Interface Status IP Address Speed MTU
--------------------------------------------------------------------------------
IPStorage1/1 outOfServc 10.1.1.32/24 1 Gbps 1500
IPStorage1/2 outOfServc -- 1 Gbps 1500
IPStorage1/3 outOfServc -- 1 Gbps 1500
IPStorage1/4 errDisabled -- 1 Gbps 1500
IPStorage1/5 init -- 25 Gbps 1500
IPStorage1/6 outOfServc -- 40 Gbps 1500
Examples
The following example displays the description of interfaces:
switch# show interface description
-------------------------------------------------------------------------------
Interface Description
-------------------------------------------------------------------------------
fc3/1 test intest
fc3/2 --
fc3/3 --
fc3/4 TE port
fc3/5 --
fc3/6 --
fc3/10 Next hop switch 5
fc3/11 --
fc3/12 --
fc3/16 --
-------------------------------------------------------------------------------
Interface Description
-------------------------------------------------------------------------------
port-channel 1 --
port-channel 5 --
port-channel 6 --
Examples
The following example displays a summary of information:
switch# show interface counters
fc3/1
5 minutes input rate 24 bits/sec, 3 bytes/sec, 0 frames/sec
5 minutes output rate 16 bits/sec, 2 bytes/sec, 0 frames/sec
3502 frames input, 268400 bytes
0 discards, 0 CRC, 0 unknown class
0 too long, 0 too short
3505 frames output, 198888 bytes
0 discards
1 input OLS, 1 LRR, 1 NOS, 0 loop inits
2 output OLS, 1 LRR, 1 NOS, 0 loop inits
1 link failures, 1 sync losses, 1 signal losses
.
.
.
fc9/8
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
0 frames input, 0 bytes
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards, 0 CRC, 0 unknown class
0 too long, 0 too short
0 frames output, 0 bytes
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
0 link failures, 0 sync losses, 0 signal losses
16 receive B2B credit remaining
3 transmit B2B credit remaining.
. . .
sup-fc0
114000 packets input, 11585632 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
113997 packets output, 10969672 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
mgmt0
31557 packets input, 2230860 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
26618 packets output, 16824342 bytes, 0 underruns
0 output errors, 0 collisions, 7 fifo
0 carrier errors
vsan1
0 packets input, 0 bytes, 0 errors, 0 multicast
0 packets output, 0 bytes, 0 errors, 0 dropped
.
.
.
port-channel 1
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
0 frames input, 0 bytes
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards, 0 CRC, 0 unknown class
0 too long, 0 too short
0 frames output, 0 bytes
0 class-2 frames, 0 bytes
0 class-3 frames, 0 bytes
0 class-f frames, 0 bytes
0 discards
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
0 output OLS, 0 LRR, 0 NOS, 0 loop inits
0 link failures, 0 sync losses, 0 signal losses
Note
|
Interfaces 9/8 and 9/9 are not trunking ports and display Class 2, 3, and F information as well.
|
Examples
The following example displays the brief counter information of interfaces:
switch# show interface counters brief
-------------------------------------------------------------------------------
Interface Input (rate is 5 min avg) Output (rate is 5 min avg)
----------------------------- -----------------------------
Rate Total Rate Total
Mbits/s Frames Mbits/s Frames
-------------------------------------------------------------------------------
fc3/1 0 3871 0 3874
fc3/2 0 3902 0 4232
fc3/3 0 3901 0 4138
fc3/4 0 3895 0 3894
fc3/5 0 3890 0 3897
fc9/8 0 0 0 0
fc9/9 0 5 0 4
fc9/10 0 4186 0 4182
fc9/11 0 4331 0 4315
-------------------------------------------------------------------------------
Interface Input (rate is 5 min avg) Output (rate is 5 min avg)
----------------------------- -----------------------------
Rate Total Rate Total
Mbits/s Frames Mbits/s Frames
-------------------------------------------------------------------------------
port-channel 1 0 0 0 0
port-channel 2 0 3946 0 3946
Examples
You can run the show
interface
transceiver command only on a switch in the Cisco MDS 9100 Series if the SFP is present, as show in the following example:
switch# show interface transceiver
fc1/1 SFP is present
name is CISCO-AGILENT
part number is QFBR-5796L
revision is
serial number is A00162193
fc-transmitter type is short wave laser
cisco extended id is unknown (0x0)
...
fc1/9 SFP is present
name is FINISAR CORP.
part number is FTRJ-1319-7D-CSC
revision is
serial number is H11A6ER
fc-transmitter type is long wave laser cost reduced
cisco extended id is unknown (0x0)
...
Examples
The following example displays the entire running configuration, with information about all the interfaces. The interfaces
have multiple entries in the configuration files to ensure that the interface configuration commands execute in the correct
order when the switch reloads.
switch# show running-config
...
interface fc9/1
switchport speed 2000
...
interface fc9/1
switchport mode E
...
interface fc9/1
channel-group 11 force
no shutdown
Examples
The following example displays the running configuration information for a specified interface. The interface configuration
commands are grouped together:
switch# show running-config interface fc1/1
interface fc9/1
switchport speed 2000
switchport mode E
channel-group 11 force
no shutdown
Displays the Running Configuration after the System Default Switchport Mode F Command is Executed displays the running configuration after the system
default
switchport
mode
F
command is executed.
Examples
The following example displays the running configuration after the system
default
switchport
mode
F
command is executed:
switch# show running-config
version 3.1(3)
system default switchport mode F
interface fc4/1
interface fc4/2
interface fc4/3
interface fc4/4
interface fc4/5
interface fc4/6
interface fc4/7
interface fc4/8
interface fc4/9
interface fc4/10
Examples
The following example displays the running configuration after two interfaces are individually configured for FL mode:
switch# show running-config
version 3.1(3)
system default switchport mode F
interface fc4/1
switchport mode FL
interface fc4/2
interface fc4/3
switchport mode FL
interface fc4/4
interface fc4/5
interface fc4/6
interface fc4/7
interface fc4/8
interface fc4/9
interface fc4/1
Examples
The following example displays interface information in a brief format after the system default switchport mode F command is executed:
switch# show interface brief
---------------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port Logical
Mode Trunk Mode Speed Channel Type
Mode (Gbps)
----------------------------------------------------------------------------------------
fc4/1 1 F -- notConnected swl -- -- --
fc4/2 1 F -- notConnected swl -- -- --
fc4/3 1 F -- notConnected swl -- -- --
fc4/4 1 F -- notConnected swl -- -- --
fc4/5 1 F -- sfpAbsent -- -- -- --
fc4/6 1 F -- sfpAbsent -- -- -- --
fc4/7 1 F -- sfpAbsent -- -- -- --
fc4/8 1 F -- sfpAbsent -- -- -- --
fc4/9 1 F -- sfpAbsent -- -- -- --
Examples
The following example displays interface information in a brief format after two interfaces are individually configured for
FL mode:
switch# show interface brief
----------------------------------------------------------------------------------------
Interface Vsan Admin Admin Status SFP Oper Oper Port Logical
Mode Trunk Mode Speed Channel Type
Mode (Gbps)
----------------------------------------------------------------------------------------
fc4/1 1 FL -- notConnected swl -- -- --
fc4/2 1 F -- notConnected swl -- -- --
fc4/3 1 FL -- notConnected swl -- -- --
fc4/4 1 F -- notConnected swl -- -- --
fc4/5 1 F -- sfpAbsent -- -- -- --
fc4/6 1 F -- sfpAbsent -- -- -- --
fc4/7 1 F -- sfpAbsent -- -- -- --
fc4/8 1 F -- sfpAbsent -- -- -- --
fc4/9 1 F -- sfpAbsent -- -- -- --
fc4/10 1 F -- sfpAbsent -- -- -- --