BGP and BGP4+ Configuration

Configuring Route-Maps with BGP4+

Use route-maps to filter incoming updates from a BGP4+ peer. In this example, a prefix-list named list1 on Router 1 is configured to deny entry of any routes with the IPv6 address 2001::db8:12::/48. To test the route-map filter , Router 2 is configured to advertise IPv6 network prefixes 2001:db8:11::/48 and 2001:db8:12::/48.

Use the show bgp ipv6 command on Router 1 to verify only the 2001:db8:11::/48 network prefix has been installed in the BGP table.

AS10

AS11

2001:db8::10:10

 

 

2001:db8::10:11

Router 1

Router 2

Router ID 192.168.10.10

Router ID 192.168.10.11

 

bgp4+_4

Router 1

awplus#

configure terminal Enter the Global Configuration mode.

awplus(config)#

ipv6 prefix-list FILTER_LIST_IN Create an entry in the prefix-list named FILTER_LIST_IN seq 5 deny 2001:db8:12::/48 for the route-map. 5 specifies the sequence number or

position of this specific route-map. deny specifies that prefixes will be rejected. permit specifies that prefixes will be allowed. 48 and 64 are the minimum and maximum prefix lengths, respectively, to be matched for this route-map. The prefix-list permits or denies selected prefixes from being installed in the BGP table, when used in a route map with the route map applied to the peering.

awplus(config)#

ipv6 prefix-list FILTER_LIST_IN seq 10 permit any

Create another entry in the prefix-list named

FILTER_LIST_IN for the route-map. 10 specifies the sequence number or position of this specific route-map. permit any specifies prefix-list FILTER_LIST_IN to accept all prefixes of any length. The prefix-list permits or denies selected prefixes from being installed in the BGP table, when used in a route map with the route map applied to the peering.

awplus(config#

route-map FILTER_BGP_IN_MAP Enter the Route-map Configuration mode from the Global permit 1 Configuration mode and creates the route-map named

FILTER_BGP_IN_MAP. The route-map matches on the prefix-list.

awplus(config-route-map)#

match ipv6 address prefix-listSet the match criteria for the route-map. In this case, if the FILTER_LIST_IN route-map name matches FILTER_LIST_IN, then the first

sequence 5 denies prefixes and the second sequence 10 accepts prefixes.

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

C613-50032-01 REV D

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

2.31

Page 83
Image 83
Allied Telesis VERSION 5.4.3-2.6 manual Configuring Route-Maps with BGP4+, Ipv6 prefix-list Filterlistin seq 10 permit any