show class-of-service interface
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Forwarding class map information added in Junos OS Release 9.4.
Description
Display the logical and physical interface associations for the classifier, rewrite rules, and scheduler map objects.
Options
- none
Display class of service (CoS) associations for all physical and logical interfaces.
- interface-name
(Optional) Display CoS associations for the specified interface.
Required Privilege Level
view
List of Sample Output
show class-of-service interface (Physical)show class-of-service interface (Logical)
show class-of-service interface (Gigabit Ethernet)
Output Fields
Table 1 describes the output fields for the show class-of-service interface command. Output fields are listed in the approximate order in which they appear.
Table 1: show class-of-service interface Output Fields
Field Name | Field Description |
|---|---|
Physical interface | Name of a physical interface. |
Index | Index of this interface or the internal index of this object. |
Dedicated Queues | Status of dedicated queues configured on an interface. Supported on Trio MPC/MIC interfaces on MX Series routers only. |
Queues supported | Number of queues you can configure on the interface. |
Queues in use | Number of queues currently configured. |
Total non-default queues created | Number of queues created in addition to the default queues. Supported on Trio MPC/MIC interfaces on MX Series routers. |
Shaping rate | Maximum transmission rate on the physical interface. You can configure the shaping rate on the physical interface, or on the logical interface, but not both. Therefore, the Shaping rate field is displayed for the physical interface or the logical interface, but not both. |
Scheduler map | Name of the output scheduler map associated with this interface. |
Input shaping rate | For Gigabit Ethernet IQ2 PICs, maximum transmission rate on the input interface. |
Input scheduler map | For Gigabit Ethernet IQ2 PICs, name of the input scheduler map associated with this interface. |
Chassis scheduler map | Name of the scheduler map associated with the packet forwarding component queues. |
Rewrite | Name and type of the rewrite rules associated with this interface. |
Classifier | Name and type of classifiers associated with this interface. |
Forwaridng-class-map | Name of the forwarding map associated with this interface. |
Logical interface | Name of a logical interface. |
Shaping rate | Maximum transmission rate on the logical interface. You can configure the shaping rate on the physical interface, or on the logical interface, but not both. Therefore, the Shaping rate field is displayed for the physical interface or the logical interface, but not both. |
Object | Category of an object: Classifier, Fragmentation-map (for LSQ interfaces only), Scheduler-map, Rewrite, or Translation Table (for IQE PICs only). |
Name | Name of an object. |
Type | Type of an object: dscp, dscp-ipv6, exp, ieee-802.1, ip, or inet-precedence. |
Sample Output
show class-of-service interface (Physical)
user@host> show class-of-service interface so-0/2/3 Physical interface: so-0/2/3, Index: 135
Queues supported: 8, Queues in use: 4
Total non—default queues created: 4
Scheduler map: <default>, Index: 2032638653
Logical interface: fe-0/0/1.0, Index: 68, Dedicated Queues: no
Shaping rate: 32000
Object Name Type Index
Scheduler-map <default> 27
Rewrite exp-default exp 21
Classifier exp-default exp 5
Classifier ipprec-compatibility ip 8
Forwarding—class—map exp-default exp 5
show class-of-service interface (Logical)
user@host> show class-of-service interface so-0/2/3.0 Logical interface: so-0/2/3.0, Index: 68, Dedicated Queues: no
Shaping rate: 32000
Object Name Type Index
Scheduler-map <default> 27
Rewrite exp-default exp 21
Classifier exp-default exp 5
Classifier ipprec-compatibility ip 8
Forwarding—class—map exp-default exp 5
show class-of-service interface (Gigabit Ethernet)
user@host> show class-of-service interface ge-6/2/0
Physical interface: ge-6/2/0, Index: 175 Queues supported: 4, Queues in use: 4 Scheduler map: <default>, Index: 2 Input scheduler map: <default>, Index: 3 Chassis scheduler map: <default-chassis>, Index: 4
