Step 7: 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 so-fpc/pic/portuser@host>show interfaces so-fpc/pic/portterseSample Output 1
The following sample output displays the information for a logical interface that is up:
user@host> show interfaces so-2/2/0Physical interface: so-2/2/0, Enabled,Physical link is UpInterface index: 21, SNMP ifIndex: 45Link-level type: Cisco-HDLC, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3, Loopback: NoneFCS: 16, Payload scrambler: EnabledDevice flags : Present RunningInterface flags: Point-To-Point SNMP-TrapsLink flags : No-KeepalivesInput rate : 0 bps (0 pps)Output rate : 0 bps (0 pps)SONET alarms : NoneSONET defects : NoneLogical interface so-2/2/0.0 (Index 7) (SNMP ifIndex 33)Flags: Point-To-Point SNMP-Traps Encapsulation: Cisco-HDLCProtocol inet, MTU: 4470, Flags: NoneAddresses, Flags: Is-Preferred Is-PrimaryDestination: 10.0.2/24, Local: 10.0.2.1user@host> show interfaces so-2/2/0 terseInterface Admin Link Proto Local Remoteso-2/2/0 up upso-2/2/0.0 up up inet 10.0.2.1/24What It Means
The
show interfacescommand in sample output 1shows that the logical link is up because there are no flags indicating that the link layer is down. The output for theshow interfaces tersecommand shows that logical interfaceso-2/2/0.0is up.Sample Output 2
The following sample output displays the information for a logical interface that is down:
user@host> show interfaces so-2/2/0Physical interface: so-2/2/0, Enabled, Physical link is UpInterface index: 21, SNMP ifIndex: 45Link-level type: Cisco-HDLC, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC3, Loopback: None,FCS: 16, Payload scrambler: EnabledDevice flags : Present Running Loop-DetectedInterface flags: Link-Layer-Down Point-To-Point SNMP-TrapsLink flags : KeepalivesKeepalive settings: Interval 10 seconds, Up-count 1, Down-count 3Keepalive: Input: 14 (00:00:05 ago), Output: 14 (00:00:05 ago)Input rate : 0 bps (0 pps)Output rate : 0 bps (0 pps)SONET alarms : NoneSONET defects : NoneLogical interface so-2/2/0.0 (Index 7) (SNMP ifIndex 33)Flags: Device-Down Point-To-Point SNMP-Traps Encapsulation: Cisco-HDLCProtocol inet, MTU: 4470, Flags: NoneAddresses, Flags: Dest-route-down Is-Preferred Is-PrimaryDestination: 10.0.2/24, Local: 10.0.2.1user@host> show interfaces so-2/2/0 terseInterface Admin Link Proto Local Remoteso-2/2/0 up downso-2/2/0.0 up down inet 10.0.2.1/24What It Means
Both commands in sample output 2 show 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
so-2/2/0.0is down.