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 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 connectionsshow 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
Sample Output
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
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
user@switch> show connections down No matching connections found.
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
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
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
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
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

