Command Groups
From DocWiki
FACT Commands
This section lists the FACT commands, grouped by function for those who prefer a structured organization. For a complete description of all commands in an alphabetical listing, see Commands.
Table 1 lists the commands that scan the managed-nodes of the network.
Table 1: Scanning Commands
| Command Name | Function |
|---|---|
| scan fabric | Scans the static connectivity of the subnet and collects information from and about the Subnet Managers. |
| scan fabric all | Scans the static connectivity of the subnet and collects routing information, raw port counter information, monitored port counter information, and threshold-exceeded port counter information from the Subnet Manager. |
| scan tech-support | Collects diagnostic information about the network. |
| select | Selects the current scan. |
Table 2 lists the commands that manage the repository.
Table 2: Repository Management Commands
| delete scans | Deletes all specified scans. |
| export repository | Makes a copy of the specified repository and saves a copy of the FACT repository in a file. |
| export scan | Exports the current scan to a file. |
| import repository | Replaces the existing repository with the one that is currently in the file. |
| import scan | Imports a scan from a file to the repository. |
| select | Selects the current scan. |
| show history | Shows all scans in the repository. |
Table 3 lists the commands that work with any scan, even an incomplete scan.
Table 3: Low-Level Display Commands
| show subnet-managers | Shows the Subnet Managers in the current scan. |
| show versions | Shows the scan versions of the specified managed-nodes. |
Table 4 lists the commands that show information about any scan.
Table 4: Subnet-Level Display Commands
| show chassis | Shows information about the chassis in the current scan. |
| show chips | Shows information about switch chips in the current scan. |
| show isolated managed-nodes | Shows the switches and hosts that are not part of the network. |
| show multicast groups | Shows the multicast groups in the current scan. |
| show ports | Shows the state of the ports in a given switch or an entire network. |
Table 5 lists the commands that show information about a route scan.
Table 5: Route-Level Display Commands
| Command Name | Function |
|---|---|
| show destinations | Shows the unicast destinations that are forwarded through each specified egress port. |
| show egress ports | Shows the egress ports that forward unicast traffic to each specified destination port. |
| show multicast destinations | Shows the multicast destinations that are forwarded through each specified egress port. |
| show multicast egress ports | Shows the egress ports that forward multicast traffic to each specified destination port. |
| show routes | Shows the unicast routes from each port in the source set to each port in the destination set. |
Table 6 lists the commands that show information about port counter displays.
Table 6: Port Counter Display Commands
| Command Name | Function |
|---|---|
| show show counters monitored | Shows monitored port counters. |
| show show counters raw | Shows raw port counters. |
| show show counters threshold | Shows port counters that have exceeded their error thresholds. |
Table 7 lists the command that compares two scans.
Table 7: History Display Commands
| Command Name | Function |
|---|---|
| show changes scan | Compares the current scan with any specified scan in the repository. |
Table 8 lists the commands that are used to administer or manage the network.
Table 8: Fabric Maintenance Commands
| Command Name | Function |
|---|---|
| disable ports | Disables one or more ports on a switch. |
| enable ports | Enables one or more ports on a switch. |
| install | Installs new firmware on a switch. |
| ports speed | Sets the width and speed of a single port or multiple ports in a network. |
| reset port-counters | Resets all port counters to zero. |
Table 9 lists the commands used to analyze, display, annotate information in log files.
Table 9: Log Analysis Commands
| annotate | Annotates one or more syslog files and prints them to the screen with annotations attached. |
Table 10 lists the miscellaneous commands.
Table 10: Miscellaneous Commands
| exit | Discontinues the current session with FACT. |
| help | Lists a summary of the complete FACT command grammar. |