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

Verifying the Link Services Interface Configuration

To verify a link services configuration, perform the following tasks:

Displaying Multilink Bundle Configurations

Purpose

Verify the multilink bundle configuration.

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 command.

The sample output in this section displays the multilink bundle configurations provided in Configuring MLPPP Bundles and LFI on Serial Links.

The MLFR FRF.15 and MLFR FRF.16 configurations are not displayed in this section, but you can display MLFR configurations in the same manner.

Sample Output

[edit]
user@R0# show interfaces
interfaces {
ls-0/0/0 {
per-unit-scheduler;
unit 0 {
encapsulation multilink-ppp;
fragment-threshold 128;
interleave-fragments;
family inet {
address 10.0.0.10/24;
}
}
}
fe-0/0/1 {
unit 0 {
family inet {
address 192.1.1.1/24;
}
}
}
se-1/0/0 {
per-unit-scheduler;
serial-options {
clocking-mode dce;
clocking-rate 2.0mhz;
}
unit 0 {
family mlppp {
bundle ls-0/0/0.0;
}
}
}
se-1/0/1 {
per-unit-scheduler;
serial-options {
clocking-mode dce;
clocking-rate 2.0mhz;
}
unit 0 {
family mlppp {
bundle ls-0/0/0.0;
}
}
}
}

What it Means

Verify that the output shows the intended multilink bundle configurations. For more information about the format of a configuration file, see the J-series Services Router Basic LAN and WAN Access Configuration Guide.

Displaying Link Services CoS Configurations

Purpose

Displaying the CoS configurations on the link services interface.

Action

From the J-Web interface, select Configuration> View and Edit> View Configuration Text. Alternatively, from the configuration mode in the CLI, enter the show class-of-service command.

The sample output in this section displays the CoS configurations provided in Configuring MLPPP Bundles and LFI on Serial Links.

Sample Output

[edit]
user@R0# show class-of-service
classifiers {
inet-precedence classify_input {
forwarding-class DATA {
loss-priority low code-points 000;
}
forwarding-class VOICE {
loss-priority low code-points 010;
}
}
}
forwarding-classes {
queue 0 DATA;
queue 2 VOICE;
queue 3 NC;
}
interfaces {
ls-0/0/0 {
unit 0 {
scheduler-map s_map;
}
}
fe-0/0/1 {
unit 0 {
classifiers {
inet-precedence classify_input
}
}
}
se-1/0/0 {
unit 0 {
scheduler-map s_map;
shaping-rate 2000000;
}
}
se-1/0/1 {
unit 0 {
scheduler-map s_map;
shaping-rate 2000000;
}
}
}
scheduler-maps {
s_map {
forwarding-class DATA scheduler DATA;
forwarding-class VOICE scheduler VOICE;
forwarding-class NC scheduler NC;
}
}
schedulers {
DATA {
transmit-rate percent 49;
buffer-size percent 49;
}
VOICE {
transmit-rate percent 50;
buffer-size percent 5;
priority high;
}
NC {
transmit-rate percent 1;
buffer-size percent 1;
priority high;
}
}

What it Means

Verify that the output shows the intended CoS configurations. For more information about the format of a configuration file, see the J-series Services Router Basic LAN and WAN Access Configuration Guide.

Verifying Link Services Interface Statistics

Purpose

Verify the link services interface statistics.

Action

The sample output provided in this section is based on the configurations provided in Configuring MLPPP Bundles and LFI on Serial Links. To verify that the constituent links are added to the bundle correctly and the packets are fragmented and transmitted correctly, take the following actions:

  1. On Router R0 and Router R1, the two J-series routers used in this example, configure MLPPP and LFI as described in Configuring MLPPP Bundles and LFI on Serial Links.
  2. From the CLI, enter the ping command to verify that a connection is established between R0 and R1.
  3. Transmit 10 data packets, 200 bytes each, from R0 to R1.
  4. On R0, from the CLI, enter the show interfaces interface-name statistics command.

Sample Output


