Add default gateway config
parent
45a1dcefb5
commit
e4d6080ea5
|
|
@ -196,6 +196,11 @@ snmp {
|
|||
routing-options {
|
||||
router-id {{ primary_ip4['address'][:-3] }};
|
||||
autonomous-system {{ config_context['overlay_as'] }};
|
||||
{% if config_context['default-gw'] %}
|
||||
static {
|
||||
route 0.0.0.0/0 next-hop {{ config_context['default-gw'] }};
|
||||
}
|
||||
{% endif %}
|
||||
forwarding-table {
|
||||
export PFE-ECMP;
|
||||
chained-composite-next-hop {
|
||||
|
|
|
|||
Loading…
Reference in New Issue