The protocol-group command configures the CIR, and weight of the packets to be sent to the CPU in specific protocol groups.
The undo protocol-group command restores the default settings.
Table 1 lists the default CIR and weight for protocol groups.
protocol-group { whitelist | user-defined-flow | management | route-protocol | multicast | arp | mpls | access-user | link-layer | network-layer | system-message | blacklist | check-failed | fwddata-to-cp } { cir cir-value | weight weight-value } *
undo protocol-group { whitelist | user-defined-flow | management | route-protocol | multicast | arp | mpls | access-user | link-layer | network-layer | system-message | blacklist | check-failed | fwddata-to-cp }
Parameter | Description | Value |
---|---|---|
whitelist |
Indicate whitelist packets. |
- |
user-defined-flow |
Indicate user defined flow packets. |
- |
management |
Indicate management packets. |
- |
route-protocol |
Indicate multicast packets. |
- |
multicast |
Indicate multicast packets. |
- |
arp |
Indicate arp packets. |
- |
mpls |
Indicate mpls packets. |
- |
access-user |
Indicate access-user packets. |
- |
link-layer |
Indicate link-layer packets. |
- |
network-layer |
Indicate network-layer packets. |
- |
system-message |
Indicate system-message packets. |
- |
blacklist |
Indicate blacklist packets. |
- |
check-failed |
Indicate check-failed packets. |
- |
fwddata-to-cp |
Indicate foward-data-tocp packets. |
- |
cir cir-value |
Specifies the committed information rate (CIR). |
The value is an integer ranging from 0 to 51200, in kbit/s. |
weight weight-value |
Specifies the weight. |
The value is an integer ranging from 1 to 63. |
Usage Scenario
The remaining bandwidth of the total bandwidth deducting the CIR, will be allocated to these protocol groups based on the weight values.
Table1 Default CIR, and weight for protocol groups (4-level scheduling)
Protocol Group | Description | Default Weight | Default CIR (kbit/s) |
---|---|---|---|
fwddata-to-cp | Packet belong to foward-data-to-cp protocol | 1 | 0 |
check-failed | Packet belong to check-failed protocol | 1 | 0 |
blacklist | Packet belong to blacklist protocol | 1 | 0 |
system-message | Packet belong to system-message protocol | 1 | 100 |
management | Management packets | 4 | 0 |
whitelist | Group of authorized users or high-priority users | 10 | 1024 |
access-user | Access packets | 3 | 0 |
multicast | Multicast packets | 4 | 0 |
link-layer | Data link layer packets, including connectivity packets and reliability packets.Data link layer packets also include protocol packets that influence services and links on the data link layer. | 4 | 0 |
mpls | MPLS packets | 2 | 0 |
Network-layer | Network layer packets, including entries that the forwarding plane instructs the control plane to deliver | 3 | 0 |
user-defined-flow | User-defined flows | 4 | 0 |
arp | ARP messages | 2 | 0 |
route-protocol | Routing protocol packets | 4 | 0 |
In VS mode, this command is supported only by the admin VS.