Verifying a CoS Configuration

To verify a CoS configuration on a Services Router, perform the tasks relevant to your CoS configuration from the following:

Verifying Multicast Session Announcements

Purpose

Verify that the Services Router is listening to the appropriate groups for multicast Session Announcement Protocol (SAP) session announcements.

Action

From the CLI, enter the show sap listen command.

Sample Output


user@host> show sap listen
Group Address   Port
224.2.127.254   9875

Meaning

The output shows a list of the group addresses and ports that SAP and SDP listen on. Verify the following information:

Related Topics

For a complete description of the show sap listen command and output, see the Junos Routing Protocols and Policies Command Reference.

Verifying a Virtual Channel Configuration

Purpose

Verify the virtual channel configuration on a logical interface. Verify the class-of-service (CoS) configuration associated with an interface on a Services Router.

Action

From the CLI, enter the show class-of-service virtual-channel command.

Sample Output


user@host> show class-of-service virtual-channel
Virtual channel: vc-1 Index: 1

Meaning

Verify that the name of the configured virtual channel is displayed in the output.

Related Topics

For a complete description of the show class-of-service virtual-channel command and output, see the Junos System Basics and Services Command Reference.

Verifying a Virtual Channel Group Configuration

Purpose

Verify the virtual channel group configuration on a logical interface. Verify the class-of-service (CoS) configuration associated with an interface on a Services Router.

Action

From the CLI, enter the show class-of-service virtual-channel-group command.

Sample Output


user@host> show class-of-service virtual-channel-group
Virtual channel group: vc-group, Index: 16321        Virtual channel: vc-1
		 Scheduler map: sc-map

Meaning

Verify that the name of the configured virtual channel group is displayed in the output.

Related Topics

For a complete description of the show class-of-service virtual-channel-group command and output, see the Junos System Basics and Services Command Reference.

Verifying an Adaptive Shaper Configuration

Purpose

Verify the adaptive shaper trigger point and its associated transmit rate. Verify the class-of-service (CoS) configuration associated with an interface on a Services Router.

Action

From the CLI, enter the show class-of-service adaptive-shaper and show class-of-service interface t1-0/0/2 commands.

Sample Output


user@host> show class-of-service adaptive-shaper
Adaptive shaper: fr-shaper, Index: 35320
  Trigger type    Shaping rate
        BECN         64000 bps

user@host> show class-of-service interface t1-0/0/2
Physical interface: t1-0/0/2, Index: 137
Queues supported: 8, Queues in use: 4
  Scheduler map: <default>, Index: 2

  Logical interface: t1-0/0/2.0, Index: 69
    Object            Name                   Type                    Index
    Adaptive-shaper   fr-shaper                                      35320
    Classifier        ipprec-compatibility   ip                         11

Meaning

Verify the following information:

Related Topics

For a complete description of the show class-of-service adaptive-shaper and show class-of-service interface commands and output, see the Junos System Basics and Services Command Reference.

Displaying CoS Tunnel Configurations

Purpose

Verify the configuration of the CoS tunnel queuing on a Services Router. You can analyze the flow of traffic by displaying the entire configuration. The following output is specific to CoS queuing configuration.

Action

From the CLI on Router A and B, enter the following show commands.

Router B

user@host# show interfaces gr-0/0/0per-unit-schedulerunit 0 {tunnelsource 70.0.0.1;destination 70.0.0.2;family inet {address 10.80.0.1/24;}}}
user@host# show class-of-service interfaces gr-0/0/0unit 0 {scheduler-map SMAP;shaping-rate 200m;}

Router A

user@host# show chassisfpc 0 {pic 0 {tunnel-queuing}}[edit]

Verifying a CoS GRE Tunnel Queuing Configuration

Purpose

Verify that the Services Router is configured properly for tunnel configuration.

Action

From the CLI, enter the show interfaces queue gr-0/0/0.0 command.

Note: If you enter gr-0/0/0 only, queue information for all tunnels is displayed. If you enter gr-0/0/0 unit logical_unit_number queue information for the specific tunnel is displayed.

Sample Output


