summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-13 16:43:16 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-09-13 16:43:16 -0400
commit7b7d48e586b00d75caf79f361432d361e44f37a9 (patch)
treeae9ef3f4d8922acbdd3c218367ee6c477d0c84fd /ospf6d/ospf6_interface.c
parent921308a53505c20bc08694af1fd8675e7cd68c99 (diff)
bgpd: Create `set distance XXX` command for routemaps
Allow bgp to set a local Administrative distance to use for installing routes into the rib. Example: ! router bgp 9323 bgp router-id 1.2.3.4 neighbor enp0s8 interface remote-as external ! address-family ipv4 unicast neighbor enp0s8 route-map DISTANCE in exit-address-family ! route-map DISTANCE permit 10 set distance 153 ! line vty ! end eva# show ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued route, r - rejected route B 0.0.0.0/0 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06 K>* 0.0.0.0/0 [0/100] via 10.0.2.2, enp0s3, 00:06:31 B>* 1.1.1.1/32 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06 B>* 1.1.1.2/32 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06 B>* 1.1.1.3/32 [153/0] via fe80::a00:27ff:fe84:c2d6, enp0s8, 00:00:06 C>* 10.0.2.0/24 is directly connected, enp0s3, 00:06:31 K>* 169.254.0.0/16 [0/1000] is directly connected, enp0s3, 00:06:31 eva# Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions