12-17-2013 03:49 PM - edited 03-07-2019 05:08 PM
Question Summary:
How do I set the p-bit (COS value) for multicast traffic ingressing on an interface?
Additional details:
Traffic Type (Multicast):
Source IP: 10.0.0.1
Source Port: 1025
Destination IP: 239.100.0.5
Destination Port: 8208
Destination MAC: 01:00:5e:64:00:05
Here is my configuration:
class-map IPTV
match access-group <ATTEMPT X>
policy-map MARK_INBOUND_IPTV
class IPTV
set dscp cs4
interface GigabitEthernet3/9
service-policy input MARK_INBOUND_IPTV
Individually attempted the following ACL's for the match statement<ATTEMPT X>:
FAIL:
SUCCESS: (inadequate because it is all IP traffic not just multicast)
Command output from Fails:
sho policy-map int g3/9 detailed
GigabitEthernet3/9
Service-policy input: MARK_INBOUND_IPTV
class-map: IPTV (match-all)
Match: access-group 4
set dscp 32:
Earl in slot 5 :
Traffic: Total bytes 30-s bytes peak bytes 5-min avg bps peak bps
-----------------------------------------------------------------------------------------------------------
Offered 0 0 0 0 0
Agg-fwd 0 0 0 0 0
Exceed 0 0 0 0 0
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
sho policy-map int g3/9 input
GigabitEthernet3/9
Service-policy input: MARK_INBOUND_IPTV
class-map: IPTV (match-all)
Match: access-group 4
set dscp 32:
Earl in slot 5 :
0 bytes
30 second offered rate 0 bps
aggregate-forwarded 0 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
12-17-2013 04:08 PM
I found that matching on the destination port number works as well:
access-list 104 permit udp any any eq 8208
sho policy-map int g3/9 input
GigabitEthernet3/9
Service-policy input: MARK_INBOUND_IPTV
class-map: IPTV (match-all)
Match: access-group 104
set dscp 32:
Earl in slot 5 :
64144752 bytes
30 second offered rate 3980472 bps
aggregate-forwarded 64144752 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
I'd really like to match on all multicast though. The destination IP or MAC makes the most sense but they fail.
12-17-2013 04:18 PM
Success! Using this extended list to specify the multicast works as needed:
access-list 104 permit udp any 224.0.0.0 15.255.255.255
different from the ACL I found in a posting earlier which doesn't work:
access-list 81 permit 224.0.0.0 15.255.255.255
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