Table Of Contents
Show Commands
show config
show db-sync
show lft
show mft
show multicast
show neighbor
show node
show other-sm
show partition
show pm connection counters
show pm connection monitors
show pm cumulative counters
show pm cumulative error counters
show pm monitor config
show pm monitored ports
show pm port counter access
show pm port counters
show pm threshold
show port
show route
show route-around
show service
show sl-vl-mapping
show sl-vl-mapping-config
show span
show subscription
show switch
show version
show vl-arbitration
show vl-arbitration-config
Show Commands
This chapter includes the following commands::
•
show config
•
show db-sync
•
show lft
•
show mft
•
show multicast
•
show neighbor
•
show node
•
show other-sm
•
show partition
•
show pm connection counters
•
show pm connection monitors
•
show pm cumulative counters
•
show pm cumulative error counters
•
show pm monitor config
•
show pm monitored ports
•
show pm port counter access
•
show pm port counters
•
show pm threshold
•
show port
•
show route
•
show route-around
•
show service
•
show sl-vl-mapping
•
show sl-vl-mapping-config
•
show span
•
show subscription
•
show switch
•
show version
•
show vl-arbitration
•
show vl-arbitration-config
show config
To display the current values of various tunable subnet manager parameters and the current state of the Subnet Manager, use the show config command.
show config
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the results of the configuration commands that you use and to view the current state of the subnet manager.
Examples
==============================================================================
Subnet Manager Configuration
==============================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
guid : 00:05:ad:00:00:04:e5:25
sm-key : 00:00:00:00:00:00:00:00
response-timeout(msec) : 200
master-poll-interval(sec) : 3
wait-report-response : false
qos-admin-state : disabled
max-operational-vl : auto-link
min-vl-cap-detected : vl0-v17
Related Commands
This command relates to many commands in the Configure Commands chapter.
show db-sync
To display the current configuration and status of the database synchronization (db-sync) feature, use the show db-sync command.
show db-sync [sm-list]
Syntax Description
sm-list
|
(Optional) Displays the list of all standby subnet managers that are selected to synchronize with the master subnet manager.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to determine the status and control parameters of the Database Synchronization feature.
Examples
================================================================================
DB Sync Configuration and Status
================================================================================
session-timeout(sec) : 10
cold-sync-timeout(sec) : 10
cold-sync-period(sec) : 900
new-session-delay(sec) : 120
resync-interval(sec) : 3600
ib_sm> show db-sync sm-list
================================================================================
================================================================================
port-guid : 00:05:ad:00:00:01:29:ab
session-timeout-current(sec) : 10
poll-interval-current(sec) : 3
new-session-delay-current(sec) : 120
resync-interval-current(sec) : 3027
Related Commands
config db-sync cold-sync-limit, page 3-4
config db-sync cold-sync-period, page 3-5
config db-sync cold-sync-timeout, page 3-6
config db-sync disable, page 3-7
config db-sync enable, page 3-8
config db-sync max-dbsync-sms, page 3-9
config db-sync new-session-delay, page 3-10
config db-sync poll-interval, page 3-11
config db-sync resync-interval, page 3-12
config db-sync session-timeout, page 3-13
show lft
To display the contents of the linear forwarding tables on switches in the subnet, use the show lft command.
show lft [-n guid] [-l lid] [-q]
Syntax Description
-n
|
(Optional) Displays only the linear forwarding table for the switch with the specified GUID.
|
guid
|
(Optional) Specifies a switch.
|
-l
|
(Optional) Displays only the linear forwarding table for the specified LID.
|
lid
|
(Optional) Specifies a LID.
|
-q
|
(Optional) Queries actual switches in the network and shows the result instead of displaying the internal cached copy of the data in the Subnet Manager.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the linear forwarding table for each switch node.
Examples
================================================================================
================================================================================
00:05:ad:00:00:01:60:04 2 0
00:05:ad:00:00:01:60:04 3 1
00:05:ad:00:00:01:60:04 889 18
00:05:ad:00:00:01:60:04 897 17
00:05:ad:00:00:01:60:04 905 5
00:05:ad:00:00:01:60:04 913 6
Related Commands
show node
show mft
To display the multicast forwarding tables on switches in the subnet, use the show mft command.
show mft [-n guid] [-l mlid] [-q]
Syntax Description
-n
|
(Optional) Displays only the MFT for the switch with the specified GUID.
|
guid
|
(Optional) Specifies a switch.
|
-l
|
(Optional) Displays only the MFT for the specified multicast LID.
|
mlid
|
(Optional) Specifies a MLID.
|
-q
|
(Optional) Queries the actual switches in the network and shows the results instead of displaying the copy of the data cached internally in the Subnet Manager.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the multicast forwarding table for each switch node.
Examples
================================================================================
Multicast Forwarding Table
================================================================================
node-guid mlid port-mask(0, 1, 2 ...)
--------- ---- ----------------------
00:05:ad:00:00:01:60:04 49152 0x60 0x4
00:05:ad:00:00:01:60:04 49153 0x60 0x4
Related Commands
show node
show multicast
To display the multicast groups in the subnet, use the show multicast command.
show multicast [-s] [-m gid]
Syntax Description
-s
|
(Optional) Displays only a summary for each multicast group. The summary includes group details but not group members.
|
-m
|
(Optional) Displays only the multicast group specified by gid.
|
gid
|
(Optional) Specifies the Global ID of the multicast group to display.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the multicast groups in the subnet.
Examples
================================================================================
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
mgid : ff:12:40:1b:ff:ff:00:00:00:00:00:00:00:00:00:01
multicast-group-members :
port-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:04:e5:1d
port-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:04:e5:25
port-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:04:e5:65
subnet-prefix : fe:80:00:00:00:00:00:00
mgid : ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
multicast-group-members :
port-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:04:e5:1d
port-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:04:e5:25
port-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:04:e5:65
Related Commands
config multicast-group-ib create, page 3-25
config multicast-group-ib delete, page 3-27
config multicast-group-ipoib create, page 3-28
config multicast-group-ipoib delete, page 3-30
show neighbor
To display the neighbors in the subnet so that you can describe the physical topology of the subnet, use the show neighbor command.
Note
In an InfiniBand fabric, neighbors are two ports connected by a link.
show neighbor [-s] [-c [chassis_guid]] | [-n node_guid]
Syntax Description
-s
|
(Optional) Displays a summary line per neighbor.
|
-c
|
(Optional) Displays inter-chassis links only.
|
chassis_guid
|
(Optional) Specifies the specific chassis to display.
|
-n
|
(Optional) Displays only links that connect to a given node.
|
node_guid
|
(Optional) Specifies the node to display.
|
Note
A chassis GUID is the unique GUID that identifies a chassis. It is based on the system image GUID of any switch node inside the chassis, with the fifth byte zeroed.
Defaults
This command has no default settings.
Usage Guidelines
Use this command to determine which devices directly connect to one another.
If the [-c [chassis-guid]] option is given, only inter-chassis links are shown.
Examples
================================================================================
Subnet Management Neighbor List
================================================================================
local-node-guid : 00:05:ad:00:00:01:60:04
remote-node-guid : 00:05:ad:00:00:04:e5:1c
local-node-guid : 00:05:ad:00:00:01:60:04
remote-node-guid : 00:05:ad:00:00:04:e5:64
Related Commands
show node
show route
show node
To display information about one node in the subnet (a switch, a channel adapter, or a router) or all nodes, use the show node command.
show node [-s] [-n guid]
Syntax Description
-s
|
(Optional) Provides a summary line for each node.
|
-n
|
(Optional) Provides information for only the node with the specified GUID.
|
guid
|
(Optional) Node GUID, in hexadecimal notation, of the single node to view.
|
Defaults
Shows the node information of all switch, channel adapter, and router nodes discovered in the fabric.
Usage Guidelines
Use this command to view the switches and hosts on the network.
Examples
================================================================================
================================================================================
system-image-guid : 00:05:ad:03:01:01:60:04
node-guid : 00:05:ad:00:00:01:60:04
description : Cisco Switch SFS7000
port-guid : 00:05:ad:00:00:01:60:04
mirror-capable : slvl-map, mirroring
system-image-guid : 00:05:ad:00:00:04:e4:4f
node-guid : 00:05:ad:00:00:04:e4:4c
description : ibmg-r2-1850-2.cisco.com HCA-1 (Topspin HCAe)
port-guid : 00:05:ad:00:00:04:e4:4d
mirror-capable : no-mirroring
Related Commands
show neighbor
show other-sm
To display other subnet managers in the subnet, use the show other-sm command.
show other-sm [-p port-guid] [-s]
Syntax Description
-p
|
(Optional) Displays only an Subnet Manager on the specified port.
|
port-guid
|
(Optional) Displays the 64-bit GUID of the port to which a Subnet Manager is bound.
|
-s
|
(Optional) Displays a summary of the output.
|
Defaults
This command has no default settings.
Usage Guidelines
When you run this command on the master subnet manager, all other Subnet Managers appear in the output. When you run this command on a standby Subnet Manager, only the master Subnet Manager appears in the output.
Examples
================================================================================
Subnet Managers in the subnet
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
port-guid : 00:05:ad:00:00:01:60:04
sm-key : 00:00:00:00:00:00:00:00
Related Commands
show config
show db-sync
show node
show partition
To display the partitions in the subnet, use the show partition command.
show partition [-s] [-k p_key] [-n guid [-p port]]
Syntax Description
-s
|
(Optional) Displays only a three-line summary for each partition.
|
-k
|
(Optional) Displays only information on a given partition key.
|
p_key
|
(Optional) Identifies the partition key to display.
|
-n
|
(Optional) Displays partition keys only for the node given.
|
guid
|
(Optional) Identifies the node to display.
|
-p
|
(Optional) Displays partition keys only for the port given.
|
port
|
(Optional) Identifies the port to display.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the partitions on the subnet.
Examples
================================================================================
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
node-guid : 00:05:ad:00:00:04:e4:4c
node-guid : 00:05:ad:00:00:04:e5:1c
Related Commands
config partition key, page 3-32
config partition key ipoib, page 3-34
config partition member add, page 3-36
config partition member remove, page 3-37
config partition member type, page 3-38
show pm connection counters
To display all port counters for ports along a given path, use the show pm connection counters command.
show pm connection counters src-lid dst-lid
Syntax Description
src-lid
|
Specifies the source LID of the path.
|
dst-lid
|
Specifies the destination LID of the path.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to display counters on one path.
Examples
ib_sm> show pm connection counters 904 888
================================================================================
PM Port Counters for specified connection
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:04:e5:1c
chassis-guid : 00:00:00:00:00:00:00:00
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 2
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 17
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:04:e5:24
chassis-guid : 00:00:00:00:00:00:00:00
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
Related Commands
config pm connection monitor, page 3-40
show pm connection monitors
To display the connections that the PM is currently monitoring, use the show pm connection monitors command.
show pm connection monitors [-s src-lid -d dst-lid]
Syntax Description
-s
|
(Optional) Displays only monitors from a specified source LID.
|
src-lid
|
(Optional) Specifies a source LID.
|
-d
|
(Optional) Displays only monitors from a specified destination LID.
|
dst-lid
|
(Optional) Specifies a destination LID.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this display to view monitored connections.
Examples
ib_sm> show pm connection monitors
================================================================================
All PM Monitored Connections
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
error-status : not exceeded
utilization-status : exceeded
node-guid : 00:05:ad:00:00:04:e5:1c
chassis-guid : 00:00:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:04:e5:24
chassis-guid : 00:00:00:00:00:00:00:00
Related Commands
config pm connection monitor, page 3-40
show pm cumulative counters
To display the cumulative counters for the monitored ports in the network, use the
show pm cumulative counters command.
show pm cumulative counters [-n guid [-p port]]
Syntax Description
-n
|
(Optional) Displays counters only for a specified node.
|
guid
|
(Optional) Specifies a node.
|
-p
|
(Optional) Displays counters only for a specified port.
|
port
|
(Optional) Specifies a port.
|
Defaults
This command has no default settings.
Usage Guidelines
Unlike the show pm port counters command, the cumulative counters do not latch at 32-bits; they are all 64-bit quantities. The counters can be seen on port 5 in the example output.
Examples
ib_sm> show pm cumulative counters -n 00:05:ad:00:00:01:60:04
================================================================================
All PM Cumulative Port Counters for specified node
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
error-status : not exceeded
utilization-status : not exceeded
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
error-status : not exceeded
utilization-status : exceeded
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
error-status : not exceeded
utilization-status : not exceeded
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
Related Commands
config pm monitor state, page 3-44
show pm cumulative error counters
To display the cumulative counters for ports that have exceeded the monitored threshold on any field, use the show pm cumulative error counters command.
show pm cumulative error counters [-n guid [-p port]]
Syntax Description
-n
|
(Optional) Displays counters only for a specified node.
|
guid
|
(Optional) Specifies a node.
|
-p
|
(Optional) Displays counters only for a specified port.
|
port
|
(Optional) Specifies a port.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the cumulative number of counters on ports.
Examples
ib_sm> show pm cumulative error counters
================================================================================
All PM Cumulative Error Port Counters
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
error-status : not exceeded
utilization-status : exceeded
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
error-status : not exceeded
utilization-status : exceeded
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
Related Commands
config pm monitor state, page 3-44
config pm threshold, page 3-47
show pm monitor config
To display the PM monitoring configuration, use the show pm monitor config command.
show pm monitor config
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Usage Guidelines
The configuration values displayed are state, poll-interval, and start-delay.
Examples
ib_sm> show pm monitor config
================================================================================
================================================================================
state : enabled-cisco-switches
poll-interval : 30 seconds
Related Commands
config pm monitor poll-interval, page 3-42
config pm monitor start-delay, page 3-43
config pm monitor state, page 3-44
show pm monitored ports
To display a list of ports that the user has explicitly configured to be monitored by the PM, use the show pm monitored ports command.
show pm monitored ports [-n guid [-p port]]
Syntax Description
-n
|
(Optional) Displays ports only for a specified node.
|
guid
|
(Optional) Specifies a node.
|
-p
|
(Optional) Displays only a specified port.
|
port
|
(Optional) Specifies a port.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to display monitored ports.
Examples
ib_sm> show pm monitored ports
================================================================================
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:04:e5:64
Related Commands
config pm monitored port, page 3-45
show pm port counter access
To identify if access to PM port counters is enabled or disabled, use the show pm port counter access command.
show pm port counter access
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Usage Guidelines
Access appears as enabled or disabled.
Examples
ib_sm> show pm port counter access
================================================================================
================================================================================
port-counter-access : enabled
Related Commands
config pm port counter access, page 3-46
show pm port counters
To display port counters in the network, use the show pm port counters command.
show pm port counters [-n guid [-p port]]
Syntax Description
-n
|
(Optional) Displays counters for a specified node only.
|
guid
|
(Optional) Specifies a node with a node guid.
|
-p
|
(Optional) Displays counters for a specified port only.
|
port
|
(Optional) Specifies a port with a port number.
|
Defaults
No default behavior or values.
Usage Guidelines
This command shows all counters that the user requests (unless the -n and possibly -p options are given).
Examples
ib_sm> show pm port counters -n 00:05:ad:00:00:01:60:04
================================================================================
All PM Port Counters for specified node
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 60
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 2
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 9
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
chassis-guid : 00:05:ad:03:00:01:60:04
rcv-remote-phy-errors : 0
rcv-switch-relay-errors : 0
xmit-constraint-errors : 0
rcv-constraint-errors : 0
local-link-integrity-errors : 0
excessive-buf-overrun-errors : 0
Related Commands
config pm port counter access, page 3-46
show pm threshold
To display details of ports in the subnet, use the show pm threshold command.
show pm threshold
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Usage Guidelines
If the command displays "none," no threshold has been set.
Examples
================================================================================
================================================================================
link-recovery-errors : none
rcv-remote-phy-errors : none
rcv-switch-relay-errors : none
xmit-constraint-errors : none
rcv-constraint-errors : none
local-link-integrity-errors : none
excessive-buf-overrun-errors : none
Related Commands
config pm threshold, page 3-47
show port
To display InfiniBand port information for one port or all ports on one node or all ports of all nodes in the IB subnet, use the show port command.
show port [-s] [-n guid [-p port]]
Syntax Description
-s
|
(Optional) Prints a summary line for each port.
|
-n
|
(Optional) Prints only information for the node specified by guid.
|
guid
|
(Optional) Specifies the one node for which the command displays information.
|
-p
|
(Optional) Prints only information for the port specified by port.
|
port
|
(Optional) Specifies the one port for which the command displays information.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the attributes of the ports on the network.
Examples
================================================================================
Subnet Manager Port Summary
================================================================================
node-guid port lid state link
--------------------------------------------------------------------------------
00:05:ad:00:00:00:18:5d 0 20 active 4x-sdr
00:05:ad:00:00:00:18:5d 1 0 active 4x-sdr
00:05:ad:00:00:00:18:5d 2 0 down 4x-sdr
00:05:ad:00:00:00:18:5d 3 0 down 4x-sdr
00:05:ad:00:00:00:18:5d 4 0 down 4x-sdr
00:05:ad:00:00:00:18:5d 5 0 down 4x-sdr
00:05:ad:00:00:00:18:5d 6 0 down 4x-sdr
Related Commands
show neighbor
show node
show route
To display the switches that data traverses on the path from one LID to another, use the show route command.
show route {[-s] [-c] src-lid dst-lid | list}
Syntax Description
-s
|
(Optional) Displays summarized output in tabular format
|
-c
|
(Optional) Displays the switch chassis instead of the individual switch chips.
|
src-lid
|
Specifies the source LID of the path.
|
dst-lid
|
Specifies the destination LID of the path.
|
list
|
Displays a summary list of all routes.
|
Note
A chassis GUID is the unique GUID that identifies a chassis. It is based on the system image GUID of any switch node inside the chassis, with the fifth byte zeroed.
Defaults
This command has no default settings.
Usage Guidelines
Use this command to track the switches that data traverses on a path.
Examples
00:05:ad:00:00:03:2e:60 1 21 active 4x-sdr
00:05:ad:00:00:03:2e:60 2 22 active 4x-sdr
00:05:ad:00:00:04:82:bc 1 825 active 4x-sdr
ib_sm> show route -c -s 825 22
================================================================================
SM Route Chassis Summary View
================================================================================
chassis-guid input-port output-port
--------------------------------------------------------------------------------
00:06:6a:08:00:00:01:0b 10/5 2/6
00:05:ad:03:00:00:18:5d 1/1 1/12
ib_sm> show route -s 825 22
================================================================================
SM Switch Route Summary View
================================================================================
node-guid input-port output-port input-rate output-rate
--------------------------------------------------------------------------------
00:06:6a:00:01:00:01:e6 5 16 10 gbps 10 gbps
00:06:6a:00:04:00:01:52 22 19 10 gbps 10 gbps
00:06:6a:00:01:00:02:30 13 6 10 gbps 10 gbps
00:05:ad:00:00:00:18:5d 1 12 10 gbps 10 gbps
================================================================================
================================================================================
node-guid : 00:06:6a:00:01:00:01:e6
node-guid : 00:06:6a:00:04:00:01:52
node-guid : 00:06:6a:00:01:00:02:30
node-guid : 00:05:ad:00:00:00:18:5d
Related Commands
show neighbor
show route-around
To show the route-around entries that have been configured by the user, use the show route-around command.
show route-around [-s] [-c chassis-guid] [-n node-guid [-p port]]
Syntax Description
-s
|
(Optional) Displays a summary of route-around entries.
|
-c
|
(Optional) Displays only the entry with the matching chassis GUID.
|
chassis-guid
|
(Optional) Displays the ID of the specified chassis.
|
-n
|
(Optional) Displays the specified node.
|
node-guid
|
(Optional) Displays only the entry with the matching node GUID.
|
-p
|
(Optional) Displays the specified port.
|
port
|
(Optional) Displays only the entry with the matching port GUID.
|
Note
A chassis GUID is the unique GUID that identifies a chassis. It is based on the system image GUID of any switch node inside the chassis, with the fifth byte zeroed.
Defaults
This command has no default values.
Usage Guidelines
Use this command to show the route-around entries that have been configured.
Examples
================================================================================
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
chassis-guid : 00:05:ad:00:01:00:d0:50
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:0c:1d
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:0c:19
Related Commands
config route-around chassis, page 3-52
config route-around node, page 3-53
config route-around port, page 3-54
show service
To show the IB services available to the subnet, use the show service command.
show service [-s] [-i svc-id | -g svc-gid | -p p_key]
Syntax Description
-s
|
(Optional) Displays a summary line for each service.
|
-i
|
(Optional) Displays only services with a specified service ID.
|
svc-id
|
(Optional) Specifies a service ID.
|
-g
|
(Optional) Displays only services with a specified port GID.
|
svc-gid
|
(Optional) Specifies a port GID.
|
-p
|
(Optional) Displays only services with a specified partition key.
|
p_key
|
(Optional) Specifies a partition key.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the services that run on your subnet.
Examples
================================================================================
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
service-id : 10:00:0c:e1:00:41:54:53
service-gid : fe:80:00:00:00:00:00:00:00:05:ad:00:00:00:16:61
service-lease : indefinite
service-key : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
service-name : DAPL Address Translation Service
data-8 : 00:00:00:00:00:00:00:00:00:00:00:00:c0:a8:00:53
data-16 : 0000:0000:0000:0000:0000:0000:0000:0000
data-32 : 00000000:00000000:00000000:00000000
data-64 : 0000000000000000:0000000000000000
Related Commands
show node
show sl-vl-mapping
To display the SL-to-VL mapping tables of ports in the subnet, use the show sl-vl mapping command.
show sl-vl-mapping [-n node-guid [-p port-num]] [-s]
Syntax Description
-n
|
(Optional) Displays the mapping tables for the ports of a given node.
|
node-guid
|
(Optional) Specifies the GUID of a node.
|
-p
|
(Optional) Displays the mapping table for the given port.
|
port-num
|
(Optional) Specifies a port number.
|
-s
|
(Optional) Displays the programming status of the SL-to-VL mapping tables.
|
Command Default
This command has no default settings.
Usage Guidelines
This command displays the SL-to-VL mapping tables of ports in the subnet.
Examples
ib_sm> show sl-vl-mapping -n 00:05:ad:00:00:01:29:aa
================================================================================
================================================================================
node-guid input-port/output-port sl vl
--------------------------------------------------------------------------------
00:05:ad:00:00:01:29:aa 1/1 0 0
00:05:ad:00:00:01:29:aa 1/1 1 1
00:05:ad:00:00:01:29:aa 1/1 2 2
00:05:ad:00:00:01:29:aa 1/1 3 3
00:05:ad:00:00:01:29:aa 1/1 4 4
00:05:ad:00:00:01:29:aa 1/1 5 5
00:05:ad:00:00:01:29:aa 1/1 6 6
00:05:ad:00:00:01:29:aa 1/1 7 7
00:05:ad:00:00:01:29:aa 1/1 8 0
00:05:ad:00:00:01:29:aa 1/1 9 1
00:05:ad:00:00:01:29:aa 1/1 10 2
00:05:ad:00:00:01:29:aa 1/1 11 3
00:05:ad:00:00:01:29:aa 1/1 12 4
00:05:ad:00:00:01:29:aa 1/1 13 5
00:05:ad:00:00:01:29:aa 1/1 14 6
00:05:ad:00:00:01:29:aa 1/1 15 7
Related Commands
config sl-vl-mapping oper-vl add, page 3-57
config sl-vl-mapping oper-vl apply, page 3-59
config sl-vl-mapping oper-vl delete, page 3-60
show sl-vl-mapping-config
show sl-vl-mapping-config
To display the user-provisioned SL-to-VL mapping profiles, use the show sl-vl-mapping-config command.
show sl-vl-mapping-config [-s]
Syntax Description
-s
|
(Optional) Displays the summary view of the SL- to-VL mapping profiles that are configured.
|
Command Default
This command has no default settings.
Usage Guidelines
This command displays the user-provisioned SL-to-VL mapping profiles.
Examples
ib_sm> show sl-vl-mapping-config -s
==============================================================================
SL To VL Mapping Profiles Summary View
==============================================================================
status : configuration in progress
Related Commands
config sl-vl-mapping oper-vl add, page 3-57
config sl-vl-mapping oper-vl apply, page 3-59
config sl-vl-mapping oper-vl delete, page 3-60
show sl-vl-mapping
show span
To show the port SPANs that are configured by the user, use the show span command.
show span [-s]
Syntax Description
-s
|
(Optional) Displays a summary view of each configured SPAN.
|
Command Default
This command has no default settings.
Usage Guidelines
This command shows the port SPANs that are configured by the user, and it shows the port SPAN status.
When a SPAN is in the inactive state, the reason is listed in the state-detail field. The reasons in state-detail include the following:
•
Pending-configuration—Subnet Manager is processing the request.
•
Path-not-found—SPAN is in inactive state due to either the src-port or the dst-port of the SPAN is not in active state or has a user configured route-around on it.
•
SM-node-neighbor—Node connected to either the src-port or the dst-port has a Subnet Manager running on it.
•
Non-HCA-neighbor—Node connected to either the src-port or the dst-port is not an HCA.
•
Non-switch-node—Node GUID specified for the SPAN is not an IB switch node.
•
Mirror-incapable-node—Node GUID specified for the SPAN is not capable of mirroring packets.
Examples
================================================================================
================================================================================
src-node-guid : 00:05:ad:00:00:00:18:5d
dst-node-guid : 00:05:ad:00:00:00:18:5d
================================================================================
================================================================================
src-node-guid src-port dst-node-guid dst-port state
================================================================================
00:05:ad:00:00:00:18:5d 17 00:05:ad:00:00:00:18:5d 19 active
Related Commands
config span, page 3-62
show subscription
To display the ports in the subnet that have subscribed with the Subnet Manager for event notifications, use the show subscription command.
show subscription [-s] [-l lid | -n guid]
This command shows which ports in the subnet have subscribed for event notifications with the Subnet Manager.
Syntax Description
-s
|
(Optional) Displays a summary.
|
-l
|
(Optional) Displays subscriptions only for the port with the specified LID.
|
lid
|
(Optional) Specifies a LID.
|
-n
|
(Optional) Displays subscriptions only for ports on the specified node.
|
guid
|
(Optional) Specifies a node.
|
Defaults
This command has no default settings.
Usage Guidelines
This command shows which endports in the network have subscribed for events. In the example below, SRP has requested out-of-service events to know when endports have gone from the subnet. Note that the lid-range-begin value of 65535 (0xFFFF) indicates that the subscription covers all LIDs in the network.
Examples
================================================================================
All Subscriptions
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:04:e4:4c
gid : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
producer-type : class-mgr
Related Commands
show node
show switch
To display the IB SwitchInfo for a switch (or all switches) in the IB subnet, use the show switch command.
show switch [-s] [-n guid]
Syntax Description
-s
|
(Optional) Displays a summary line for each switch.
|
-n
|
(Optional) Displays only information for the node represented by guid.
|
guid
|
(Optional) Specifies a single node to display.
|
Defaults
This command has no default settings.
Usage Guidelines
Use this command to view the switches in your network.
Examples
================================================================================
Subnet Management Switches
================================================================================
subnet-prefix : fe:80:00:00:00:00:00:00
node-guid : 00:05:ad:00:00:01:60:04
def-non-pri-mcast-port : 255
in-filter-raw-pkt-cap : 1
out-filter-raw-pkt-cap : 1
Related Commands
show neighbor
show node
show version
To show the version number of the HSM, use the show version command.
show version
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Usage Guidelines
This command shows the version of the High-Performance Subnet Manager application only. For versions of host firmware, host-side drivers, and switch OS, consult your SFS documentation.
Examples
Cisco High-Performance IB Subnet Manager 1.2.0.
Related Commands
None.
show vl-arbitration
To display the VL arbitration tables of ports in the subnet, use the show vl-arbitration command.
show vl-arbitration [-n node-guid [-p port-num] ] [-s]
Syntax Description
-n
|
(Optional) Displays the VL arbitration tables for the ports of a given node.
|
node-guid
|
(Optional) Specifies the GUID of a node.
|
-p
|
(Optional) Displays the arbitration table for the given port.
|
port-num
|
(Optional) Specifies the port number.
|
-s
|
(Optional) Displays the summary view of arbitration VL tables.
|
Command Default
This command has no default settings.
Usage Guidelines
This command enables you to view the VL-arbitration tables that are programmed on ports in the subnet.
Examples
ib_sm> show vl-arbitration -n 00:05:ad:00:00:00:15:02
==============================================================================
==============================================================================
node-guid : 00:05:ad:00:00:00:15:02
Related Commands
config vl-arbitration add, page 3-68
config vl-arbitration apply, page 3-70
config vl-arbitration delete, page 3-71
show vl-arbitration-config
show vl-arbitration-config
To view the user-provisioned VL-arbitration profiles, use the show vl-arbitration-config command.
show vl-arbitration-config [-scope subnet | node | port] [-s]
Syntax Description
-scope
|
(Optional) Displays the profiles with the indicated scope.
|
subnet
|
(Optional) Specifies the subnet in the scoped profile.
|
node
|
(Optional) Specifies a node in the scoped profile.
|
port
|
(Optional) Specifies a port in the scoped profile.
|
-s
|
(Optional) Displays a summary view of the configured arbitration profiles.
|
Command Default
This command has no default settings.
Usage Guidelines
This command displays the user-provisioned VL arbitration profiles.
Examples
ib_sm> show vl-arbitration-config -s
==============================================================================
VL Arbitration Profiles Summary View
==============================================================================
status : configuration in progress
node-guid : 00:05:ad:00:00:01:29:aa
status : configuration in progress
node-guid : 00:05:ad:00:00:01:29:ad
status : configuration done
node-guid : 00:05:ad:00:00:02:5b:59
status : configuration in progress
Related Commands
config vl-arbitration add, page 3-68
config vl-arbitration apply, page 3-70
config vl-arbitration delete, page 3-71
show vl-arbitration