frr/tests/topotests/bgp_features/r1/show_bgp.json

351 lines
6.3 KiB
JSON
Raw Permalink Normal View History

{
"vrfName": "default",
"routerId": "192.168.0.1",
"defaultLocPrf": 100,
"localAS": 65000,
"routes": { "0.0.0.0/0": [
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"0.0.0.0",
"prefixLen":0,
"network":"0.0.0.0\/0",
"weight":0,
"peerId":"192.168.101.2",
"path":"65100",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.101.2",
"hostname":"r4",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.0.0/24": [
{
"pathFrom":"external",
"prefix":"192.168.0.0",
"prefixLen":24,
"network":"192.168.0.0\/24",
"metric":0,
"weight":32768,
"peerId":"(unspec)",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"0.0.0.0",
"hostname":"r1",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.1.0/24": [
{
"valid":true,
"pathFrom":"internal",
"prefix":"192.168.1.0",
"prefixLen":24,
"network":"192.168.1.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.0.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
},
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.1.0",
"prefixLen":24,
"network":"192.168.1.0\/24",
"metric":0,
"weight":32768,
"peerId":"(unspec)",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"0.0.0.0",
"hostname":"r1",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.2.0/24": [
{
"valid":true,
"pathFrom":"internal",
"prefix":"192.168.2.0",
"prefixLen":24,
"network":"192.168.2.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.0.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
},
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.2.0",
"prefixLen":24,
"network":"192.168.2.0\/24",
"metric":0,
"weight":32768,
"peerId":"(unspec)",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"0.0.0.0",
"hostname":"r1",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.3.0/24": [
{
"valid":true,
"pathFrom":"internal",
"prefix":"192.168.3.0",
"prefixLen":24,
"network":"192.168.3.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.0.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
},
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.3.0",
"prefixLen":24,
"network":"192.168.3.0\/24",
"metric":0,
"weight":32768,
"peerId":"(unspec)",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"0.0.0.0",
"hostname":"r1",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.6.0/24": [
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.6.0",
"prefixLen":24,
"network":"192.168.6.0\/24",
"metric":0,
"weight":32768,
"peerId":"(unspec)",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"0.0.0.0",
"hostname":"r1",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.7.0/24": [
{
"valid":true,
"bestpath":true,
"pathFrom":"internal",
"prefix":"192.168.7.0",
"prefixLen":24,
"network":"192.168.7.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.0.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.8.0/24": [
{
"valid":true,
"pathFrom":"internal",
"prefix":"192.168.8.0",
"prefixLen":24,
"network":"192.168.8.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.0.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
},
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.8.0",
"prefixLen":24,
"network":"192.168.8.0\/24",
"metric":0,
"weight":32768,
"peerId":"(unspec)",
"path":"",
"origin":"IGP",
"nexthops":[
{
"ip":"0.0.0.0",
"hostname":"r1",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.101.0/24": [
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.101.0",
"prefixLen":24,
"network":"192.168.101.0\/24",
"metric":0,
"weight":0,
"peerId":"192.168.101.2",
"path":"65100",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.101.2",
"hostname":"r4",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.102.0/24": [
{
"valid":true,
"bestpath":true,
"pathFrom":"external",
"prefix":"192.168.102.0",
"prefixLen":24,
"network":"192.168.102.0\/24",
"metric":0,
"weight":0,
"peerId":"192.168.101.2",
"path":"65100",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.101.2",
"hostname":"r4",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.201.0/24": [
{
"pathFrom":"internal",
"prefix":"192.168.201.0",
"prefixLen":24,
"network":"192.168.201.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"65200",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.201.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
}
],"192.168.202.0/24": [
{
"pathFrom":"internal",
"prefix":"192.168.202.0",
"prefixLen":24,
"network":"192.168.202.0\/24",
"metric":0,
"locPrf":100,
"weight":0,
"peerId":"192.168.0.2",
"path":"65200",
"origin":"IGP",
"nexthops":[
{
"ip":"192.168.201.2",
"hostname":"r2",
"afi":"ipv4",
"used":true
}
]
}
] } }