Configuring NBAR for Stateful Protocols Example

On the input interface, three class maps have been created: voice-in, videoconferencing-in, and interactive-in. The voice-in class map will match the RTP audio protocol; the videoconferencing-in class map will match the RTP video protocol; and the interactive-in class map will match the Citrix protocol.

The policy map class mark will then do the following:

■ If the packet matches the voice-in class map, the packet differentiated services code point (DSCP) field will be set to Expedited Forwarding (EF). If the packet matches the videoconferencing-in class map, the packet DSCP field will be set to AF41. If the packet matches the interactive-in class map, the DSCP field will be set to AF31.

■ The policy map class mark is applied to the input interface, E0/0.

On the output interface, three class maps have been created: voice-out, videoconferencing-out, and interactive-out. The voice-out class map will match the DSCP field for EF. The videoconferencing-out class map will match the DSCP field for AF41. The interactive-out class map will match the DSCP field for AF31.

In the figure, policy-map qos-policy will then do the following:

■ If the packet matches the class map voice-out, the low-latency queuing (LLQ) priority bandwidth will be set to 10 percent of the interface's bandwidth. If the packet matches the class map videoconferencing-out, the class-based weighted-fair queuing (CBWFQ) minimum-guaranteed bandwidth will be set to 20 percent of the interface bandwidth and if the packet matches the class map interactive-out, the CBWFQ will be set to 30 percent. All other packet flows will be classified as class-default and fair-queuing will be performed on them.

■ The policy map class mark is applied to the output interface, S0/0.

Was this article helpful?

0 0

Post a comment