mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 03:41:53 +00:00
topotests: convert bgp_prefix_sid2 to exabgp 4
Convert bgp_prefix_sid2 to exabgp 4 Do not advertise prefixes to exabgp to avoid an issue where exabgp resets the bgp session with the following notification: > invalid ipv6 mpls-vpn next-hop length 48 expected 24 or 40 Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
811ad11a7e
commit
5533f18dc6
@ -1,29 +1,27 @@
|
|||||||
group controller {
|
neighbor 10.0.0.1 {
|
||||||
neighbor 10.0.0.1 {
|
router-id 10.0.0.101;
|
||||||
router-id 10.0.0.101;
|
local-address 10.0.0.101;
|
||||||
local-address 10.0.0.101;
|
local-as 2;
|
||||||
local-as 2;
|
peer-as 1;
|
||||||
peer-as 1;
|
|
||||||
|
|
||||||
family {
|
family {
|
||||||
ipv6 mpls-vpn;
|
ipv6 mpls-vpn;
|
||||||
|
}
|
||||||
|
|
||||||
|
static {
|
||||||
|
route 2001:1::/64 {
|
||||||
|
rd 2:10;
|
||||||
|
next-hop 2001::2;
|
||||||
|
extended-community [ target:2:10 ];
|
||||||
|
label 3;
|
||||||
|
attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
|
||||||
}
|
}
|
||||||
|
route 2001:2::/64 {
|
||||||
static {
|
rd 2:10;
|
||||||
route 2001:1::/64 {
|
next-hop 2001::2;
|
||||||
rd 2:10;
|
extended-community [ target:2:10 ];
|
||||||
next-hop 2001::2;
|
label 3;
|
||||||
extended-community [ target:2:10 ];
|
attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
|
||||||
label 3;
|
|
||||||
attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
|
|
||||||
}
|
|
||||||
route 2001:2::/64 {
|
|
||||||
rd 2:10;
|
|
||||||
next-hop 2001::2;
|
|
||||||
extended-community [ target:2:10 ];
|
|
||||||
label 3;
|
|
||||||
attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,5 +21,7 @@ router bgp 1
|
|||||||
!
|
!
|
||||||
address-family ipv6 vpn
|
address-family ipv6 vpn
|
||||||
neighbor 10.0.0.101 activate
|
neighbor 10.0.0.101 activate
|
||||||
|
neighbor 10.0.0.101 route-map DENY_ALL out
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
|
route-map DENY_ALL deny 10
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
{
|
{
|
||||||
"2:10":{
|
"2:10":{
|
||||||
"prefix":"2001:1::\/64",
|
"prefix":"2001:1::\/64",
|
||||||
"advertisedTo":{
|
|
||||||
"10.0.0.101":{
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"paths":[
|
"paths":[
|
||||||
{
|
{
|
||||||
"aspath":{
|
"aspath":{
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
{
|
{
|
||||||
"2:10":{
|
"2:10":{
|
||||||
"prefix":"2001:2::\/64",
|
"prefix":"2001:2::\/64",
|
||||||
"advertisedTo":{
|
|
||||||
"10.0.0.101":{
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"paths":[
|
"paths":[
|
||||||
{
|
{
|
||||||
"aspath":{
|
"aspath":{
|
||||||
|
Loading…
Reference in New Issue
Block a user