JUNOS Configuration Examples




JUNOS Configuration Examples


[Contents] [Prev] [Next] [ Index] [Command Line]

Verifying Your Work

To verify correct operation of a channelized STM1 IQ interface, use the following commands:

  • show interfaces
  • show interfaces controller
  • show interfaces interval (for channelized STM1, E1, and channelized E1 channels)

To view the interface names of the physical channelized STM1 IQ interface and the channels configured on this interface, use the show interfaces controller command:


user@router> show interfaces controller cstm1-0/0/0
Controller                                                           Admin Link
cstm1-0/0/0                                                          up    up
cau4-0/0/0                                                           up    up
    e1-0/0/0:1                                                       up    up
    e1-0/0/0:2                                                       up    up
    e1-0/0/0:3                                                       up    up
    e1-0/0/0:4                                                       up    up
    e1-0/0/0:5                                                       up    up
    e1-0/0/0:6                                                       up    up
    e1-0/0/0:7                                                       up    up
    e1-0/0/0:8                                                       up    up
    e1-0/0/0:9                                                       up    up
    e1-0/0/0:10                                                      up    up
    ce1-0/0/0:11                                                     up    up
        ds-0/0/0:11:1                                                up    up
        ds-0/0/0:11:2                                                up    up
        ds-0/0/0:11:3                                                up    up
        ds-0/0/0:11:4                                                up    up

To view information about the physical channelized interface, include the cstm1-fpc/pic/port option with the show interfaces command:


user@router> show interfaces cstm1-0/0/0
Physical interface: cstm1-0/0/0, Enabled, Physical link is Up
  Interface index: 146, SNMP ifIndex: 35
  Link-level type: Controller, Clocking: Internal, SDH mode, Speed: OC3,
Loopback: None, Parent: None
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : None
  Last flapped   : 2003-02-06 15:01:56 PST (07:15:06 ago)
  SDH   alarms   : None
  SDH   defects  : None

To view information about the channelized AU-4 channel, include the cau4-fpc/pic/port option with the show interfaces command:


user@router> show interfaces cau4-0/0/0
Physical interface: cau4-0/0/0, Enabled, Physical link is Up
  Interface index: 147, SNMP ifIndex: 36
  Link-level type: Controller, Clocking: Internal, SDH mode, Speed: OC3,
Loopback: None, Parent: cstm1-0/0/0 Interface index 146
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : None
  Last flapped   : 2003-02-06 19:36:31 PST (02:40:42 ago)
  SDH   alarms   : None
  SDH   defects  : None

To view information about an E1 channel, include the e1-fpc/pic/port:channel option with the show interfaces command. In this case, the fractional E1 appears as channel e1-0/0/0:1 and the normal E1 appears as channel e1-0/0/0:2.


user@router> show interfaces e1-0/0/0:1
Physical interface: e1-0/0/0:1, Enabled, Physical link is Up
  Interface index: 148, SNMP ifIndex: 33
  Link-level type: PPP, MTU: 1504, Clocking: Internal,  Speed: 1280kbps ,
# Because the fractional E1 uses 20 time slots, 20 x 64 Kbps = 1280 Kbps.
Loopback: None, FCS: 16, Framing: G704,
  Parent: cau4-0/0/0 Interface index 147
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : Keepalives
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 1055 (00:00:03 ago), Output: 1059 (00:00:06 ago)
  LCP state: Opened
  NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, 
mpls: Not-configured
  CHAP state: Not-configured
  Last flapped   : Never
  Input rate     : 16 bps (0 pps)
  Output rate    : 16 bps (0 pps)
  DS1   alarms   : None
  DS1   defects  : None
  SDH   alarms   : None
  SDH   defects  : None
  Logical interface e1-0/0/0:1.0 (Index 67) (SNMP ifIndex 169) 
    Flags: Point-To-Point SNMP-Traps Encapsulation: PPP
    Bandwidth: 0
    Protocol inet, MTU: 1500
      Flags: None
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: 10.133.0.0/30, Local: 10.133.0.1

user@router> show interfaces e1-0/0/0:2
Physical interface: e1-0/0/0:2, Enabled, Physical link is Up
  Interface index: 149, SNMP ifIndex: 34
  Link-level type: PPP, MTU: 1504, Clocking: Internal,  Speed: E1,  
