17.12.2012 Views

Junos OS Interfaces Command Reference - Juniper Networks

Junos OS Interfaces Command Reference - Juniper Networks

Junos OS Interfaces Command Reference - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Junos</strong> <strong>OS</strong> 12.2 <strong>Interfaces</strong> <strong>Command</strong> <strong>Reference</strong><br />

From within the context of a logical system (which you can select from the main router<br />

context by using the set cli logical-systems logical-system-name command), the show<br />

interfaces command output is limited to the resources assigned to the logical system:<br />

• The physical interfaces are listed by name, but no statistics are displayed.<br />

• Only the logical interfaces assigned to the logical system are listed, with statistics<br />

displayed.<br />

• None of the special, system-generated logical interfaces with logical unit number 32767<br />

are listed.<br />

At the main router level (to which you can return from the logical system context by using<br />

the clear cli logical system command), the show interfaces command output displays<br />

statistics for all interfaces configured on the router:<br />

• Statistics are displayed for all physical interfaces.<br />

• Statistics are displayed for all logical interfaces.<br />

• Statistics are displayed for all system-generated logical interfaces with logical unit<br />

number 32767.<br />

Example: show interfaces terse<br />

16<br />

Consider a main router for which you have configured the physical interface at-0/0/0<br />

with ATM-specific physical interface properties and configured the physical interface<br />

with a logical interface at logical unit 0. You have also configured logical system ls1 and<br />

assigned a logical system administrator for this logical system. The logical system<br />

administrator has assigned the logical interface at-0/0/0.0 to logical system ls1. The<br />

configuration is as follows:<br />

logical-systems {<br />

ls1 {<br />

interfaces {<br />

at-0/0/0 {<br />

unit 0 {<br />

encapsulation atm-ccc-cell-relay;<br />

vpi 0;<br />

}<br />

}<br />

}<br />

protocols {<br />

mpls {<br />

label-switched-path base_config_r4r1_lsp {<br />

to 10.255.65.65;<br />

}<br />

interface all;<br />

}<br />

connections {<br />

remote-interface-switch base_config_vp_mode_connection {<br />

interface at-0/0/0.0;<br />

transmit-lsp base_config_r1r4_lsp;<br />

receive-lsp base_config_r4r1_lsp;<br />

}<br />

Copyright © 2012, <strong>Juniper</strong> <strong>Networks</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!