In-Place Policy Modification: Example
tunnel destination 145.12.5.2
end
commit
!
This example shows applying QPPBv6 (address-family IPv6) for a GRE tunnel interface:
config
interface tunnel-ip 3000
ipv6 address 1906:255::1/64
ipv6 bgp policy propagation input qos-group destination
tunnel source TenGigE0/2/0/1
tunnel destination 145.12.5.2
end
commit
!
In-Place Policy Modification: Example
In this example, the precedence is changed from 3 to 5 after the policy is defined and attached to an interface:
Define a class:
class-map match-any class1
match cos 7
end-class-map
Define a policy map that uses the class:
policy-map policy1
class class1
set precedence 3
Attach the policy map to an interface:
interface gigabitethernet 0/6/0/1
service-policy output policy1
commit
Modify the precedence value of the policy map:
policy-map policy1
class class1
set precedence 5
commit
Note
The modified policy policy1 takes effect on all the interfaces to which the policy is attached. Also, you
can modify any class map used in the policy map. The changes made to the class map take effect on all
the interfaces to which the policy is attached.
Output from the show policy-map targets command indicates that the Gigabit Ethernet interface 0/1/0/0 has
one policy map attached as a main policy (as opposed to being attached to a child policy in a hierarchical QoS
configuration). Outgoing traffic on this interface is affected if the policy is modified:
show policy-map targets
Fri Jul 16 16:38:24.789 DST
1) Policymap: policy1
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide, Release
6.1.x
176
Type: qos
Targets (applied as main policy):
GigabitEthernet0/1/0/0 output
Total targets: 1
Configuring Modular QoS Service Packet Classification