Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    show connections

    Syntax

    show connections <brief | extensive><all | remote-interface-switch><down | up | up-down><history><labels><name><status>

    Release Information

    Command introduced in Junos OS Release 9.5 for EX Series switches.

    Description

    Display information about the configured circuit cross-connect (CCC) connections.

    Options

    none

    Display the standard level of output for all configured CCC connections on all logical systems.

    brief | extensive

    (Optional) Display the specified level of output.

    all

    (Optional) Display all connections.

    down | up | up-down

    (Optional) Display nonoperational, operational, or both kinds of connections.

    history

    (Optional) Display information about connection history.

    labels

    (Optional) Display labels used for transmit and receive LSPs.

    name

    (Optional) Display information about the specified connection only.

    remote-interface-switch

    (Optional) Display remote interface switch connections only.

    name

    (Optional) Display information about the specified connection only.

    status

    (Optional) Display information about the connection and interface status.

    Required Privilege Level

    view

    List of Sample Output

    show connections
    show connections brief
    show connections down
    show connections extensive
    show connections history
    show connections labels
    show connections <name>
    show connections remote-interface-switch
    show connections status

    Output Fields

    Table 1 describes the output fields for the show connections command. Output fields are listed in the approximate order in which they appear.

    Table 1: show connections Output Fields

    Field Name

    Field Description

    CCC and TCC connections [Link Monitoring On I Off]

    Whether link monitoring is enabled: On or Off.

    Legend for Status (St)

    Connection or circuit status. See the output's legend for an explanation of the status field values.

    Legend for connection types

    Type of connection:

    • if-sw—Layer 2 switching cross-connect.
    • rmt-if—Remote interface switch. While graceful restart is in progress, rmt-if will display a state (St) of Restart.

    Legend for circuit types

    Type of circuit:

    • intf—Interface circuit.
    • tlsp—Transmit LSP circuit.
    • rlsp—Receive LSP circuit.

    Connection/Circuit

    Name of the configured CCC connection.

    Type

    Type of connection.

    St

    State of the connection.

    Time last up

    Time that the connection or circuit last transitioned to the Up (operational) state.

    # Up trans

    Number of times that the connection or circuit has transitioned to the Up (operational) state.

    Sample Output

    show connections

    user@switch> show connections
    Connection/Circuit                Type        St      Time last up     # Up trans
    ge1-to-pe2                        rmt-if      Up      Jun 26 18:37:25           1
      ge-0/0/5.0                        intf      Up
      lsp_pe1_to_ge1_pe2                tlsp      Up
      lsp_pe2_to_ge1_pe1                rlsp      Up
    
    

    show connections brief

    user@switch> show connections brief
    Connection/Circuit                Type        St      Time last up     # Up trans
    ge-1_to_pe2                       rmt-if      Up      Jan 29 13:07:56           1
    

    show connections down

    user@switch> show connections down
    No matching connections found.
    

    show connections extensive

    user@switch> show connections extensive
    Connection/Circuit                Type        St      Time last up     # Up trans
    ge1_to_pe2                        rmt-if      Up      Jan 29 13:07:56           1
      ge-0/0/5.0                        intf      Up
      lsp_pe1_to_ge1_pe2                tlsp      Up
      lsp_pe2_to_ge1_pe1                rlsp      Up
      Incoming labels: 299776
      Outgoing labels: Push 300112

    show connections history

    user@switch> show connections history
    Connection/Circuit                Type        St      Time last up     # Up trans
    ge1-to-pe2                        rmt-if      Up      Jan 29 13:07:56           1
                                                                       # Paths
      Time             Event                Interface/Label            Rcv Xmt
      Jan 29 13:07:56  CCC status update                                1   1
      Jan 29 13:07:55  TLSP up              300112@1:0, 1               1   1
      Jan 29 13:07:55  TLSP down            300112@1                    1   0
      Jan 29 13:07:55  TLSP up              300112@1:0, 4097            1   1
      Jan 29 13:07:54  RLSP up              299776                      1   0
      Jan 29 13:01:08  Remote CCC down                                  0   0
      Jan 29 13:01:08  Interface up         ge-0/0/0.10                 0   0
      Jan 29 13:01:06  Interface down       ge-0/0/0.10                 0   0
      Jan 29 13:01:04  Remote CCC down                                  0   0
      Jan 29 13:01:02  Interface down                                   0   0
    

    show connections labels

    user@switch> show connections labels
     
    Connection/Circuit                Type        St      Time last up     # Up trans
    ge1-to-pe2                        rmt-if      RmtDn   Jun 26 18:37:25           1
      Incoming labels: 299776
      Outgoing labels: Push 299792
    

    show connections <name>

    user@switch> show connections ge1-to-pe2
    Connection/Circuit                Type        St      Time last up     # Up trans
    ge1_to_pe2                        rmt-if      Up      Jan 29 13:07:56           1
      ge-0/0/5.0                        intf      Up
      lsp_pe1_to_ge1_pe2                tlsp      Up
      lsp_pe2_to_ge1_pe1                rlsp      Up
    

    show connections remote-interface-switch

    Connection/Circuit                Type        St      Time last up     # Up trans
    xcon10_ge0_to_239                 rmt-if      Up      Jan 29 13:07:56                  1
      ge-0/0/0.10                       intf  Up
      lsp_to_240_10                     tlsp  Up
      lsp_to_239_10                     rlsp  Up
    xcon11_ge0_to_239                 rmt-if      Up      Jan 29 13:07:57                  1
      ge-0/0/0.11                       intf  Up
      lsp_to_240_11                     tlsp  Up
      lsp_to_239_11                     rlsp  Up

    show connections status

    user@switch> show connections status
    Connection/Circuit                Type        St      Time last up     # Up trans
    xcon10_ge0_to_239                 rmt-if  Up          Jan 29 13:07:56                  1
      ge-0/0/0.10                       intf  Up
      lsp_to_240_10                     tlsp  Up
      lsp_to_239_10                     rlsp  Up
    xcon11_ge0_to_239                 rmt-if  Up          Jan 29 13:07:57                  1
      ge-0/0/0.11                       intf  Up
      lsp_to_240_11                     tlsp  Up
      lsp_to_239_11                     rlsp  Up
    

    Published: 2012-12-07