beautypg.com

Advertising ipv4 routes between ipv6 bgp peers – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 84

background image

56

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring BGP4 neighbors

Advertising IPv4 routes between IPv6 BGP peers

This feature transports IPv6 routes over an IPv4 BGP session. If you have an existing IPv4 BGP
mesh, you can use it to transport IPv6 routes instead of creating a new IPv6 BGP mesh.

First, configure peering using the IPv4 addresses under IPv6 address family, i.e enabling the IPv6
address family for the IPv4 neighbor. Since the advertised next hop is usually unreachable, set the
next hop with a static route or with an inbound or outbound route-map.

For example, IPv6 Router 1 (IP address 192.168.1.1) and IPv6 Router 2 (IP address 192.168.12)
are connected through an IPv4 network. To configure the IPv4 peers to advertise the IPv6 routes,
enter the following commands.

On Router 1, enter the following:

R1(config-bgp)#show ip bgp config

router bgp

local-as 1

neighbor 192.168.1.2 remote-as 2

R1(config-bgp)#address-family ipv6 unicast

R1(config-bgp)#neighbor 192.168.1.2 activate

R1(config-bgp)#neighbor 192.168.1.2 route-map in t5

exit-address-family

address-family vpnv4 unicast

exit-address-family

R1(config-bgp)#show route-map

route-map t5 permit 1

set ipv6 next-hop 2001:db8::2

On Router2, enter the following:

R2(config-bgp)#show ip bgp config

router bgp

local-as 1

neighbor 192.168.1.1 remote-as 1

address-family ipv6 unicast

redistribute static

neighbor 192.168.1.1 activate

exit-address-family

!