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 ***