user@host> show interfaces queue gr-0/0/0.0
Logical interface gr-0/0/0.0 (Index 68) (SNMP ifIndex 112) 
Forwarding classes: 8 supported, 4 in use 
Egress queues: 8 supported, 4 in use Burst size: 0
Queue: 0, Forwarding classes: VOICE
  Queued:
    Packets              :               7117734                  7998 pps
    Bytes                :             512476848               4606848 bps
  Transmitted:
    Packets              :               4548146                  3459 pps
    Bytes                :             327466512               1992912 bps
    Tail-dropped packets :                     0                     0 pps
    RED-dropped packets  :               2569421                  4537 pps
     Low                 :                     0                     0 pps
     Medium-low          :                     0                     0 pps
     Medium-high         :                     0                     0 pps
     High                :               2569421                  4537 pps
    RED-dropped bytes    :             184998312               2613640 bps
     Low                 :                     0                     0 bps
     Medium-low          :                     0                     0 bps
     Medium-high         :                     0                     0 bps
     High                :             184998312               2613640 bps
Queue: 1, Forwarding classes: GOLD
  Queued:
    Packets              :                117600                     0 pps
    Bytes                :               8467200                     0 bps
  Transmitted:
    Packets              :                102435                     0 pps
    Bytes                :               7375320                     0 bps
    Tail-dropped packets :                     0                     0 pps
    RED-dropped packets  :                 15165                     0 pps
     Low                 :                     0                     0 pps
     Medium-low          :                     0                     0 pps
     Medium-high         :                     0                     0 pps
     High                :                 15165                     0 pps
    RED-dropped bytes    :               1091880                     0 bps
     Low                 :                     0                     0 bps
     Medium-low          :                     0                     0 bps
     Medium-high         :                     0                     0 bps
     High                :               1091880                     0 bps
Queue: 2, Forwarding classes: SILVER
  Queued:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
  Transmitted:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
    Tail-dropped packets :                     0                     0 pps
    RED-dropped packets  :                     0                     0 pps
     Low                 :                     0                     0 pps
     Medium-low          :                     0                     0 pps
     Medium-high         :                     0                     0 pps
     High                :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps
     Low                 :                     0                     0 bps
     Medium-low          :                     0                     0 bps
     Medium-high         :                     0                     0 bps
     High                :                     0                     0 bps
Queue: 3, Forwarding classes: BRONZE
  Queued:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
  Transmitted:
    Packets              :                     0                     0 pps
    Bytes                :                     0                     0 bps
    Tail-dropped packets :                     0                     0 pps
    RED-dropped packets  :                     0                     0 pps
     Low                 :                     0                     0 pps
     Medium-low          :                     0                     0 pps
     Medium-high         :                     0                     0 pps
     High                :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps
     Low                 :                     0                     0 bps
     Medium-low          :                     0                     0 bps
     Medium-high         :                     0                     0 bps
     High                :                     0                     0 bps

Meaning

The output lists the egress queues and the corresponding forwarding classes. Assuming that traffic is correctly classified using appropriate classifiers on the ingress port, verify the traffic flow in various queues.

Related Topics

For a complete description of the show interfaces queue command and output, see the Junos Interfaces Command Reference.

Verifying a CoS IP-IP Tunnel Configuration

Purpose

Verify that the Services Router is configured properly for tunnel configuration.

Action

From the CLI, enter the show interfaces queue ip-0/0/0.0 command.

Note: If you enter ip-0/0/0 only, queue information for all tunnels is displayed. If you enter ip-0/0/0 unit logical_unit_number queue information for the specific tunnel is displayed.

Sample Output


user@host> show interfaces queue ip-0/0/0.0
Logical interface ip-0/0/0.0 (Index 70) (SNMP ifIndex 56
Forwarding classes: 8 supported, 4 in use
Egress queues: 8 supported, 4 in use
Burst size: 0
Queue: 0, Forwarding classes: q0
Queued:
  Packets: 38802710 22687 pps
  Bytes: 10942364220 51183344 bps

Meaning

The output lists the egress queues and the corresponding forwarding classes. Assuming that traffic is correctly classified using appropriate classifiers on the ingress port, verify the traffic flow in various queues.

Related Topics

For a complete description of the show interfaces queue command and output, see the Junos Interfaces Command Reference.