ユーザー実行モードから show interface コマンドを実行します。このコマンドはインターフェイス情報を表示します。引数を入力せずにこのコマンドを実行すると、スイッチ内に設定されたすべてのインターフェイスの情報が表示されます。
次の例は、インターフェイスのステータスを表示しています。
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
インターフェイスの情報を表示するときには、引数(インターフェイスの範囲、または複数のインターフェイス)を指定することもできます。次の形式でコマンドを入力して、インターフェイスの範囲を指定できます。
interface fc1/1 - 5 , fc2/5 - 7
Note |
ダッシュ(-)とカンマ(,)の前後にはスペースが必要です。
|
Examples
次の例では、インターフェイスの範囲のステータスを表示します。
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
次の例は、指定したインターフェイスのステータスを表示しています。
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
次の例は、インターフェイスの説明を表示しています。
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
次の例は、情報のサマリを表示しています。
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
Examples
次の例は、情報のサマリを表示しています。
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 |
インターフェイス 9/8 および 9/9 は、トランキング ポートではなく、クラス 2、3、および F 情報を表示します。
|
Examples
次の例では、インターフェイスの簡単なカウンタ情報を表示します。
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
次の例に示すように、SFP が存在する場合は、Cisco MDS 9100 シリーズのスイッチでのみ show interface transceiver コマンドを実行できます。
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
次の例では、すべてのインターフェイスに関する情報とともに、実行構成全体を表示します。スイッチがリロードしたとき、インターフェイス コンフィギュレーション コマンドが正しい順序で実行するように、インターフェイスはコンフィギュレーション ファイルに複数のエントリを持っています。
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
次の例では、指定したインターフェイスの実行構成情報を表示します。インターフェイス構成コマンドはグループ化されています。
switch# show running-config interface fc1/1
interface fc9/1
switchport speed 2000
switchport mode E
channel-group 11 force
no shutdown
システム デフォルトのスイッチポート モード F コマンドの実行後に、実行構成を表示する は、system default switchport mode F コマンドを実行した後で、実行構成を表示します。
Examples
次の例は、system default switchport mode F コマンドを実行した後で、実行構成を表示します。
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
次の例は、2 つのインターフェイスが FL モード用に個別に設定された後の実行構成を示しています。
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
次の例では、system default switchport mode F コマンドの実行後にインターフェイス情報を要約形式で表示します。
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
次の例では、2 つのインターフェイスを個別に FL モードに構成した後、インターフェイス情報を要約形式で表示します。
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 -- -- -- --