CLI operational commands include options you can use to identify specific components on the router. For example:
- user@host> show interfaces
- Physical interface: so-0/0/0, Enabled, Physical link is
Up
- Interface index: 128, SNMP ifIndex: 260
- Link-level type: PPP, MTU: 4474, Clocking: Internal,
SONET mode, Speed: OC3, Loopback: None, FCS: 16,
- Payload scrambler: Enabled
- Device flags: Present Running Up
- Interface flags: Hardware-Down Point-To-Point SNMP-Traps
Internal: 0x4000
- Link flags: Keepalives
- CoS queues: 4 supported, 4 maximum usable queues
- Last flapped: 2006-02-02 09:26:25 PST (2w0d 06:20 ago)
- Input rate: 0 bps (0 pps)
- Output rate: 0 bps (0 pps)
- SONET alarms: LOL, LOS
- SONET defects: LOL, LOF, LOS, SEF, AIS-L, AIS-P
- Physical interface: so-0/0/1, Enabled, Physical link is
Up
- Interface index: 129, SNMP ifIndex: 271
- Link-level type: PPP, MTU: 4474, Clocking: Internal,
SONET mode, Speed: OC3, Loopback: None, FCS: 16,
- Payload scrambler: Enabled
- ---(more)---
- user@host> show interfaces fe-1/1/1
- Physical interface: fe-1/1/1, Enabled, Physical link is
Up
- Interface index: 141, SNMP ifIndex: 33
- Link-level type: Ethernet, MTU: 1514, Speed: 100mbps,
Loopback: Disabled, Source filtering: Disabled,
- Flow control: Enabled
- Device flags: Present Running Up
- Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000
- Link flags: None
- CoS queues: 4 supported, 4 maximum usable queues
- Current address: 00:90:69:d0:f8:9e, Hardware address:
00:90:69:d0:f8:9e
- Last flapped: 2006-02-02 09:26:25 PST (2w0d 06:25 ago)
- Input rate: 0 bps (0 pps)
- Output rate: 0 bps (0 pps)
- Active alarms: LINK
- Active defects: LINK
- user@host>
For more information on specifying interface names as command options, see Using the Comment Character #.
When you issue operational mode commands on the TX Matrix platform, CLI command options allow you to restrict the command output to show only a component of the routing matrix rather than the routing matrix as a whole.
These are the options shown in the CLI:
If you specify none of these options, then the command applies by default to the whole routing matrix: the TX Matrix platform and all connected T640 routing nodes.
The following output samples, using the show version command, demonstrate some different options for viewing information about the routing matrix.
user@host> show version ?
Possible completions: <[Enter]> Execute this command all-lcc Show software version on all LCC chassis brief Display brief output detail Display detailed output lcc Show software version on specific LCC (0..3) scc Show software version on the SCC | Pipe through a commandSample Output: No Routing Matrix Options Specified
user@host> show version
scc-re0: -------------------------------------------------------------------------- Hostname: scc Model: TX Matrix JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0] lcc0-re0: -------------------------------------------------------------------------- Hostname: lcc0 Model: t640 JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0] JUNOS Support Tools Package [7.0-20040630.0] lcc1-re0: -------------------------------------------------------------------------- Hostname: lcc1 Model: t640 JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0] JUNOS Support Tools Package [7.0-20040630.0]Sample Output: TX Matrix Platform Only (scc Option)
user@host> show version scc
Hostname: scc Model: TX Matrix JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0]Sample Output: Specific T640 Routing Node (lcc number Option) number
user@host> show version lcc 0
lcc0-re0: -------------------------------------------------------------------------- Hostname: lcc0 Model: t640 JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0] JUNOS Support Tools Package [7.0-20040630.0]Sample Output: All T640 routing nodes (all-lcc Option)
user@host> show version all-lcc
lcc0-re0: -------------------------------------------------------------------------- Hostname: lcc0 Model: t640 JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0] JUNOS Support Tools Package [7.0-20040630.0] lcc1-re0: -------------------------------------------------------------------------- Hostname: lcc1 Model: t640 JUNOS Base OS boot [7.0-20040630.0] JUNOS Base OS Software Suite [7.0-20040629.0] JUNOS Kernel Software Suite [7.0-20040630.0] JUNOS Packet Forwarding Engine Support (T-Series) [7.0-20040630.0] JUNOS Routing Software Suite [7.0-20040630.0] JUNOS Online Documentation [7.0-20040630.0] JUNOS Crypto Software Suite [7.0-20040630.0] JUNOS Support Tools Package [7.0-20040630.0]