NetworkJunkie
Technical User
Hi,
I have a small problem and I'm a bit confused, Cisco suggested that you should mark traffic as close to the end devices as possible. So I wanted to try marking the traffic coming from S1 to R1, S2 to R2, and S3 to R3 on Switch 2 (Cisco Catalyst 2960) with the following config:
access-list 101 permit udp any any eq 10101
access-list 102 permit udp any any eq 10102
access-list 103 permit udp any any eq 10103
class-map PHONE
match access-group 101
exit
class-map CAMERA
match access-group 102
exit
class-map WEB
match access-group 103
exit
policy-map MARK
class PHONE
set ip dscp 46
exit
class CAMERA
set ip dscp 32
exit
class WEB
set ip dscp 10
exit
exit
interface fa0/1
service-policy out MARK
I did "service-policy out" to mark the traffic coming out of Switch 2's Fa0/1 going to Router 2's Fa0/0 so they are ready for the queueing mechanism at Router 2's S0/0/0 interface, but after entering the command it says it is not supported. From what I understand I am marking "engress" traffic (traffic from S1 to R1 as an example) thats why I used the command "service-policy out", rather than "ingress" traffic (traffic coming from R1 to S1).
My questions:
1. Have I got the concept of ingress and engress correctly?
2. Is there another way to do it or the only way possible is marking traffic on Router 2's Fa0/0?
3. If I do the marking on Router 2's Fa0/0 is it going to be ingress (service-policy in MARK) or egress (service-policy out MARK)
Thanks,
Unicross
I have a small problem and I'm a bit confused, Cisco suggested that you should mark traffic as close to the end devices as possible. So I wanted to try marking the traffic coming from S1 to R1, S2 to R2, and S3 to R3 on Switch 2 (Cisco Catalyst 2960) with the following config:
access-list 101 permit udp any any eq 10101
access-list 102 permit udp any any eq 10102
access-list 103 permit udp any any eq 10103
class-map PHONE
match access-group 101
exit
class-map CAMERA
match access-group 102
exit
class-map WEB
match access-group 103
exit
policy-map MARK
class PHONE
set ip dscp 46
exit
class CAMERA
set ip dscp 32
exit
class WEB
set ip dscp 10
exit
exit
interface fa0/1
service-policy out MARK
I did "service-policy out" to mark the traffic coming out of Switch 2's Fa0/1 going to Router 2's Fa0/0 so they are ready for the queueing mechanism at Router 2's S0/0/0 interface, but after entering the command it says it is not supported. From what I understand I am marking "engress" traffic (traffic from S1 to R1 as an example) thats why I used the command "service-policy out", rather than "ingress" traffic (traffic coming from R1 to S1).
My questions:
1. Have I got the concept of ingress and engress correctly?
2. Is there another way to do it or the only way possible is marking traffic on Router 2's Fa0/0?
3. If I do the marking on Router 2's Fa0/0 is it going to be ingress (service-policy in MARK) or egress (service-policy out MARK)
Thanks,
Unicross