cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
428
Views
0
Helpful
1
Replies

Help with QoS

haji_akhundov
Level 1
Level 1

Hey everyone,

Quick question:

I would like to shape an outgoing traffic on an interface GigabitEthernet0/0, but I don't want the sub-interfaces of 0/0 to be affected by this shaper. Is this possible? How can I implement this?

Thanks in advance.

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

Does your main interface have its own ip address? In other words something like below:

int g0/0

ip address 192.168.1.1 255.255.255.0

int g0/0.1

encapsult dot1q 2

ip address 192.168.2.1 255.255.255.0

You can shape by subnet and not affect your other subinterfaces:

access-list 101 permit ip 192.168.1.0 0.0.0.255 any

class-map HTTP

match protocol http

match access-group 101

policy-map HTTP

class HTTP

shape average 20480000

class class-default

fair-queue

The above will match on anything from 192.168.1.0/24 using http as a protocol and shape it to 2Mb.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
Review Cisco Networking for a $25 gift card