[Contents] [Prev] [Next] [Index] [Report an Error]

Verifying Interface Configuration

To verify an interface configuration, perform these tasks:

Verifying the Link State of All Interfaces

Purpose

By using the ping tool on each peer address in the network, verify that all interfaces on the Services Router are operational.

Action

For each interface on the Services Router:

  1. In the J-Web interface, select Diagnose>Ping Host.
  2. In the Remote Host box, type the address of the interface for which you want to verify the link state.
  3. Click Start. Output appears on a separate page.

Sample Output

PING 10.10.10.10 : 56 data bytes
64 bytes from 10.10.10.10: icmp_seq=0 ttl=255 time=0.382 ms
64 bytes from 10.10.10.10: icmp_seq=1 ttl=255 time=0.266 ms

What it Means

If the interface is operational, it generates an ICMP response. If this response is received, the round-trip time in milliseconds is listed in the time field. For more information about the output, see the J-series Services Router Administration Guide.

For more information about using the J-Web interface to ping a host, see the J-series Services Router Administration Guide.

For information about the ping command, see the J-series Services Router Administration Guide or the JUNOS Protocols, Class of Service, and System Basics Command Reference.

Verifying Interface Properties

Purpose

Verify that the interface properties are correct.

Action

From the CLI, enter the show interfaces detail command.

Sample Output


