Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Controlling the Scope of an Operational Mode Command

    The Junos OS CLI operational commands include options that you can use to identify specific components on a device running Junos OS. For example:

    1. Type the show interfaces command to display information about all interfaces on the router.
      user@host> show interfaces 
      Physical interface: so-0/0/0, Enabled, Physical link is Up
        Interface index: 128, SNMP ifIndex: 23
        Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3,
        Loopback: None, FCS: 16, Payload scrambler: Enabled
        Device flags   : Present Running
        Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000
        Link flags     : Keepalives
        Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
        Keepalive: Input: 13861 (00:00:05 ago), Output: 13891 (00:00:01 ago)
        LCP state: Opened
        NCP state: inet: Opened, inet6: Not-configured, iso: Opened, mpls: Not-configured
        CHAP state: Closed
        PAP state: Closed
        CoS queues     : 4 supported, 4 maximum usable queues
        Last flapped   : 2008-06-02 17:16:14 PDT (1d 14:21 ago)
        Input rate     : 40 bps (0 pps)
        Output rate    : 48 bps (0 pps)
      
      ---(more)---
    2. To display information about a specific interface, type that interface as a command option:
      user@host> show interfaces fe-0/1/3   
      Physical interface: fe-0/1/3, Enabled, Physical link is Up
        Interface index: 135, SNMP ifIndex: 30
        Link-level type: Ethernet, MTU: 1514, Speed: 100mbps, MAC-REWRITE Error: None,
        Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled
        Device flags   : Present Running
        Interface flags: SNMP-Traps Internal: 0x4000
        Link flags     : None
        CoS queues     : 4 supported, 4 maximum usable queues
        Current address: 00:05:85:8f:c8:22, Hardware address: 00:05:85:8f:c8:22
        Last flapped   : 2008-06-02 17:16:15 PDT (1d 14:28 ago)
        Input rate     : 0 bps (0 pps)
        Output rate    : 0 bps (0 pps)
        Active alarms  : None
        Active defects : None
      
      user@host> 

    Operational Mode Commands on a TX Matrix Router or TX Matrix Plus Router

    When you issue operational mode commands on the TX Matrix router, 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:

    • scc—The TX Matrix router (or switch-card chassis)
    • sfc—The TX Matrix Plus router (or switch-fabric chassis)
    • lcc number—A specific T640 router (in a routing matrix based on a TX Matrix router) or a TX Matrix Plus router (in a routing matrix based on a TX Matrix Plus router)
    • all-lcc—All T640 routers (in a routing matrix based on a TX Matrix router) or all T1600 routers (in a routing matrix based on a TX Matrix Plus router)

    If you specify none of these options, then the command applies by default to the whole routing matrix: the TX Matrix router and all connected T640 routers or the TX Matrix Plus router and all connected T1600 routers.

    Examples of Routing Matrix Command Options

    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 command
    

    Sample 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 Router 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 Router (lcc number Option)

    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 Routers (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]
    

    Published: 2013-01-15