CoS Hardware Resource Configuration
17-12 Configuring Quality of Service
Inbound Rate Limiting Port Configuration Entries
----------------------------------------------------------------------
Port Group Name :
Port Group :1
Port Type :0
Assigned Ports :ge.1.3-5
----------------------------------------------------------------------
Flood Control Configuration
Flood control (flood-ctrl) provides for the configuration of a rate limiter to limit the amount of
unknown unicast, multicast or broadcast packets a port receives from egressing all other ports. In
this example, port ge.1.3 will be configured to limit the reception of unknown unicast packets on
CoS Index 3 (802.1 priority 3) to a threshold of 3,000 packets per second.
CoS Port Configuration Layer
For the CoS port configuration layer, use the set cos port-config flood-ctrl command to assign
ports to port group 1.0 for the flood control configuration:
System(su)->set cos port-config flood-ctrl 1.0 ports ge.1.3 append
CoS Port Resource Layer
For the CoS port resource layer, use the set cos port-resource flood-ctrl command to set the
packets-per-second rate to 3,000 packets, for this flood control port group 1.0:
System(su)->set cos port-resource flood-ctrl 1.0 unicast rate 3000
CoS Reference Layer
The CoS reference layer is not applicable to flood control.
CoS Settings Layer
The CoS settings layer is not applicable to flood control.
Enable CoS State
CoS configuration must be enabled to become active, using the set cos state enable command:
System(su)->set cos state enable
Flood Control Configuration Example Show Command Output
Use the show cos settings command to display the flood control state to CoS index (802.1 priority)
mapping:
System(su)->show cos settings
CoS Index Priority ToS IRL flood-ctrl
--------- ---------- ------- ------- ----------
0 0 * * enabled
1 1 * 0 enabled
2 2 * * enabled
3 3 * * enabled