forked from spinesystemspublic/documentation
Add static route
This commit is contained in:
+16
-3
@@ -156,7 +156,21 @@ QFX, EX4600, EX8200, EX9200
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## BGP
|
|
||||||
|
## Routing
|
||||||
|
|
||||||
|
### Static routing
|
||||||
|
|
||||||
|
```
|
||||||
|
routing-options {
|
||||||
|
static {
|
||||||
|
route x.x.x.x/y next-hop z.z.z.z;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Add static route to x.x.x.x/y via z.z.z.z
|
||||||
|
|
||||||
|
### BGP
|
||||||
|
|
||||||
Typical setup with Ogero, you will have 2 BGP sessions, one for IPv4 and one for IPv6. You will receive default route from Ogero, and you will send your prefixes to Ogero.
|
Typical setup with Ogero, you will have 2 BGP sessions, one for IPv4 and one for IPv6. You will receive default route from Ogero, and you will send your prefixes to Ogero.
|
||||||
We will skip IPv6 for now.
|
We will skip IPv6 for now.
|
||||||
@@ -205,6 +219,7 @@ Also dont forget to set your ASN in routing-options
|
|||||||
set routing-options autonomous-system 12345
|
set routing-options autonomous-system 12345
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Bonding
|
## Bonding
|
||||||
|
|
||||||
Don't forget to set number of bonding interfaces
|
Don't forget to set number of bonding interfaces
|
||||||
@@ -486,5 +501,3 @@ inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
|
|||||||
If you see your prefixes, it means you are sending them to Ogero.
|
If you see your prefixes, it means you are sending them to Ogero.
|
||||||
|
|
||||||
You might use also "show bgp neighbor x.x.x.x" to see more detailed information about BGP session.
|
You might use also "show bgp neighbor x.x.x.x" to see more detailed information about BGP session.
|
||||||
|
|
||||||
###
|
|
||||||
Reference in New Issue
Block a user