02-16-2012 12:50 PM - edited 03-07-2019 04:59 AM
Problem: My traffic coming inbound appears to be marked but is not marked when egressing.
Setup:
Cos-dscp map:
cos: 0 1 2 3 4 5 6 7
------------------------------------
dscp: 0 8 16 24 32 40 48 56
1. Any reason COS 3 is not marked outbound on this traffic? I'm determining this by doing a wireshark off of interface g8/1. The traffic appears to be marked on the ingress correctly but does not maintain its mark on the egress. I can confirm this with equipment on other Ethernet links in produciton as well as my test port listed in the config below with wireshark.
FYI: Unfortunately with my cards in the 6509 I cannot port mirror and see outbound multicast (determined through a TAC case). Because the STB does not understand tagged traffic I setup the native vlan for it to function. To see the multicast with tags I temporarily remove the native command and do the wireshark to see the multicast. It still shows a COS setting of 0. I will try to attach a capture of a multicast packet.
description Mulicast Encoder
switchport
switchport access vlan 962
switchport mode access
logging event link-status
load-interval 30
service-policy input MARK_IP_PREC_3
!
PhatCat#sho policy-map int g3/9
GigabitEthernet3/9
Service-policy input: MARK_IP_PREC_3
class-map: ALL_TRAFFIC (match-all)
Match: access-group 47
set dscp 24:
Earl in slot 6 :
3268388676 bytes
30 second offered rate 4074264 bps
aggregate-forwarded 3268388676 bytes
Class-map: class-default (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: any
0 packets, 0 bytes
30 second rate 0 bps
2. I've continued to try and mark on the egress but have problems with the configuration. I'm ingressing on g3/9 and egressing on 8/1 for my test.
Egress Attempt 1:
PhatCat(config-if)#service-policy output MARK_OUTBOUND_VIDEO
MQC features are not supported in output direction for this interface
Egress Attempt 2:
PhatCat(config-if)#service-policy output MARK_OUTBOUND_VIDEO
set cos cannot be configured on output direction for this interface
Configuration failed!
%'set cos cos-inner' for 'class OUT_VIDEO' on Vlan781 is not supported
('set cos cos-inner' is only supported on a class with 'match vlan' or on 'class class-default')
interface GigabitEthernet8/1
description STB-NET8-TEST
switchport
switchport access vlan 781
switchport trunk encapsulation dot1q
switchport trunk native vlan 781
switchport trunk allowed vlan 781
switchport mode trunk
logging event link-status
load-interval 30
no cdp enable
end
interface Vlan781
description NET8
ip address 10.239.56.1 255.255.248.0
ip helper-address 10.100.141.40
ip pim dense-mode
end
02-27-2012 09:59 AM
Try this
no mls qos rewrite ip dscp
02-27-2012 11:13 AM
Hi,
Check the class-map OUT_VIDEO that has unsupported action. remove and reapply policy and it should accept it.
set cos cannot be configured on output direction for this interface
Configuration failed!
%'set cos cos-inner' for 'class OUT_VIDEO' on Vlan781 is not supported
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide