Step 6: Verify the Status of the Logical Interface
Action
To verify the status of the logical interface, use the following two JUNOS CLI operational mode commands:
user@host> show interfaces t1-fpc/pic/portuser@host> show interfaces t1-fpc/pic/portterseSample Output
The following output is for a logical interface that is up:
user@host> show interfaces t1-1/1/0Physical interface: t1-1/1/0, Enabled, Physical link is UpInterface index: 29, SNMP ifIndex: 20Link-level type: Cisco-HDLC, MTU: 1504, Clocking: Internal, Speed: T1, Loopback: None, FCS: 16, Framing: ESFDevice flags : Present RunningInterface flags: Point-To-Point SNMP-TrapsLink flags : No-KeepalivesLast flapped : 2002-01-06 01:09:00 UTC (00:00:44 ago)Input rate : 0 bps (0 pps)Output rate : 0 bps (0 pps)DS1 alarms : NoneDS1 defects : NoneLogical interface t1-1/1/0.0 (Index 9) (SNMP ifIndex 34)Flags: Point-To-Point SNMP-Traps Encapsulation: Cisco-HDLCBandwidth: 0Protocol inet, MTU: 1500, Flags: NoneAddresses, Flags: Is-Preferred Is-PrimaryDestination: 1.1.1.0/30, Local: 1.1.1.1user@host> show interfaces terse t1-1/1/0Interface Admin Link Proto Local Remotet1-1/1/0 up upt1-1/1/0.0 up up inet 1.1.1.1/30What It Means
The sample output for the first command shows that the logical link is up because there are no flags indicating that the link layer is down. The output for the
show interfaces tersecommand shows that logical interfacet1-1/0/0is up.Sample Output
The following output is for a logical interface that is down:
user@host> show interfaces t1-1/1/0Physical interface: t1-1/1/0, Enabled, Physical link is UpInterface index: 29, SNMP ifIndex: 20Link-level type: Cisco-HDLC, MTU: 1504, Clocking: Internal, Speed: T1, Loopback: None, FCS: 16, Framing: ESFDevice flags : Present RunningInterface flags: Link-Layer-Down Point-To-Point SNMP-TrapsLink flags : KeepalivesKeepalive settings: Interval 10 seconds, Up-count 1, Down-count 3Keepalive: Input: 14 (00:01:01 ago), Output: 9 (00:00:05 ago)Last flapped : 2002-01-06 01:09:00 UTC (00:03:39 ago)Input rate : 0 bps (0 pps)Output rate : 0 bps (0 pps)DS1 alarms : NoneDS1 defects : NoneLogical interface t1-1/1/0.0 (Index 9) (SNMP ifIndex 34)Flags:Device-DownPoint-To-Point SNMP-Traps Encapsulation: Cisco-HDLCBandwidth: 0Protocol inet, MTU: 1500, Flags: NoneAddresses, Flags: Dest-route-down Is-Preferred Is-PrimaryDestination: 1.1.1.0/30, Local: 1.1.1.1user@host>show interfaces terse t1-1/1/0Interface Admin Link Proto Local Remotet1-1/1/0 up downt1-1/1/0.0 up down inet 1.1.1.1/30What It Means
The sample output for both commands shows that the logical interface is down. The first command shows that the link layer, device, and destination route are all down. The second command shows that logical interface
t1-1/1/0.0is down.