user@host> show interfaces detail
Physical interface: fe-1/0/0, Enabled, Physical link is Up
  Interface index: 134, SNMP ifIndex: 27, Generation: 17
  Link-level type: Ethernet, MTU: 1514, Speed: 100mbps, Loopback: Disabled,
  Source filtering: Disabled, Flow control: Enabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps 16384
  Link flags     : None
  CoS queues     : 4 supported
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: 00:90:69:87:44:9d, Hardware address: 00:90:69:87:44:9d
  Last flapped   : 2004-08-25 15:42:30 PDT (4w5d 22:49 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                    0                    0 bps
   Output bytes  :                    0                    0 bps
   Input  packets:                    0                    0 pps
   Output packets:                    0                    0 pps
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0 best-effort                    0                    0                    0
    1 expedited-fo                   0                    0                    0
    2 assured-forw                   0                    0                    0
    3 network-cont                   0                    0                    0
  Active alarms  : None
  Active defects : None

What it Means

The output shows a summary of interface information. Verify the following information:

For more information about show interfaces detail, see the JUNOS Interfaces Command Reference.

Verifying ADSL Interface Properties

Purpose

Verify that the interface properties are correct.

Action

From the CLI, enter the show interfaces interface-name extensive command.

Sample Output


user@host> show interfaces at-3/0/0 extensive
Physical interface: at-3/0/0, Enabled, Physical link is Up
  Interface index: 141, SNMP ifIndex: 23, Generation: 48
  Link-level type: ATM-PVC, MTU: 4482, Clocking: Internal, ADSL mode, Speed: ADSL,
  Loopback: None
  Device flags   : Present Running
  Link flags     : None
  CoS queues     : 8 supported
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: 00:05:85:c7:44:3c
  Last flapped   : 2005-05-16 05:54:41 PDT (00:41:42 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                 4520                    0 bps
   Output bytes  :                39250                    0 bps
   Input  packets:                   71                    0 pps
   Output packets:                 1309                    0 pps
  Input errors:
    Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0,
    L3 incompletes: 0, L2 channel errors: 1, L2 mismatch timeouts: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 3, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0,
    Resource errors: 0
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0 best-effort                    4                    4                    0
    1 expedited-fo                   0                    0                    0
    2 assured-forw                   0                    0                    0
    3 network-cont                2340                 2340                    0
  ADSL  alarms   : LOS, LOM, LOCDNI, FAR_LOF,  FAR_LOS, FAR_LOCDNI
  ADSL  defects  : LOF, LOS, LOCDNI, FAR_LOF,  FAR_LOS, FAR_LOCDNI
  ADSL media:            Seconds        Count  State
    LOF                  239206            2  OK
    LOS                  239208            1  OK
    LOM                       3            1  OK
    LOP                       0            0  OK
    LOCDI                     3            1  OK
    LOCDNI               239205            1  OK
  ADSL status:
    Modem status  : Showtime
    DSL mode      :     Auto    Annex A
    Last fail code: ATU-C not detected
  ADSL Statistics:                        ATU-R                  ATU-C
    Attenuation (dB)         :              0.5                    0.0
    Capacity used (%)        :               81                     72
    Noise margin (dB)        :              9.0                    9.5
    Output power (dBm)       :              7.5                    8.5

                                  Interleave       Fast  Interleave       Fast
    Bit rate (kbps)   :                    0       8128           0        896
    CRC               :                    0          3           0          0
    FEC               :                    0          0           0          0
    HEC               :                    0          3           0          0
    Received cells    :                    0        287
    Transmitted cells :                    0       4900
    Bit error rate    :                    0          0
  ATM status:
    HCS state:     Hunt
    LOC      :       OK
  ATM Statistics:
    Uncorrectable HCS errors: 0, Correctable HCS errors: 0, Tx cell FIFO overruns: 0,
    Rx cell FIFO overruns: 0, Rx cell FIFO underruns: 0, Input cell count: 0,
    Output cell count: 0, Output idle cell count: 0, Output VC queue drops: 0,
    Input no buffers: 0, Input length errors: 0, Input timeouts: 0, Input invalid VCs: 0,
    Input bad CRCs: 0, Input OAM cell no buffers: 0
  Packet Forwarding Engine configuration:
    Destination slot: 3
    CoS transmit queue               Bandwidth               Buffer Priority   Limit
                              %            bps     %          bytes
    0 best-effort            95        7600000    95              0      low    none
    3 network-control         5         400000     5              0      low    none

  Logical interface at-3/0/0.0 (Index 66) (SNMP ifIndex 28) (Generation 23)
    Flags: Point-To-Point SNMP-Traps 16384 Encapsulation: ATM-PPP-LLC
    Traffic statistics:
     Input  bytes  :                 2432
     Output bytes  :                    0
     Input  packets:                  116
     Output packets:                    0
    Local statistics:
     Input  bytes  :                 1810
     Output bytes  :                    0
     Input  packets:                   78
     Output packets:                    0
    Transit statistics:
     Input  bytes  :                  622                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                   38                    0 pps
     Output packets:                    0                    0 pps
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive statistics:
    Input : 33 (last seen 00:00:03 ago)
    Output: 34 (last sent 00:00:03 ago)
  LCP state: Opened
  NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls: Not-configured
  CHAP state: Success
    Protocol inet, MTU: 4470, Generation: 24, Route table: 0
      Flags: None
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: 155.55.5.1, Local: 155.55.5.2, Broadcast: Unspecified, Generation: 45
    VCI 0.35
      Flags: Active, 1024
      Total down time: 0 sec, Last down: Never
      ATM per-VC transmit statistics:
       Tail queue packet drops: 0
      Traffic statistics:
       Input  bytes  :                 2432
       Output bytes  :                    0
       Input  packets:                  116
       Output packets:                    0

  Logical interface at-3/0/0.32767 (Index 69) (SNMP ifIndex 25) (Generation 21)
    Flags: Point-To-Multipoint No-Multicast SNMP-Traps 16384 Encapsulation: ATM-VCMUX
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    VCI 0.4
      Flags: Active, 1024
      Total down time: 0 sec, Last down: Never
      ATM per-VC transmit statistics:
       Tail queue packet drops: 0
      Traffic statistics:
       Input  bytes  :                  208
       Output bytes  :                  208
       Input  packets:                    4
       Output packets:                    4

What it Means

The output shows a summary of interface information. Verify the following information:

Examine the operational statistics for an ADSL interface. Statistics in the ATU-R (ADSL transceiver unit–remote) column are for the near end. Statistics in the ATU-C (ADSL transceiver unit–central office) column are for the far end.

For more information about show interfaces extensive, see the JUNOS Interfaces Command Reference.

Displaying a PPPoA Configuration for an ATM-over-ADSL Interface

Purpose

Verify the PPPoA configuration for an ATM-over-ADSL interface.

Action

From the J-Web interface, select Configuration>View and Edit>View Configuration Text. Alternatively, from configuration mode in the CLI, enter the show interfaces interface-name and the show access commands from the top level.

Sample Output

[edit]
user@host# show interfaces at-3/0/0
at-3/0/0 {
encapsulation atm-pvc;
atm-options {
vpi 0;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation atm-ppp-llc;
vci 0.100;
ppp-options {
chap {
access-profile A-ppp-client;
local-name A-at-3/0/0.0;
passive;
}
}
family inet {
negotiate address;
}
}
}
user@host# show access
profile A-ppp-client {
client A-ppp-server chap-secret "$9$G4ikPu0ISyKP5clKv7Nik.PT3"; ## SECRET-DATA
}

What it Means

Verify that the output shows the intended configuration of PPPoA. For more information about the format of a configuration file, see Viewing the Configuration Text.


[Contents] [Prev] [Next] [Index] [Report an Error]