29.2.7 Configuring advertised route filters
- Points to note
-
The example below shows how to set the priority of advertised BGP4+ routes by using route-map filters and specifying the conditions and settings.
Command examples
-
(config)# ipv6 prefix-list MY_NET_1 seq 10 permit 3ffe:192:169:10::/64
(config)# ipv6 prefix-list MY_NET_2 seq 10 permit 3ffe:192:169:20::/64
(config)# route-map SET_EXT_OUT permit 10
(config-route-map)# match ipv6 address prefix-list MY_NET_1
(config-route-map)# set metric 120
(config-route-map)# exit
(config)# route-map SET_EXT_OUT permit 20
(config-route-map)# match ipv6 address prefix-list MY_NET_2
(config-route-map)# exit
Sets 120 in the MED attribute when the destination network is 3ffe:192:169:10::/64.
Allows route advertisements to be sent also to destination network 3ffe:192:169:20::/64.