cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1308
Views
0
Helpful
3
Replies

Marking traffic for QoS before NAT

stretchlad
Level 1
Level 1

I have a Cisco 1801 router connected to the Internet configured wit NAT. An outbound service-policy is configured on the public interface to prioritise an application which is working.

I want to prioritise traffic from one of my wireless clients also so I have configured an extra policy on the interface that the wireless access point is connected to (The wireless AP is not running NAT)

interface FastEthernet7

service-policy input PRENATMAP

class-map match-any PRENAT

match access-group name PRENATACL

policy-map PRENATMAP

class PRENAT

set qos-group 1

ip access-list extended PRENATACL

permit ip host 192.168.1.120 any

I can see traffic being sent by this device but the policy map is showing no matches. I am using the "qos-group" so that I can priortise this traffic after it has been NAT'ed on the public interface and therefore I don't know the source IP anymore.

sh policy-map int f7

FastEthernet7

Service-policy input: PRENATMAP

Class-map: PRENAT (match-any)

0 packets, 0 bytes

5 minute offered rate 0 bps, drop rate 0 bps

Match: access-group name PRENATACL

0 packets, 0 bytes

5 minute rate 0 bps

QoS Set

qos-group 1

Packets marked 0

Class-map: class-default (match-any)

0 packets, 0 bytes

5 minute offered rate 0 bps, drop rate 0 bps

Match: any

3 Replies 3

stretchlad
Level 1
Level 1

Anyone able to help with this?

Thanks

I guess one thing to point out is that the default class also has no matches.

This may be a indication that this is not supported on the switch ports of this router. There are many restriction depending on the switch platform related to QoS.

Try applying the service policy to the layer 3 virtual interface and see if you see any traffic.

Thanks for the reply

I tied that also but get the following:

Router(config)#int vlan 1

Router(config-if)#service-policy input PRENATMAP

Configuration failed!

This is an 1801 running 12.4(11)T4 AdvIP Services

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card