Assigning CoS Components to Interfaces (CLI Procedure)
After you have defined the following CoS components, you must assign them to logical or physical interfaces.
- Forwarding classes—Assign only to logical interfaces.
- Classifiers—Assign only to logical interfaces.
- Scheduler maps—Assign to either physical or logical interfaces.
- Rewrite rules—Assign to either physical or logical interfaces.
You can assign a CoS component to a single interface or to multiple interfaces using wild cards.
To assign CoS components to interfaces:
To assign CoS components to a single interface, associate a CoS component (for example a scheduler map named ethernet-cos-map) with an interface:
[edit class-of-service interfaces]
user@switch# set ge-0/0/20 scheduler-map ethernet-cos-mapTo assign a CoS component to multiple interfaces, associate a CoS component (for example, a rewrite rule named customup-rw) to all Gigabit Ethernet interfaces on the switch, use wild characters for the interface name and logical-interface (unit) number:
[edit class-of-service interfaces]
user@switch# set ge-* unit * rewrite-rules ieee-802.1 customup-rw