user@R0> show interfaces ls-0/0/0 statistics detail
Physical interface: ls-0/0/0, Enabled, Physical link is Up
  Interface index: 134, SNMP ifIndex: 29, Generation: 135
  Link-level type: LinkService, MTU: 1504
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Last flapped   : 2006-06-23 11:36:23 PDT (03:38:43 ago)
  Statistics last cleared: 2006-06-23 15:13:12 PDT (00:01:54 ago)
  Traffic statistics:
   Input  bytes  :                    0                    0 bps
   Output bytes  :                 1820                    0 bps
   Input  packets:                    0                    0 pps
   Output packets:                   10                    0 pps
  ...
  Egress queues: 8 supported, 8 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0 DATA                          10                   10                    0
    1 expedited-fo                   0                    0                    0
    2 VOICE                          0                    0                    0
    3 NC                             0                    0                    0

  Logical interface ls-0/0/0.0 (Index 67) (SNMP ifIndex 41) (Generation 133)
    Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: Multilink-PPP
    Bandwidth: 16mbps
    Bundle options:
      ....
      Drop timer period               0
      Sequence number format          long (24 bits)
      Fragmentation threshold         128
      Links needed to sustain bundle  1
      Interleave fragments            Enabled
    Bundle errors:
      Packet drops                    0 (0 bytes)
      Fragment drops                  0 (0 bytes)
     ...
    Statistics         Frames        fps         Bytes          bps
    Bundle:
      Fragments:
        Input :             0          0             0            0
        Output:            20          0          1920            0
      Packets:
        Input :             0          0             0            0
        Output:            10          0          1820            0
    Link:
      se-1/0/0.0
        Input :             0          0             0            0
        Output:            10          0          1320            0
      se-1/0/1.0
        Input :             0          0             0            0
        Output:            10          0           600            0
  ...
      Destination: 10.0.0.9/24, Local: 10.0.0.10, Broadcast: Unspecified, Generation:144

What it Means

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

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

Verifying Link Services CoS

Purpose

Verify CoS configurations on the link services interface.

Action

From the CLI, enter the following commands:

The sample output provided in this section is based on the configurations provided in Configuring MLPPP Bundles and LFI on Serial Links.

Sample Output


user@R0> show class-of-service interface ls-0/0/0
Physical interface: ls-0/0/0, Index: 136
Queues supported: 8, Queues in use: 4
  Scheduler map: [default], Index: 2
  Input scheduler map: [default], Index: 3
  Chassis scheduler map: [default-chassis], Index: 4
 Logical interface: ls-0/0/0.0, Index: 69
    Object               Name                    Type              Index
    Scheduler-map        s_map                   Output            16206
    Classifier          ipprec-compatibility     ip                   12

user@R0> show class-of-service interface fe-0/0/1
Physical interface: fe-0/0/1, Index: 140
          Queues supported: 8, Queues in use: 4
          Scheduler map: [default], Index: 2
          Input scheduler map: [default], Index: 3
        
         Logical interface: fe-0/0/1.0, Index: 68
         Object              Name                   Type         Index
         Classifier         classfy_input            ip           4330

user@R0> show class-of-service classifier name classify_input
Classifier: classfy_input, Code point type: inet-precedence, Index: 4330

  Code point       Forwarding class            Loss priority
    000                  DATA                       low         
    010                  VOICE                      low   

user@R0> show class-of-service scheduler-map s_map
Scheduler map: s_map, Index: 16206

  Scheduler: DATA, Forwarding class: DATA, Index: 3810
  Transmit rate: 49 percent, Rate Limit: none, Buffer size: 49 percent, Priority:low
    Drop profiles:
      Loss priority        Protocol         Index         Name
      Low                    any             1         [default-drop-profile]      
      Medium low             any             1         [default-drop-profile]            
      Medium high            any             1         [default-drop-profile]      
      High                   any             1         [default-drop-profile]           

  Scheduler: VOICE, Forwarding class: VOICE, Index: 43363
  Transmit rate: 50 percent, Rate Limit: none, Buffer size: 5 percent, Priority:high
    Drop profiles:
      Loss priority        Protocol          Index        Name
      Low                      any             1        [default-drop-profile]      
      Medium low               any             1        [default-drop-profile]            
      Medium high              any             1        [default-drop-profile]      
      High                     any             1        [default-drop-profile]            

  Scheduler: NC, Forwarding class: NC, Index: 2435
  Transmit rate: 1 percent, Rate Limit: none, Buffer size: 1 percent, Priority:high
    Drop profiles:
      Loss priority        Protocol         Index      Name
      Low                     any             1       [default-drop-profile]      
      Medium low              any             1       [default-drop-profile]            
      Medium high             any             1       [default-drop-profile]      
      High                    any             1       [default-drop-profile]  

What it Means

These output examples show a summary of configured CoS components. Verify the following information:

For more information about the show class-of-service commands, see the JUNOS Protocols, Class of Service, and System Basics Command Reference.


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