Skip to Content.

rare-dev - [rare-dev] qos (re)marking

Subject: Rare project developers

List archive


[rare-dev] qos (re)marking


Chronological Thread 
  • From: mc36 <>
  • To: Carmen Misa Moreira <>, "" <>
  • Subject: [rare-dev] qos (re)marking
  • Date: Thu, 23 Jun 2022 16:39:02 +0200

hi,
so during the vc i missed the point, that my sw router uplinks over mpls and
sgt and none of these are handled in the set parts yet...
without these, the stuff works as expected:
the first 10 packets from 5555::6 comes in as flow label 0,
the packets 10-20 from 5555::6 comes in as flowlabel 0x3039 that is 12345,
and packets 20-30 from 5555::6 comes in as flowlabel 0xd431 that is 54321...
and it's completely optional to have anything in the match statements, i mean,
a dumb acl who matches everything will do the trick, then you can do port
based
(re)marking... if that helps you, we can easily have this functionality in hw
less than a week.... :)
br,
cs



sid#ping 2001:db8:8319:0:200:11ff:fe11:2222 vrf v2 source hairpin12 tos 0
pinging 2001:db8:8319::200:11ff:fe11:2222, src=5555::6, vrf=v2, cnt=5,
len=64, df=false, tim=1000, gap=0, ttl=255, tos=0, sgt=0, flow=0, fill=0,
sweep=false, multi=false
!!!!!
result=100%, recv/sent/lost/err=5/5/0/0, rtt min/avg/max/sum=1/1/2/7, ttl
min/avg/max=59/59/59, tos min/avg/max=0/0/0
sid#ping 2001:db8:8319:0:200:11ff:fe11:2222 vrf v2 source hairpin12 tos 123
pinging 2001:db8:8319::200:11ff:fe11:2222, src=5555::6, vrf=v2, cnt=5,
len=64, df=false, tim=1000, gap=0, ttl=255, tos=123, sgt=0, flow=0, fill=0,
sweep=false, multi=false
!!!!!
result=100%, recv/sent/lost/err=5/5/0/0, rtt min/avg/max/sum=1/1/2/7, ttl
min/avg/max=59/59/59, tos min/avg/max=123/123/123
sid#ping 2001:db8:8319:0:200:11ff:fe11:2222 vrf v2 source hairpin12 tos 222
pinging 2001:db8:8319::200:11ff:fe11:2222, src=5555::6, vrf=v2, cnt=5,
len=64, df=false, tim=1000, gap=0, ttl=255, tos=222, sgt=0, flow=0, fill=0,
sweep=false, multi=false
!!!!!
result=100%, recv/sent/lost/err=5/5/0/0, rtt min/avg/max/sum=1/1/2/7, ttl
min/avg/max=59/59/59, tos min/avg/max=222/222/222
sid#show config-differences
ipv4 route v2 0.0.0.0 0.0.0.0 5.5.5.5
ipv6 route v2 :: :: 5555::5
policy-map asdf
sequence 10 action transit
sequence 10 match tos 123
sequence 10 set flow set 12345
sequence 20 action transit
sequence 20 match tos 222
sequence 20 set flow set 54321
sequence 9999 action transit
exit
hairpin 1
exit
interface hairpin11
vrf forwarding v1
ipv4 address 5.5.5.5 255.255.255.252
ipv6 address 5555::5 ffff:ffff:ffff:ffff::
no shutdown
no log-link-change
exit
interface hairpin12
service-policy-out asdf
vrf forwarding v2
ipv4 address 5.5.5.6 255.255.255.252
ipv6 address 5555::6 ffff:ffff:ffff:ffff::
no shutdown
no log-link-change
exit

sid#show policy-map interface hairpin12 out
seq chld queue intrvl byt/int rxb rxp trnsmt
10 0 0/128 100 0 990 15 tx=990(15) rx=990(15) drp=0(0)
20 0 0/128 100 0 330 5 tx=330(5) rx=330(5) drp=0(0)
9999 0 0/128 100 0 6000 74 tx=1918(29) rx=1918(29)
drp=0(0)

sid#

Attachment: zzzz.pcapng
Description: application/pcapng




Archive powered by MHonArc 2.6.19.

Top of Page