Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3
|
router
bgp
autonomous-system-number
Device(config)# router bgp 65000
|
Enters router configuration mode for the specified routing process.
|
Step 4
|
neighbor
ipv6-address
%
interface-name
remote-as
autonomous-system-number [alternate-as
autonomous-system-number ...]
Device(config-router)# neighbor FE80::1234:BFF:FE0E:A471% remote-as 64600
|
Adds the link-local IPv6 address of the neighbor in the specified remote autonomous system to the IPv6 multiprotocol BGP
neighbor table of the local router.
Note
|
Interface for BGP Link-Local neighbor addresses must be configured as part of the address, for example:
FE80::1234:BFF:FE0E:A471%GigabitEthernet0/0/0
This configuration allows you to have the same local link peering address in multiple interfaces.
|
|
Step 5
|
address-family
ipv6
[vrf
vrf-name ] [unicast | multicast | vpnv6 ]
Device(config-router)# address-family ipv6
|
Specifies the IPv6 address family, and enters address family configuration mode.
-
The unicast keyword specifies the IPv6 unicast address family. By default, the router is placed in configuration mode for the IPv6 unicast
address family if the unicast keyword is not specified with the address-family
ipv6 command.
-
The multicast keyword specifies IPv6 multicast address prefixes.
|
Step 6
|
neighbor
{ip-address | peer-group-name | ipv6-address
%
interface-name } activate
Device(config-router-af)# neighbor FE80::1234:BFF:FE0E:A471% activate
|
Enables the neighbor to exchange prefixes for the IPv6 address family with the local router using the specified link-local
addresses.
|
Step 7
|
neighbor
{ip-address | peer-group-name | ipv6-address [%
interface-name ]} route-map
map-name {in | out }
Device(config-router-af)# neighbor FE80::1234:BFF:FE0E:A471% route-map nh6 out
|
Applies a route map to incoming or outgoing routes.
|
Step 8
|
exit
Device(config-router-af)# exit
|
Exits address family configuration mode, and returns the device to router configuration mode.
|
Step 9
|
Repeat Step 8.
Device(config-router)# exit
|
Exits router configuration mode, and returns the device to global configuration mode.
|
Step 10
|
route-map
map-tag
[permit | deny ] [sequence-number ]
Device(config)# route-map nh6 permit 10
|
Defines a route map and enters route-map configuration mode.
|
Step 11
|
match
ipv6
address
{prefix-list
prefix-list-name | access-list-name }
Device(config-route-map)# match ipv6 address prefix-list cisco
|
Distributes any routes that have a destination IPv6 network number address permitted by a prefix list, or performs policy
routing on packets.
|
Step 12
|
set
ipv6
next-hop
ipv6-address
[link-local-address ] [peer-address ]
Device(config-route-map)# set ipv6 next-hop 2001:DB8::1
|
Overrides the next hop advertised to the peer for IPv6 packets that pass a match clause of a route map for policy routing.
-
The ipv6-address argument specifies the IPv6 global address of the next hop. It need not be an adjacent router.
-
The link-local-address argument specifies the IPv6 link-local address of the next hop. It must be an adjacent router.
Note
|
The route map sets the IPv6 next-hop addresses (global and link-local) in BGP updates. If the route map is not configured,
the next-hop address in the BGP updates defaults to the unspecified IPv6 address (::), which is rejected by the peer.
|
|