blob: 8b885341eb3038bd04134239d3273bc657e6ffdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
frr defaults traditional
!
hostname ce1
password zebra
log stdout notifications
log commands
router bgp 5226
no bgp network import-check
bgp router-id 99.0.0.1
no bgp ebgp-requires-policy
neighbor 192.168.1.1 remote-as 5226
neighbor 192.168.1.1 update-source 192.168.1.2
neighbor 192.168.1.1 timers 3 10
address-family ipv4 unicast
network 5.1.0.0/24 route-map rm-nh
network 5.1.1.0/24 route-map rm-nh
neighbor 192.168.1.1 activate
exit-address-family
!
access-list al-any permit any
!
route-map rm-nh permit 10
match ip address al-any
set ip next-hop 99.0.0.1
set local-preference 123
set metric 98
set large-community 12:34:56
set extcommunity rt 89:123
set community 0:67
!
end
|