UMN:CLI User Manual
V5808
192
overwrite: changes 802.1p class of service value with
the one you set
action match cos same-as-tos
overwrite
Changes the 802.1p CoS field in the packet with an IP
ToS precedence value
action match cpu-cos <0-7>
Configures the CPU rx class of service value.
0-7: CoS value
action match ip-precedence <0-
7>
Configures the IP ToS precedence value in the packet.
0-7: ToS precedence value
action match ip-precedence
same-as-cos
Changes the IP ToS precedence value in the packet
with an 802.1p CoS value.
To delete the CoS or ToS matching condition, use the following command.
no action match cos [overwrite]
Deletes the CoS or ToS matching
condition.
no action match cos same-as-tos overwrite
no action match ip-precedence
no action match ip-precedence same-as-cos
7.5.4.6 Attaching a Policy to an interface
After you configure a rule including the packet classification, policing and rule action, you
should attach a policy to an interface and to specify port or VLAN in which the policy
should be applied. If you do not specify an interface for rule, rule does not work properly.
To attach a policy to an interface, use the following command.
interface-binding port ingress
{PORTS | cpu | any }
Attaches the policy to a specified ingress port or any
port.
PORTS: port number
interface-binding port egress
{PORTS | cpu | any }
Attaches the policy to a specified egress port or any
port.
PORTS: port number
interface-binding vlan { VLANS |
any }
Attaches the policy to a specified vlan or any vlan.
VLANS: VLAN ID (1-4094)
To detach a policy from an interface, use the following command.
no interface-binding port
ingress [PORTS]
Removes an attached policy from ingress port.
no interface-binding port egress
[PORTS]
Removes an attached policy from egress port.
no interface-binding vlan
Removes an attached policy from vlan.