|
Use the show command to display the value of a specified parameter of a LightStream 2020 multiservice ATM switch (LS2020 switch), or to display the state of the CLI program. The first argument of the command defines families of show commands. The command families are given in the following list, together with the titles of the sections of this chapter in which they are discussed:
show bflt show ipflt show ipxflt |
|
show card | |
show chassis | |
show cli | |
show collection | |
show config | |
show file | |
show gid | |
show mcast | |
show modem | |
show nd | |
show nettime | |
show pid | |
show port | |
show snmp | |
show spt show stb |
|
show tcs | |
show tprof | |
show trap |
Use the commands of this family to display traffic filters created with the define command. See also the show tprof command for traffic profiles and the show mcast command for multicast groups.
Use the show bflt [ID] command to display bridge traffic filter conditions or profiles created with the define bflt command.
Use the optional ID argument to limit the display to the filter or traffic profile specified by ID. By default, all currently defined filters or traffic profiles are displayed.
Use the show ipflt [ID] command to display traffic filters or profiles created with the define ipflt command.
Use the optional ID argument to limit the display to the filter or traffic profile specified by ID. By default, all currently defined filters or traffic profiles are displayed.
Use the show ipxflt [ID] command to display traffic filters or profiles created with the define ipxflt command.
Use the optional ID argument to limit the display to the filter or traffic profile specified by ID. By default, all currently defined filters or traffic profiles are displayed.
Use the commands of the show card family to display per-card attributes.
In these commands, the first argument, card#, is a card number. Use the show chassis cards command to display card numbers.
Use the show card card# all command to display all card attributes (including name, process ID, status, version, hardware information, peak cell rate, and information about configured ports). Use the other parameter arguments to specify selected parts of this display.
Use the show card card# hardware command to display (1) the card type (for example, LS edge), (2) temperature readings at the top and bottom of the chassis, (3) Voltages for TCS VCC, VCC, and Vee (or SCSI voltage for NP, BULK voltage for switch card), and (4) temperature readings from Region 1 of an access card, and from Region 2 if applicable.
You may also use the show tcs card# voltage command to display voltages and the show tcs card# temperature to display temperature readings. The output of these show tcs commands includes the normal range for each voltage reading, and the warning and shutdown values for each temperature reading.
Use the show card card# name command to display the card name.
Normally, you set this string in a field of the StreamView graphical configuration tool. If you must set it in the CLI, use the setsnmp cardname.card# name command, where card# is the card number and name is an arbitrary string. Use of a consistent name format, such as hostname.card#, is convenient for administrative purposes.
Use the show card card# peak-cell-rate command to display the peak cell rate on a CLC card configured for 4-port T3/E3 trunk or 1-port OC-3 trunk operation.
Use the show card card# ports command to display information about each port configured on the card: the port number, the protocol used (for example, Frame Relay or CLC Trunk), the port name, and the administrative and operational status. The port name is an arbitrary string set with the command setsnmp portInfoName.portID name, where portID is the port number in long format ccctpp (see the chapter entitled "LightStream 2020 MIB Reference"). You may wish to establish a naming convention for administrative convenience, such as the name format hostname.c.p, where c is the card number and p is the port number.
The following example shows how to determine what ports are configured on card 3 on the switch that you are interrogating.
Note that ports 4, 5, 6, and 7 on card 3 are configured; it is only the card name that is unconfigured.
Use the show card card# processid command to display the process ID associated with the specified card.
Use the show card card# status command to display the status of the card. There are three kinds of card status:
The preferred status to which the card is restored on reset. |
|
The status of the board hardware, as read from the TCS board status register. |
In each case, the status may be up, down, testing, or empty (if no card is present in the slot).
Use the show card card# version command to display version information for LC software and LCC software on the card.
Use the show chassis commands to display node-wide attributes.
Use the show chassis all command to display the chassis attributes. Use the other parameter arguments to specify selected parts of this display. The show chassis all command produces the same displays in the following order: general, agent, congestion, primaryswitch, powersupply, cards, listff, listdlci, listvci, listtrunk, and listpvc.
Use the show chassis agent command to display the following MMA attributes: MMA trap filter level, MMA trap logging state, MMA collection size, on/off state of the Config DB Active attribute, MMA PID number, configuration host name, configuration author, and configuration ID number.
Use the show chassis cards command to display the type of card in each slot, or to display Empty if there is no card in a given slot.
The following example shows what cards are present on the switch that you are interrogating.
Use the show chassis congestion command to display the maximum and minimum intervals between permit limit updates and the minimum interval between CA updates.
Use the show chassis general command to display the node name, node description (for example, ATM Data Switch), contact person, location, system up time, console trap level, chassis ID, slot of NP being used by CLI, primary and secondary IP addresses and subnet masks, Ethernet address and mask, and default router address.
Use the show chassis listdlci command to display a frame relay DLCI table for all frame forwarding ports. (To display per-port information, use the show port c.p listdlci command.) An asterisk (*) next to the port number means the circuit is deactivated, and the letter I means it is disabled by a configuration change.
Use the show chassis listff command to display a table of frame forwarding connections. The display shows the source node and port, destination node and port, insured rate and bandwidth, and maximum rate and bandwidth. If the VC is unconnected, the operationally requested maximum rate is displayed. If it is connected, the displayed value (which is actually in use) may have been negotiated down. An asterisk (*) next to the port number means the circuit is deactivated, and the letter I means it is disabled by a configuration change.
Use the show chassis listpvc command to display a PVC table for all CEMAC (constant bit rate) ports. The show port c.p cbrpvc command displays per-port information. An asterisk (*) next to the port number means the circuit is deactivated, and the letter I means it is disabled by a configuration change.
Use the show chassis listtrunk command to display a table of all trunk ports.
Use the show chassis listvci command to display a VCI table for all ATM UNI ports. The show port c.p listvci command displays per-port information. An asterisk (*) next to the port number means the circuit is deactivated, and the letter I means it is disabled by a configuration change.
Use the show chassis powersupply command to display the state and type of Power Supply A and Power Supply B.
Use the show chassis primaryswitch command to display which switch card is primary (Switch A or Switch B).
Use the show cli commands to display CLI display and logging attributes.
Use the show cli all command to display all cli attributes. The output of the command displays the attributes in the following order: echosource, lineedit, log, term, time, timer, traplevel, debug, and banner. The other parameter arguments display selected parts of this display.
Use the show cli banner command to display the banner that appears when you log in.
Use the show cli debug command to display the on/off setting of the debug switch (for development and support personnel only).
Use the show cli echosource command to display the on/off status of the CLI echo source. If echo source has been turned on with the command set cli echosource on, then the CLI commands in a script file are echoed to the screen when you execute them with the source command.
Use the show cli lineedit command to show whether command-line editing is on or off. (Use the set cli lineedit command to turn this attribute on or off.)
Use the show cli log command to display the status of the CLI trap logging function. The output of the command either says the function is off or displays the name of a log file if it has been turned on with the command set cli log logfile.
Use the show cli retries command to display the number of times the CLI repeats an SNMP request if no response is received to the first attempt. Use the command "set cli retries" to set the number of retries.
Use the show cli term command to display the configured terminal type for the CLI, for example, vt100.
Use the show cli time command to display the current date and time.
Use the show cli timeout command to display the current SNMP timeout value. The CLI waits this number of seconds before timing out on an SNMP request to a target that does not respond right away. Timing out is affected by the retry value set by the command "set cli retries;" see that command for more information.
Use the show cli timer command to display the time elapsed since this CLI session was started, or since the command set cli timer was last executed.
Use the show cli timestamp command to see whether the timestamp feature is turned on or off. See the command set cli timestamp.
Use the show cli traplevel command to display the current traplevel setting (Off, Oper, Info, Trace, or Debug). See the LightStream 2020 Traps Reference Manual for information about LS2020 traps.
Use the show collection command to display a specified collection record.
Use the show collection collection# command to display the collection record identified by collection#. Each collection record includes collection status, operational status of the node, beginning time and ending time of the collection, the interval between taking collection entries, and the pathname and size of the file in which the collection record is written. This preliminary part of the record is followed by the name and value of a series of collection items. For example, the collection item collectDBObjectID.1.17 is the 17th object in collection number 1. The form of the entry gives more information. For example, ifInOctets.7004 and ifInErrors.7004 are entries for Card 7, Port 4.
Use the show config command to display the status of the configuration lock attribute.
The show config command displays the status (locked, unlocked) of the configuration database lock. See the set config command (in the chapter entitled "The Set Command").
Use the show file commands to display the contents of log files and collection files.
Note The show file commands access files only on the node on which the CLI is running when you execute them, regardless of a target set with the command set snmp hostname name. These commands are not available when the CLI is run remotely (for example, on a workstation).
The show file commands invoke the cbufpr command at the operating system level (see the LightStream 2020 NP O/S Reference Manual). The first command argument is not an actual file name. Instead, it is one of the following file designators: all, collection, configlog, mmalog, or traplog. You can include the tail argument optionally (except not with the all argument) to display only the last portion of a file.
Use the show file all command to display the log files (configuration log, MMA log, and trap log). The tail argument is not available with the show file all command.
Use the show file collection collection# [tail] command to display the contents of the specified collection file. The collection file is /usr/tmp/collector/collect.collection#. The contents of the file depend upon the MIB variables specified in the set collection commands that defined the collection. Use the optional tail argument to display the last 20 lines or so of the designated file.
Use the show file configlog [tail] command to display the contents of the configuration log file. The pathname of the configuration log file is /usr/tmp/configure/configure.netdb.log. The file contains a log of all configuration operations on this node. Use the optional tail argument to display the last 20 lines or so of the designated file.
Use the show file mmalog [tail] command to display the contents of the MMA log file. The MMA log file is /usr/tmp/mma/mma.log. The file contains a log of SNMP set commands sent to the node for which this log is kept. With each set command is shown the IP address of the source of the command. Use the optional tail argument to display the last 20 lines or so of the designated file.
Use the show file traplog [tail] command to display the contents of the trap log file. The trap log file is /usr/tmp/mma/mma.traplog. The file contains a log of all traps sent to the MMA. Use the optional tail argument to display the last 20 lines or so of the designated file.
Use the show gid command family to display attributes relating to global information distribution (GID) within the target node.
Use the show gid all command to display all gid attributes (general, synchronization, cards, clients, neighbors, ports, and ip). The other parameter arguments display selected parts of this display.
Use the show gid cards command to display a table of cards managed by GID, showing the host name (Chassis), slot number, sequence number, age (in seconds), originating NP, and number of configured ports.
Use the show gid clients command to display a table of clients managed by GID. F or each client process ID (PID), the table lists the values of the following counters: link state (LS) announcements received, IP address translation announcements received, generic global information announcements received, transmitted events, and paths generated.
Use the show gid general command to display the software version number, the process ID (PID) for GID, the amount of memory in use, and the number of memory allocation failures for GID.
Use the show gid ip command to display a table of IP addresses managed by GID, showing for each IP address its age, sequence number, the advertising NP, network mask, and port.
Use the show gid neighbors command to display a table of neighbors managed by GID, showing for each host (chassis) name the VCI number, state, and counts of signals (SYNC, RLL, SLL, Hello, LSA, NLSA, IPA, GA, and NGA).
Use the show gid ports command to display a table of ports managed by GID. For each host (chassis) name and port, the table lists the type of service, up/down state, counts for BW0, BW1, and BW2, and the remote port ID. BW0 is raw link capacity, BW1 is data bandwidth, and BW2 is bandwidth in use.
Use the show gid synchronization command to display counts of neighbors in the following states: existent sync, exchange start, exchange, loading sync, and full sync.
Use the show mcast command to display defined multicast groups.
Use the show mcast [ID] command to display point-to-multipoint multicast groups which have been created with the define command.You can specify a particular defined multicast group by giving its ID as a command argument. If no ID argument is given, the command displays all multicast groups.
The modem initialization string is used when a device connects to the node using a modem.
Use the show modem command to display the modem initialization string for a specified switch card.
Note The show modem command affects only the node on which the CLI is running when you execute it, regardless of any target that has been set with the command set snmp hostname name.
The show modem command requires the slot of the switch card (sa or sb) as its argument.
The modem initialization string is a sequence of modem commands specifying the state that a modem must assume in order to make a connection. The default string is in Hayes modem command format:
AT&F&D2&C1S0=1S2=128S7=30S36=7S95=44
The following list gives the commands that make up the default string and a description of each.
If the modem initialization string is set for a modem requiring a different command format, the modem commands in it must put the modem in an equivalent state.
Use the show nd command family to display attributes of the neighborhood discovery (ND) system.
Use the show nd all command to display all ND attributes. The command output includes all the material that is shown separately by the other arguments of the command, in the following order: general, ndcards, neighbors, switchupdown, switchstat, and clients).
Use the show nd clients command to display a table of ND clients. For each PID, the table lists the type (for example, sys, ca, gid, or lcc), subtype, and mask.
Use the show nd general command to display the software version number, PID for the ND, amount of memory in use by ND, and numbers of timers processed, line cards managed by ND, neighbor NPs known to ND, and registered ND client processes.
Use the show nd ndcards command to display a table of cards managed by ND. For each card, the table shows the EIA port, channel number, and up/down state.
Use the show nd neighbors command to display a table of ND neighbors. For each ND neighbor, the table shows the EIA port, channel number, and up/down state.
Use the show nd switchstat command to display a table of ND switch statistics. For each slot, the table shown the number of switch up/down cells in and out, with error counts for each.
Use the show nd switchupdown command to display a table of the operational and administrative values of ND up/down parameters. The table shows the following information for each card:
You can set the MIB objects ndAdminIntvl, ndAdminJ, etc., to fine-tune ND performance, but doing so is not recommended.
Use the show nettime command to display network timing information for the node.
If the administrative value for the clocking switch is Auto, the operational value for the clocking switch indicates whichever switch card is active, for this is the switch card that is actually being used to distribute clocking to line cards.
If the configured preference level is other than 1, the configured preference level must have been reset with the set nettime reset-level command. If the active preference level is other than 1, it could be either because the active preference level was reset with the set nettime reset-level command, or because one or more clocking sources at the top of the table became unavailable.
The entire table is listed at the bottom of the display, including the status of each entry. If a clocking source that is preferable to the currently active clocking source is up (having previously been down), you can use the set nettime reset-level command to change to the preferred clocking source.
Use the show pid command family to display per-process attributes for a specified process. Each command in this family requires a process ID number (PID) or a process alias as an argument.
Use the show pid pid# all command to display all per-process attributes for process pid#. The command output includes all the material that is shown separately by the other arguments of the command, in the following order: name, clialias, createtime, adminstatus, operstatus, traplevel.
Use the show pid pid# name command to display the PID name for process pid#.
Use the show pid pid# clialias command to display the alias used by the CLI for process pid#.
Use the show pid pid# createtime command to display the time elapsed (up time) since process pid# was created.
Use the show pid pid# adminstatus command to display the administrative status for process pid#.
Use the show pid pid# operstatus command to display the operational status of process pid#.
Use the show pid pid# traplevel command to display the trap level set for process pid#. See the LightStream 2020 Traps Reference Manual for information about trap levels.
Use the show port command family to display various attributes of a port.
The commands in this family require a port number in dot-separated format (c.p,where c is the number of a card and p is the number of a port on that card). Use the show chassis cards command to see card numbers; use the show card card# ports command to see port numbers on card card#.
Some information can be provided about any port, regardless of its type: its name, status, physical attributes, and certain statistics. The show port commands for displaying this information are described in the section entitled "General Port Information ."
Many port attributes can be displayed only for an appropriate port type. Table 2-1 lists the titles of the sections in this document where the commands for displaying these type-restricted attributes are described, and correlates each port type with its MIB-II type assignment and its protocol.
Table 2-1 Port Attributes That Are Restricted to Certain Port Types
Described in Section | Port Type | MIB-II Type | Protocol |
---|---|---|---|
ATM-UNI | |||
ATM-UNI | |||
ATM-UNI | |||
T1/E1 Circuit Emulation | |||
Frame Forwarding | |||
Frame Relay | |||
FDDI | |||
ETHERNET | |||
ETHERNET | |||
T1 Trunk | |||
MS Trunk | |||
CLC Trunk | |||
CLC Trunk |
Use the show port c.p name command to display the strings shown here in the Port Type column and in the MIB-II Type column. Use the show card card# ports command to display the strings in the Protocol column. See the LightStream 2020 Configuration Guide for information about the differences in hardware corresponding to the distinctions among port types.
You can also use the show chassis cards command to display the strings in the Port Type column.
The show port c.p name command also displays the transmission medium for certain port types. OC3 ports can be configured for SONET (STS-3c) or SDH (STM-1). Ethernet ports can be either AUI or TPE; for fiber Ethernet, fiber is the only medium type.
Note If you use show port commands in rapid succession (seconds apart), discrepancies in rate information appear.
Several arguments of the show port command display general port information: name, physical, status, and statistics. The all argument shows the aggregate of these in one display; this is the default, when show port c.p is followed by no arguments.
Use the show port c.p [all] command to display all port attributes (name, status, statistics, physical, frameforward, framerelay, DLCI, VCI, PVC, and VPI). The all argument is optional, that is, this display is the default if no argument is given. The other parameter arguments show selected parts of this display.
Ethernet MAC addresses are displayed in canonical form (least significant bit first) and FDDI MAC addresses are displayed in MSB form (most significant bit first). Thus, for example, Ethernet MAC address 08:00:2B:3C:7F:E2 is displayed as FDDI MAC address 10:00:4D:3C:FE:47.
Use the show port c.p name command to display the description, name, type, MIB-II type, MTU, and speed for the specified port. The port type determines what other information is displayed, such as the medium type (for example, SONET or SDH for OC-3 cards).
Use the show port c.p physical command to display some of the following physical attributes of the specified port. The detailed content of the display depends upon the type of port. It may include the following:
For a CBR port, the display includes
Use the show port c.p sonet commands to display lists of statistical counts taken during a specified time interval for OC3 ports configured for SONET.
For the specified interval, the command displays the time elapsed and (for the section, line, and path) the number of error seconds, severe error seconds, unavailable seconds (or severe framing error seconds for the section), and coding violations. The display also lists the number of valid intervals.
Counts are collected in 15-minute error-collection intervals. You can specify the interval in one of three ways:
You can use the set cli timestamp command to display current time (GMT) in the CLI prompt.
Use the show port c.p sonet interval # command to display SONET counts for a specified interval.
Use the show port c.p sonet elapsedtime hh:mm command to display SONET counts for the interval within which the specified time falls, counting time elapsed since the beginning of the measurement period.
Use the show port c.p sonet clocktime hh:mm command to display SONET counts for the interval within which the specified clock time falls.
Use the show port c.p status command to display the administrative status, operational status, and last change in operational status for the specified port.
Use the show port c.p statistics command to display statistical counts for the specified port. The counters include the number of (1) octets, normal packets, and multicast packets received and sent, (2) received packets that were discarded, (3) discarded output packets, (4) receive errors and output errors, and (5) packets received with unknown protocols. The error counts sum over all error types.
Use the show port c.p listvci command to display, for the specified port, a list of ATM UNI PVCs in order of their VCI numbers. The VCI numbers are in Column 3 of the display. If the two virtual connections that form the virtual circuit do not have the same values, the values are displayed on two lines. A displayed (operational) value may differ from the requested value if it has been negotiated down. An asterisk at the beginning of the line means that the circuit is down or has not been created; an uppercase I means that the circuit has been set to inactive manually by means of the set port c.p vci vci# deactivate command.
Use the show port c.p vci vci# command to display, for the specified ATM UNI port, the following attributes of the PVC that uses the specified VCI:
Use the show port c.p cbrpvc pvc# command to display the following:
If a PVC exists, the display includes the following:
Use the show port c.p frameforward command to display the following frame forwarding attributes of the specified port:
If the VC is unconnected, the operationally requested maximum rate is displayed. If it is connected, the displayed value (which is actually in use) may have been negotiated down.
Use the show port c.p dlci dlci# command to display the following attributes of the specified Frame Relay DLCI:
Port number 1255 refers to the control port (port 255) of the NP in slot 1, and port number 2255 refers to the control port of the NP in slot 2.
Use the show port c.p framerelay command to display the following Frame Relay attributes:
Use the show port c.p listdlci command to display a list of FrameRelay PVCs for the port in order of their DLCI numbers.
The DLCI numbers are in Column 3 of the display. If the values specified for the two directions of the circuit are not the same, the values are displayed on two lines. A displayed (operational) value may differ from the requested value if it has been negotiated down. An asterisk at the beginning of the line means that the circuit is down or has not been created; an uppercase I means that the circuit has been set to inactive manually by means of the set port dlci dlci# deactivate command. The show chassis listdlci command displays a table for all ports on a node.
Port number 1255 refers to the control port (port 255) of the NP in slot 1, and port number 2255 refers to the control port of the NP in slot 2.
Use the show port c.p listpvc command to display a list of constant bit-rate (CBR) PVCs for the port in order of their PVC numbers. If the values specified for the two directions of the circuit are not the same, they are displayed on two lines. A displayed (operational) value may differ from the requested value if it has been negotiated down. The show chassis listpvc command displays a PVC table for all ports on the specified node.
Use the show port c.p fddi commands to display FDDI information. Displayed values include.
For the meanings of these and other displayed items, refer to the specification FDDI SMT X3T9.5 (Rev. 7.3). The arguments of the show port c.p fddi command are given in the following paragraphs.
Note MAC addresses appear in the output of several of the following commands. There is a potential source of confusion regarding their format. FDDI MAC addresses are displayed in MSB form (most significant bit first) and Ethernet MAC addresses in canonical form (least significant bit first). So, for example, Ethernet MAC address 08:00:2B:3C:7F:E2 is displayed as FDDI MAC address 10:00:4D:3C:FE:47.
Use the show port c.p fddi mac command to display the following MAC information for this FDDI port:
Use the show port c.p fddi MACcounters command to display statistical information about FDDI traffic on this circuit. (The command is not case-sensitive; you can enter it as MACcounters or maccounters.) The items displayed are MAC index, token count, TVX expirations, not copied count, TRT expirations, ring op count, not copied ratio, and not copied flag.
Use the show port c.p fddi path path# command to display the following information for FDDI Path 1 (primary path) or 2 (secondary path): the SMT index (calculated per port), path index (same as the path number), minimum TVX value, minimum TMax value, and maximum TReq value.
Use the show port c.p fddi aport command to display the following information about FDDI Port A in this FDDI circuit: station management (SMT) index, path index, PC type, remote type, connection policy, MAC indicated, current path, requested paths, MAC placement, available paths, PMD type, connection capabilities, BS flag, failed confidence test count, LER estimate, link error count, LER cutoff, LER alarm, connect state, PCM state, PC withhold, LER flag, hardware present, and action. See the commands set port c.p fddi {aport | bport} (in the chapter entitled "The Set Command") for details about these fields.
Use the show port c.p fddi bport command to display information about FDDI Port B in this FDDI circuit. See the command show port c.p fddi aport for a list of displayed fields. See the command set port c.p fddi {aport | bport} (in the chapter entitled "The Set Command") for details about these fields.
Use the show port c.p fddi smt command to display the following FDDI station management (SMT) information: the SMT index, Path index, Minimum TMax value, and Maximum TReq value.
Use the show port c.p stb command to display the bridging state of the specified port (enabled or disabled for bridging), its priority (a value used in the spanning-tree protocol), and the port path cost (the contribution of this port to the path cost of those paths toward the root bridge that pass through it). See also the section on spanning-tree bridge commands show stb and show spt.
Use the show port c.p stp-traffic command to display the status of the specified port (IEEE (enabled) or disabled for the spanning-tree feature).
Use the show port c.p bcast-limit command to display (1) the default broadcast rate limit that has been set for this port and (2) the number of excess broadcast frames that have been dropped at this port as a result of applying this limit.
Use the show port c.p bflt [ID] command to display the filters that are associated with the specified port, plus some statistical counts of filtered traffic. The optional ID argument limits the display to the specified filter. The display includes the filter ID, priority, action, and a count of the number of times the NP acted on traffic that matched a filter on this port. The display also includes the ID of any multicast group or traffic profile associated with the filter for this port.
Use the show port c.p ipflt [ID] command to display the filters that are associated with the specified port, plus some statistical counts of filtered traffic. The optional ID argument limits the display to the specified filter. The display includes the filter ID, priority, action, and a count of the number of times the NP acted on traffic that matched a filter on this port. The display also includes the ID of any multicast group or traffic profile associated with the filter for this port.
Use the show port c.p ipxflt [ID] command to display the filters that are associated with the specified port, plus some statistical counts of filtered traffic. The optional ID argument limits the display to the specified filter. The display includes the filter ID, priority, action, and a count of the number of times the NP acted on traffic that matched a filter on this port. The display also includes the ID of any multicast group or traffic profile associated with the filter for this port.
Use the show port c.p bflt-def command to display the default bridge filter action that has been set for the specified port (drop or forward).
Use the show port c.p ipflt-def command to display the default IP filter action that has been set for the specified port (drop or forward).
Use the show port c.p ipxflt-def command to display the default IPX filter action that has been set for the specified port (drop or forward).
Use the show port c.p np-deliver command to show whether received frames are being delivered to NPs in the network (forward) or not (block).
Use the show port c.p wgrp command to display the ID numbers of the workgroups associated with the specified port (if any), and whether the workgroup list is an include list or an exclude list.
Note The show command does not display the mnemonic workgroup names (aliases) maintained by the configuration tool. If you prefer to use the show port c.p wgrp command, you should maintain a list of group IDs and the corresponding mnemonic workgroup names.
Information about trunk ports is not available with show port commands, except for virtual path trunk ports (discussed in a subsequent section). Trunk information is available with the show card card# peak-cell-rate command (see "Card Attributes" earlier in this chapter) and the show chassis listtrunk command (see "Per-Node (Chassis) Attributes" earlier in this chapter).
Use the show port c.p vpi vpi# command to display the virtual path identifier (VPI) for the specified port. The VPI number is set with the set port c.p characteristics vpi command.
Use the show snmp command to display the value of the read/write community name attribute and the chassis name (host name) of the target node. These are both SNMP attributes.
Use the show spt and show stb command families to display spanning-tree bridge parameters that have been set by the root bridge or by using the set stb command or the set port c.p stb commands. (See also the command show port c.p stb.)
Use the show spt command to display the following spanning-tree bridge parameters: designated root bridge address, root path cost, port for lowest cost path, protocol used (for example, IEEE 8021d), maximum age, hello time, forward delay, priority, base bridge address, bridge max age, bridge hello time, bridge forward delay, topology change time, hold time, topology changes, bridge aging time, and the list of bridge ports with the spanning state of each.
The attributes Bridge Max Age, Bridge Hello Time, and Bridge Forward Delay are set by the root bridge; the attributes Maximum age, Hello time, and Forward delay are set with the set stb command, and their values take effect only when the present node becomes the root bridge.
Use the show stb commands to display spanning-tree bridge attributes. These attributes can be set with the set stb command.
Use the show stb all command to display all spanning-tree bridge attributes that are displayed in part by each of the other show stb commands.
Use the show stb fwd command to display the bridge forward delay value.
Use the show stb general command to display the following bridge parameters: maximum age, hello timer, forward delay, and priority (for the node). The values displayed for the Bridge Max Age, Bridge Hello Timer, and Bridge Forward Delay attributes are those provided by the root bridge.
Use the show stb ports command to display a table of all ports enabled for bridging. For each port, the table includes the values of the following parameters: port number, port state, received frames, forwarded frames, and dropped frames.
Use the show stb static command to display static entries in the bridge forwarding table (see set stb static in the chapter entitled "The Set Command"), including the following entries: MAC address, receive port, and allowed transmit ports.
Use the show tcs command family to display hardware information available on a per-card basis through the test and control system (TCS) software. For information on commands available at the TCS hub, see the LightStream 2020 Hardware Reference and Troubleshooting Guide.
Note The show tcs commands affect only the node on which the CLI is running when you execute them,
regardless of any target that has been set with the command set snmp hostname name.
The show tcs commands do not work on a Sun workstation. When you start the CLI on a Sun, you see the
message "Warning: No TCS available."
Use the show tcs card# all command to display all card attributes (for the specified card) that are accessible through the use of the TCS (state, config, daughter, paddle, oem, midplane, temperature, voltage, and power). The other arguments show portions of this display.
Use the show tcs card# config command family to display card configuration attributes that are accessible through the use of the TCS. The additional arguments that can be used with the config argument are described in the following paragraphs.
Use the show tcs card# daughter command family to display daughter card attributes. The additional arguments that can be used with the daughter argument are described in the following paragraphs.
Use the show tcs card# midplane command family to display midplane attributes of the specified switch card that are accessible using TCS. The card# argument must be sa or sb. The additional arguments that can be used with the midplane argument are described in the following paragraphs.
Use the show tcs card# oem command family to display attributes for the portion of the access card that is reserved for Cisco's development partners. The additional arguments that can be used with the oem argument are described in the following paragraphs.
Use the show tcs card# paddle commands to display TCS-accessible attributes for the Cisco portion of the access (paddle) card. The additional arguments that can be used with the paddle argument are described in the following paragraphs.
Use the show tcs card# power command to display on/off power state of the specified card.
Use the show tcs card# state command to display the status of the following card attributes that are accessible using TCS: power supply, temperature, clock, POST, XILINX load, application load, access (paddle) cards and overrides, flash memory, CP POST, application software, card, power (TCS VCC, VCC, VPP, and SCSI), temperature (top, and bottom if applicable), board initialization, flash initialization, and TCS HUB.
Use the show tcs card# temperature command to display TCS-accessible temperature readings for the top region of the specified card (and the bottom region of the card, if applicable). The display includes the warning and shutdown values for each temperature reading. The command show card card# hardware also displays the temperature readings, but not the warning and shutdown values.
Use the show tcs card# voltage command to display TCS-accessible voltage readings on the specified card for TCS VCC, VCC, VEE (or SCSI for NP), and VPP voltage. The display includes the normal voltage ranges. The command show card card# hardware also displays the voltage readings, but not the normal ranges.
Use the show tprof command to display information about traffic profiles.
Use the show tprof command to display traffic profiles created with the define tprof command (described in the chapter entitled "The Define and Delete Commands"). All command arguments are optional. Without any argument, the command displays all configured traffic profiles.
Use the show tprof ID command to display information only about the specified traffic profile.
Use the show tprof default command to display the default traffic profile values. If no traffic profile is explicitly configured for a port, the default traffic profile values take effect on that port.
The following example shows how the show tprof command can be used without any argument to display all currently defined traffic profiles on the system:
For each traffic profile, the display shows the ID, service type, maximum rate, maximum burst, insured rate, insured burst, secondary scale, and transmit priority. Rates are in bits per second, bursts are in bytes. (Additional detail about rates and bursts is given in the description of the define tprof command in the chapter entitled "The Define and Delete Commands.")
The above example shows default as the value of the Max Rate parameter. The command define tprof ID max-rate default sets the Max Rate value. When the traffic profile is assigned to the port, the software determines the default maximum rate for the type of connection by applying the following rules:
Omitting some detail, the smallest bottleneck is basically the smallest physical transmission capacity found along the path of the circuit, including the output edge. The output of the show tprof default command explains this point.
You can set traps with the set trap commands. Traps issue messages about objects and processes in the network. Use the show trap command family to display the state of these trap settings.
In the following command descriptions, trapspec stands for a trap name or a trap number. See the LightStream 2020 Traps Reference Manual for trap names and numbers. You can specify a name for a group of traps previously defined in the cli.groups file. You can also specify a range of trap numbers, but doing so is not recommended, as you could easily disrupt the system by flooding it with traps.
The trapspec arguments are used to specify which traps are to be displayed. The arguments and their meanings are given in the following list.
Use the show trap command family to display the state of traps, either system-wide (the default) or by process.
See the LightStream 2020 Traps Reference Manual for information about LS2020 traps.
Note The show trap commands affect only the node on which the CLI is running when you execute them, regardless of any target that has been set with the command set snmp hostname name.
Use the command show trap [global] trapspec to display traps from all processes, system wide. The default is to display the specified traps for all processes system-wide, but you may explicitly specify this behavior with the optional global argument. (You use the show trap pid {PIDname | PID#} trapspec command to display traps on a per-process basis.) The trapspec argument is a trap name or a trap number as described under the preceding heading "trapspec."
Use the show trap pid {PIDname | PID#} trapspec command to display traps issued by a particular process. The process ID may be either a PID number or a process alias.
These commands are of interest primarily to support personnel and developers. The trapspec argument is a trap name or a trap number as described under the preceding heading "trapspec."
Posted: Wed Jan 22 23:30:22 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.