-
Notifications
You must be signed in to change notification settings - Fork 453
Open
Description
Here is the exabgp configuration: using version 4.2.25
neighbor 10.55.55.1 {
router-id 10.55.55.2;
local-address 10.55.55.2;
local-as 15404;
peer-as 15405;
family {
ipv4 flow;
}
flow {
route flow-web-redirect {
match {
source 192.0.2.1/32;
destination 198.51.100.1/32;
protocol tcp;
destination-port =80;
}
then {
redirect-to-nexthop-ietf 10.54.5.248;
}
}
}
}
[root@ns1 exabgp_redirect]# exabgpcli show adj-rib out
neighbor 10.55.55.1 ipv4 flow flow destination-ipv4 198.51.100.1/32 source-ipv4 192.0.2.1/32 protocol =tcp destination-port =80
In the captured packet could see Type as 0x01 and subtype and subtype as 0x0c . I think type should be 0x08 and subtype 0x00 .
https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/711x/routing/configuration/guide/b-routing-cg-asr9000-711x/implementing-bgp-flowspec.html#task_657D4896618945E58A252420B491BFF8
Below the snip of the capture.
Carried extended communities: (2 communities)
Unknown subtype 0x0c: 10.54.5.248:0 [Transitive IPv4-Address-Specific]
Type: Transitive IPv4-Address-Specific (0x01)
0... .... = IANA Authority: Allocated on First Come First Serve Basis
.0.. .... = Transitive across ASes: Transitive
Subtype (IPv4): Unknown (0x0c)
IPv4 address: 10.54.5.248
2-Octet AN: 0
Could you help on this.
Metadata
Metadata
Assignees
Labels
No labels