No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Commands to Apply CAR on Traffic Belonging to a Perticuler Vlan under an Interface

Publication Date:  2012-07-27 Views:  57 Downloads:  0
Issue Description
Requirement:
How to apply CAR on traffic from a perticular VLAN.  
Alarm Information
No specific alarm
Handling Process
Following commands cab be used to acheive the above goal:
traffic classifier car operator and
 if-match any
#
traffic behavior car
car cir 500000 cbs 500000 pbs 0 green pass yellow discard red discard
#
traffic policy car
classifier car behavior car
interface GigabitEthernet1/0/0
 portswitch 
 port default vlan 1
 port trunk allow-pass vlan 100 200
traffic-policy car inbound vlan 100
traffic-policy car inbound vlan 200
interface vlanif 100
 ip binding vpn-instance test
 ip address 117.1.1.1 255.255.255.0
interface vlanif 200
 l2 binding vsi test1
Root Cause
The flow can be described as follows:
1. Create a traffic policy with "if-match any" classifier. Create a behavior specifying the CAR value to be applied. Create a traffic policy using these classifier and behavior.
2. In the interface where these vlans are trunked, apply the traffic policy in the required direction(i.e either inbound or outbound or both).
Suggestions
 

END