79 lines
1.5 KiB
JSON
79 lines
1.5 KiB
JSON
{
|
|
"vrfId": 0,
|
|
"vrfName": "default",
|
|
"routerId": "192.168.255.2",
|
|
"defaultLocPrf": 100,
|
|
"localAS": 65538,
|
|
"routes": { "172.31.1.0/24": [
|
|
{
|
|
"valid":true,
|
|
"bestpath":true,
|
|
"selectionReason":"First path received",
|
|
"pathFrom":"external",
|
|
"prefix":"172.31.1.0",
|
|
"prefixLen":24,
|
|
"network":"172.31.1.0/24",
|
|
"metric":0,
|
|
"weight":0,
|
|
"peerId":"192.168.255.1",
|
|
"path":"65537 65540",
|
|
"origin":"IGP",
|
|
"nexthops":[
|
|
{
|
|
"ip":"192.168.255.1",
|
|
"hostname":"r1",
|
|
"afi":"ipv4",
|
|
"used":true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
,"172.31.3.0/24": [
|
|
{
|
|
"valid":true,
|
|
"bestpath":true,
|
|
"selectionReason":"First path received",
|
|
"pathFrom":"external",
|
|
"prefix":"172.31.3.0",
|
|
"prefixLen":24,
|
|
"network":"172.31.3.0/24",
|
|
"metric":0,
|
|
"weight":32768,
|
|
"peerId":"(unspec)",
|
|
"path":"65540",
|
|
"origin":"IGP",
|
|
"nexthops":[
|
|
{
|
|
"ip":"0.0.0.0",
|
|
"hostname":"r2",
|
|
"afi":"ipv4",
|
|
"used":true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
,"172.31.4.0/24": [
|
|
{
|
|
"valid":true,
|
|
"bestpath":true,
|
|
"selectionReason":"First path received",
|
|
"pathFrom":"external",
|
|
"prefix":"172.31.4.0",
|
|
"prefixLen":24,
|
|
"network":"172.31.4.0/24",
|
|
"metric":0,
|
|
"weight":32768,
|
|
"peerId":"(unspec)",
|
|
"path":"65540",
|
|
"origin":"IGP",
|
|
"nexthops":[
|
|
{
|
|
"ip":"0.0.0.0",
|
|
"hostname":"r2",
|
|
"afi":"ipv4",
|
|
"used":true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} }
|