11-16-2011 01:49 AM - edited 03-04-2019 02:17 PM
Hi all,
I have the requirement of DSCP marking EIGRP traffic from CS6 to AF31. I tried to use local-policy routing as per the following:
!
ip access-l extended EIGRP
permit eigrp any any
!
route-map LOCAL
match ip address EIGRP
set iop TOS|DSCP
!
ip local policy route-map LOCAL
!
The problem is that I don't have the option of setting DSCP marking in the route-map. Setting the precedence doesn't help in my case and the TOS option doen't reflect the TOS field of the IP header. Following is an extract from the documentation for using 'set ip tos'
=============================================================================================================
Usage Guidelines
This command allows you to set four bits in the ToS byte header. Table 35 shows the format of the four bits in binary form.
T3 | T2 | T1 | T0 | Description |
0 | 0 | 0 | 0 | 0 normal forwarding |
0 | 0 | 0 | 1 | 1 minimum monetary cost |
0 | 0 | 1 | 0 | 2 maximum reliability |
0 | 1 | 0 | 0 | 4 maximum throughput |
1 | 0 | 0 | 0 | 8 minimum delay |
The T3 bit sets the delay. Setting T3 to 0 equals normal delay, and setting it to 1 equals low delay.
The T2 bit sets the throughput. Setting this bit to 0 equals normal throughput, and setting it to 1 equals maximum throughput. Similarly, the T1 and T0 bits set reliability and cost, respectively. Therefore, as an example, if you want to set a packet with the following requirements:
minimum delay T3 = 1
normal throughput T2 = 0
normal reliability T1 = 0
minimum monetary cost T0 = 1
=============================================================================================================
Using COPP doesn't allow as well setting the QOS marking.
Any suggestions or other options for DSCP marking EIGRP traffic.
Thanks,
Jad
Solved! Go to Solution.
11-16-2011 02:31 AM
Hi,
Use MQC marking:
example:
access-list 100 permit eigrp any any
class-map EIGRP_TRAFFIC
match access-group 100
policy-map EIGRP_POLICY
class EIGRP_TRAFFIC
set dscp af31
interface x/x
service-policy out EIGRP_POLICY
Regards.
Alain
11-16-2011 02:31 AM
Hi,
Use MQC marking:
example:
access-list 100 permit eigrp any any
class-map EIGRP_TRAFFIC
match access-group 100
policy-map EIGRP_POLICY
class EIGRP_TRAFFIC
set dscp af31
interface x/x
service-policy out EIGRP_POLICY
Regards.
Alain
11-16-2011 02:52 AM
Hi Alain,
EIGRP traffic is an Originating traffing and not a transiting traffic and thus it cannot be matched at the interface level.
Jad
11-16-2011 03:27 AM
Hi,
just tested it on GNS3 and it works.
Regards.
Alain.
11-16-2011 05:25 AM
You are absolutely right Alain,
I didn't even try it :)... I was convinced that it is an originating traffic and will not match in QOS.
Thanks
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