Loopback: None, FCS: 16, Framing: G704,
  Parent: cau4-0/0/0 Interface index 147
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : Keepalives
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 917 (00:00:05 ago), Output: 915 (00:00:01 ago)
  LCP state: Opened
  NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, 
mpls: Not-configured
  CHAP state: Not-configured
  Last flapped   : Never
  Input rate     : 16 bps (0 pps)
  Output rate    : 16 bps (0 pps)
  DS1   alarms   : None
  DS1   defects  : None
  SDH   alarms   : None
  SDH   defects  : None
  Logical interface e1-0/0/0:2.0 (Index 68) (SNMP ifIndex 170) 
    Flags: Point-To-Point SNMP-Traps Encapsulation: PPP
    Bandwidth: 0
    Protocol inet, MTU: 1500
      Flags: None
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: 10.133.0.4/30, Local: 10.133.0.5

To view information about a CE1 channel, include the ce1-fpc/pic/port:channel option with the show interfaces command:


user@router> show interfaces ce1-0/0/0:11
Physical interface: ce1-0/0/0:11, Enabled, Physical link is Up
  Interface index: 169, SNMP ifIndex: 288
  Link-level type: Controller, Clocking: Internal, Speed: E1, Loopback: None, Framing: G704, Parent: cau4-0/0/0 Interface index 147
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : None
  Last flapped   : 2003-02-06 22:05:23 PST (00:13:45 ago)
  DS1   alarms   : None
  DS1   defects  : None
  SDH   alarms   : None
  SDH   defects  : None

To view information about an NxDS0 interface, include the ds-fpc/ pic/port:channel:channel option with the show interfaces command. For channel group ds-0/0/0:11:1, the speed of the link is 640 Kbps because it contains 10 DS0s (64 x 10 = 640). For single DS0 channel ds-0/0/0:11:4, the speed of the link is the standard 64 Kbps.


user@router> show interfaces ds-0/0/0:11:1
Physical interface: ds-0/0/0:11:1, Enabled, Physical link is Up
  Interface index: 170, SNMP ifIndex: 289
  Link-level type: PPP, MTU: 1504, Clocking: Internal, Speed: 640kbps, 
Loopback: Illegal, FCS: 16,
  Parent: ce1-0/0/0:11 Interface index 169
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : Keepalives
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 0 (never), Output: 0 (never)
  LCP state: Conf-req-sent
  NCP state: inet: Down, inet6: Not-configured, iso: Not-configured, mpls: Not-configured
  CHAP state: Not-configured
  Last flapped   : Never
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  DS0 BERT configuration:
    BERT time period: 10 seconds, Elapsed: 0 seconds
    Induced Error rate: 10e-0, Algorithm: 2^15 - 1, O.151, Pseudorandom (9)
  Logical interface ds-0/0/0:11:1.0 (Index 77) (SNMP ifIndex 290) 
    Flags: Hardware-Down Point-To-Point SNMP-Traps Encapsulation: PPP
    Bandwidth: 0
    Protocol inet, MTU: 1500
      Flags: Protocol-Down
      Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
        Destination: 10.134.1.0/30, Local: 10.134.1.1
user@router>  show interfaces ds-0/0/0:11:4
Physical interface: ds-0/0/0:11:4, Enabled, Physical link is Up
  Interface index: 173, SNMP ifIndex: 295
  Link-level type: PPP, MTU: 1504, Clocking: Internal, Speed: 64kbps, Loopback: Illegal, FCS: 16,
  Parent: ce1-0/0/0:11 Interface index 169
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : Keepalives
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 0 (never), Output: 0 (never)
  LCP state: Conf-req-sent
  NCP state: inet: Down, inet6: Not-configured, iso: Not-configured, mpls: Not-configured
  CHAP state: Not-configured
  Last flapped   : Never
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  DS0 BERT configuration:
    BERT time period: 10 seconds, Elapsed: 0 seconds
    Induced Error rate: 10e-0, Algorithm: 2^15 - 1, O.151, Pseudorandom (9)
  Logical interface ds-0/0/0:11:4.0 (Index 80) (SNMP ifIndex 296)
    Flags: Hardware-Down Point-To-Point SNMP-Traps Encapsulation: PPP
    Bandwidth: 0
    Protocol inet, MTU: 1500
      Flags: Protocol-Down
      Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
        Destination: 10.134.4.0/30, Local: 10.134.4.1
[Contents] [Prev] [Next] [ Index] [Command Line]