6. Enter the router bgp command to enable BGP routing.
device(config)# router bgp
7. Enter the local-as command to congure the autonomous system number (ASN) in which your device resides.
device(config-bgp-router)# local-as 1000
8. Enter the neighbor ipv6-address remote-as command to specify the ASN in which the remote neighbor resides.
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
9. Enter the address-family command and specify the ipv6 and unicast keywords to enter IPv6 address family
conguration
mode.
device(config-bgp-router)# address-family ipv6 unicast
10. Enter the neighbor ipv6-address activate command to enable the exchange of information with the neighbor.
device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 activate
11. Enter the neighbor ipv6-address route-map command and specify the out keyword to apply a route map to outgoing routes.
device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 route-map out myroutemap
The following example applies a route map, “myroutemap”, as the outbound routing policy for a neighbor.
device# configure terminal
device(config)# ipv6 prefix-list myprefixlist seq 10 permit 2001:db8::/32
device(config)# route-map myroutemap permit 10
device(config-route-map-myroutemap)# match ipv6 address prefix-list myprefixlist
device(config-route-map-myroutemap)# exit
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 activate
device(config-bgp-ipv6u)# neighbor fe80:4398:ab30:45de::1 route-map out myroutemap
Redistributing
prexes into BGP4+
Various routes can be redistributed into BGP.
Static, connected, OSPF, and RIPng routes can be redistributed into BGP. This task redistributes RIPng routes into BGP4+.
1. Enter the congure terminal command to access global conguration mode.
device# configure terminal
2. Enter the router bgp command to enable BGP routing.
device(config)# router bgp
3. Enter the address-family unicast command and specify the ipv6 and unicast keywords to enter IPv6 address family
conguration mode.
device(config-bgp-router)# address-family ipv6 unicast
4. Enter the redistribute command using the rip keyword to redistribute IPv6 RIP routes.
device(config-bgp-ipv6u)# redistribute rip
Conguring BGP4+
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 493