forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from opensourcerouting/ldp_vpls_topo1
LDP VPLS Topology
- Loading branch information
Showing
39 changed files
with
1,493 additions
and
8 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
log file /tmp/ce1-zebra.log | ||
! | ||
hostname ce1 | ||
! | ||
interface ce1-eth0 | ||
ip address 172.16.1.1/24 | ||
no link-detect | ||
! | ||
ip forwarding | ||
! | ||
line vty | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
log file /tmp/ce2-zebra.log | ||
! | ||
hostname ce2 | ||
! | ||
interface ce2-eth0 | ||
ip address 172.16.1.2/24 | ||
no link-detect | ||
! | ||
ip forwarding | ||
! | ||
line vty | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
log file /tmp/ce3-zebra.log | ||
! | ||
hostname ce3 | ||
! | ||
interface ce3-eth0 | ||
ip address 172.16.1.3/24 | ||
no link-detect | ||
! | ||
ip forwarding | ||
! | ||
line vty | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
hostname r1 | ||
log file /tmp/r1-ldpd.log | ||
! | ||
debug mpls ldp zebra | ||
debug mpls ldp event | ||
debug mpls ldp errors | ||
debug mpls ldp messages recv | ||
debug mpls ldp messages sent | ||
debug mpls ldp discovery hello recv | ||
debug mpls ldp discovery hello sent | ||
! | ||
mpls ldp | ||
router-id 1.1.1.1 | ||
! | ||
address-family ipv4 | ||
discovery transport-address 1.1.1.1 | ||
label local allocate host-routes | ||
! | ||
interface r1-eth1 | ||
! | ||
interface r1-eth2 | ||
! | ||
! | ||
! | ||
l2vpn CUST_A type vpls | ||
member interface r1-eth0 | ||
! | ||
member pseudowire r1-mpw0 | ||
neighbor lsr-id 2.2.2.2 | ||
pw-id 100 | ||
! | ||
! | ||
line vty | ||
! |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
hostname r1 | ||
log file /tmp/r1-ospfd.log | ||
! | ||
router ospf | ||
router-id 1.1.1.1 | ||
network 0.0.0.0/0 area 0 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"2.2.2.2":{ | ||
"priority":1, | ||
"state":"Full/DR", | ||
"address":"10.0.1.2", | ||
"ifaceName":"r1-eth1:10.0.1.1" | ||
}, | ||
"3.3.3.3":{ | ||
"priority":1, | ||
"state":"Full/DR", | ||
"address":"10.0.2.3", | ||
"ifaceName":"r1-eth2:10.0.2.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
{ | ||
"1.1.1.1/32":[ | ||
{ | ||
"prefix":"1.1.1.1/32", | ||
"protocol":"ospf", | ||
"distance":110, | ||
"metric":0, | ||
"nexthops":[ | ||
{ | ||
"directlyConnected":true, | ||
"interfaceIndex":1, | ||
"interfaceName":"lo", | ||
"active":true | ||
} | ||
] | ||
}, | ||
{ | ||
"prefix":"1.1.1.1/32", | ||
"protocol":"connected", | ||
"selected":true, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"directlyConnected":true, | ||
"interfaceIndex":1, | ||
"interfaceName":"lo", | ||
"active":true | ||
} | ||
] | ||
} | ||
], | ||
"2.2.2.2/32":[ | ||
{ | ||
"prefix":"2.2.2.2/32", | ||
"protocol":"ospf", | ||
"selected":true, | ||
"distance":110, | ||
"metric":10, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"ip":"10.0.1.2", | ||
"afi":"ipv4", | ||
"interfaceIndex":3, | ||
"interfaceName":"r1-eth1", | ||
"active":true | ||
} | ||
] | ||
} | ||
], | ||
"3.3.3.3/32":[ | ||
{ | ||
"prefix":"3.3.3.3/32", | ||
"protocol":"ospf", | ||
"selected":true, | ||
"distance":110, | ||
"metric":10, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"ip":"10.0.2.3", | ||
"afi":"ipv4", | ||
"interfaceIndex":4, | ||
"interfaceName":"r1-eth2", | ||
"active":true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.1.0/24":[ | ||
{ | ||
"prefix":"10.0.1.0/24", | ||
"protocol":"ospf", | ||
"distance":110, | ||
"metric":10, | ||
"nexthops":[ | ||
{ | ||
"directlyConnected":true, | ||
"interfaceIndex":3, | ||
"interfaceName":"r1-eth1", | ||
"active":true | ||
} | ||
] | ||
}, | ||
{ | ||
"prefix":"10.0.1.0/24", | ||
"protocol":"connected", | ||
"selected":true, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"directlyConnected":true, | ||
"interfaceIndex":3, | ||
"interfaceName":"r1-eth1", | ||
"active":true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.2.0/24":[ | ||
{ | ||
"prefix":"10.0.2.0/24", | ||
"protocol":"ospf", | ||
"distance":110, | ||
"metric":10, | ||
"nexthops":[ | ||
{ | ||
"directlyConnected":true, | ||
"interfaceIndex":4, | ||
"interfaceName":"r1-eth2", | ||
"active":true | ||
} | ||
] | ||
}, | ||
{ | ||
"prefix":"10.0.2.0/24", | ||
"protocol":"connected", | ||
"selected":true, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"directlyConnected":true, | ||
"interfaceIndex":4, | ||
"interfaceName":"r1-eth2", | ||
"active":true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.3.0/24":[ | ||
{ | ||
"prefix":"10.0.3.0/24", | ||
"protocol":"ospf", | ||
"selected":true, | ||
"distance":110, | ||
"metric":20, | ||
"nexthops":[ | ||
{ | ||
"fib":true, | ||
"ip":"10.0.1.2", | ||
"afi":"ipv4", | ||
"interfaceIndex":3, | ||
"interfaceName":"r1-eth1", | ||
"active":true | ||
}, | ||
{ | ||
"fib":true, | ||
"ip":"10.0.2.3", | ||
"afi":"ipv4", | ||
"interfaceIndex":4, | ||
"interfaceName":"r1-eth2", | ||
"active":true | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"2.2.2.2: 100":{ | ||
"destination":"2.2.2.2", | ||
"vcId":100, | ||
"localLabel":16, | ||
"localControlWord":1, | ||
"localVcType":"Ethernet", | ||
"localGroupID":0, | ||
"localIfMtu":1500, | ||
"remoteLabel":16, | ||
"remoteControlWord":1, | ||
"remoteVcType":"Ethernet", | ||
"remoteGroupID":0, | ||
"remoteIfMtu":1500 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"r1-mpw0":{ | ||
"peerId":"2.2.2.2", | ||
"vcId":100, | ||
"VpnName":"CUST_A", | ||
"status":"up" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"bindings":[ | ||
{ | ||
"addressFamily":"ipv4", | ||
"prefix":"1.1.1.1/32", | ||
"neighborId":"2.2.2.2", | ||
"localLabel":"imp-null", | ||
"remoteLabel":"17", | ||
"inUse":0 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"prefix":"1.1.1.1/32", | ||
"neighborId":"3.3.3.3", | ||
"localLabel":"imp-null", | ||
"remoteLabel":"16", | ||
"inUse":0 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"prefix":"2.2.2.2/32", | ||
"neighborId":"2.2.2.2", | ||
"localLabel":"17", | ||
"remoteLabel":"imp-null", | ||
"inUse":1 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"prefix":"2.2.2.2/32", | ||
"neighborId":"3.3.3.3", | ||
"localLabel":"17", | ||
"remoteLabel":"17", | ||
"inUse":0 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"prefix":"3.3.3.3/32", | ||
"neighborId":"2.2.2.2", | ||
"localLabel":"18", | ||
"remoteLabel":"18", | ||
"inUse":0 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"prefix":"3.3.3.3/32", | ||
"neighborId":"3.3.3.3", | ||
"localLabel":"18", | ||
"remoteLabel":"imp-null", | ||
"inUse":1 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"adjacencies":[ | ||
{ | ||
"addressFamily":"ipv4", | ||
"neighborId":"2.2.2.2", | ||
"type":"link", | ||
"interface":"r1-eth1", | ||
"helloHoldtime":15 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"neighborId":"2.2.2.2", | ||
"type":"targeted", | ||
"peer":"2.2.2.2", | ||
"helloHoldtime":45 | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"neighborId":"3.3.3.3", | ||
"type":"link", | ||
"interface":"r1-eth2", | ||
"helloHoldtime":15 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"neighbors":[ | ||
{ | ||
"addressFamily":"ipv4", | ||
"neighborId":"2.2.2.2", | ||
"state":"OPERATIONAL", | ||
"transportAddress":"2.2.2.2" | ||
}, | ||
{ | ||
"addressFamily":"ipv4", | ||
"neighborId":"3.3.3.3", | ||
"state":"OPERATIONAL", | ||
"transportAddress":"3.3.3.3" | ||
} | ||
] | ||
} |
Oops, something went wrong.