Created
December 20, 2013 01:08
-
-
Save crazed/8048935 to your computer and use it in GitHub Desktop.
fios gre bgp
This file contains hidden or 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
| # show interfaces gr-0/0/0 | |
| unit 0 { | |
| tunnel { | |
| source $FIOS_IP; | |
| destination $DESTINATION; | |
| routing-instance { | |
| destination fios-2; | |
| } | |
| } | |
| family inet { | |
| mtu 1476; | |
| address $GRE_IP; | |
| } | |
| } | |
| # show routing-instances fios-2 | |
| instance-type virtual-router; | |
| interface gr-0/0/0.0; | |
| ## ge-11/0/0 has the FIOS assigned static IP | |
| interface ge-11/0/0.0; | |
| routing-options { | |
| static { | |
| # this keeps the tunnel up when you get a 0/0 from BGP | |
| route $TUNNEL_ENDPOINT/32 next-hop $FIOS_GATEWAY; | |
| } | |
| } | |
| protocols { | |
| bgp { | |
| group atmetro { | |
| type external; | |
| family inet { | |
| unicast { | |
| rib-group master-rib; | |
| } | |
| } | |
| peer-as $PEER_AS; | |
| neighbor $NEIGHBOR_IP; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment