Qos preclassify
router(config-if)# qos pre-classify
GRE and IPIP Tunnels
router(config)# interface tunnel0
router(config-if)# qos pre-classify
L2F and L2TP Tunnels
router(config)# interface virtual-template1
router(config-if)# qos pre-classify
IPSec Tunnels
router(config)# crypto map secured-partner
router(config-crypto-map)# qos pre-classify
example:
class-map match-any branch110
match access-group 110
policy-map branch-qos
class branch110
bandwidth 128
police 256000
interface Tunnel0
ip address 192.168.16.110 255.255.255.0
tunnel source serial 0/0
tunnel destination 205.51.11.5
crypto map vpn
qos pre-classify
crypro map vpn 10 ipsec-isakmp
set peer 205.51.11.5
set transform-set branch-vpn
match address 110
qos pre-classify
interface serial 0/0
ip address 205.51.11.110 255.255.255.252
service-policy output branch-qos
crypto map vpn
access-list 110 permit gre host 205.51.11.110 host 205.51.11.5
router>show interfaces
Tunnel0 is up, line protocol is up
Hardware is Tunnel
Internet address is 192.168.16.110/24
Tunnel source 205.51.11.110 (Serial0/0), destination 205.51.11.5
Tunnel protocol/transport GRE/IP, key disabled, sequencing disabled
Checksumming of packets disabled, fast tunneling enabled
Last input 00:00:04, output 00:00:04, output hang never
Last clearing of "show interface" counters 00:00:51
Queueing strategy: fifo (QOS pre-classification)
Output queue 0/0, 0 drops; input queue 0/75, 0 drops
router>show crypto map
Crpyto Map “vpn" 10 ipsec-isakmp
Peer = 205.51.11.5
Extended IP access list 110
access-list 110 permit gre host 205.51.11.110 host 205.51.11.5
Current peer:205.51.11.5
Security association lifetime: 4608000 kilobytes/86400 seconds
PFS (Y/N): N
Transform sets={ branch-vpn, }
QoS pre-classification
Configuring QoS Policy Propagation Through BGP (QPPB) Qos over BGP