Dear All,
I have a question, can someone explian for me what is the diff between below two QoS config. i need to what is the diff between applying policy-map inside policy-map then apply it under the interface, or one policy-map and apply it under the interface. Also can i know what is the impact if i will not use class default under the policy map?
Your answer will be highly appreciated.
1)
class-map match-all GOLD
match access-group name CRITICAL_APP
class-map match-all SILVER
match access-group name OTHER_APP
policy-map TRAFFIC_CLASSES
class GOLD
bandwidth <Bandwidth Required e.g. 256>
class SILVER
bandwidth <Bandwidth Required e.g. 128>
policy-map ALL_TRAFFIC
class class-default
shape average 4000000
service-policy TRAFFIC_CLASSES
ip access-list extended CRITICAL_APP
permit ip <source network> <wild card mask> <destination network> <wild card mask>
ip access-list extended OTHER_APP
permit ip <source network> <wild card mask> <destination network> <wild card mask>
interface FastEthernet0/0
bandwidth 4000000
service-policy output ALL_TRAFFIC
2)
class-map match-all GOLD
match access-group name CRITICAL_APP
class-map match-all SILVER
match access-group name OTHER_APP
policy-map TRAFFIC_CLASSES
class GOLD
bandwidth <Bandwidth Required e.g. 256>
class SILVER
bandwidth <Bandwidth Required e.g. 128>
class class-default
shape average 4000000
ip access-list extended CRITICAL_APP
permit ip <source network> <wild card mask> <destination network> <wild card mask>
ip access-list extended OTHER_APP
permit ip <source network> <wild card mask> <destination network> <wild card mask>
interface FastEthernet0/0
bandwidth 4000000
service-policy output TRAFFIC_CLASSES