43-26
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 43 Configuring VRF-lite
Configuring VRF-lite for IPv6
EBGPv6
To configure EBGPv6, do the following:
This example shows how to configure EBRPv6:
Switch(config)#
router bgp 2
Switch(config-router)#
bgp router-id 2.2.2.2
Switch(config-router)#
bgp log-neighbor-changes
Switch(config-router)#
no bgp default ipv4-unicast
Switch(config-router)#
neighbor 2500::1 remote-as 1
Switch(config-router)#
neighbor 4000::2 remote-as 3
Switch(config-router)#
address-family ipv6 vrf b1
Switch(config-router-af)#
network 2500::/64
Switch(config-router-af)#
network 4000::/64
Switch(config-router-af)#
neighbor 2500::1 remote-as 1
Switch(config-router-af)#
neighbor 2500::1 activate
Switch(config-router-af)#
neighbor 4000::2 remote-as 3
Command
Purpose
Step 1
Switch>
enable
Enters privileged EXEC mode.
Enter your password if prompted.
Step 2
Switch#
configure terminal
Enters global configuration mode.
Step 3
Switch(config)#
router bgp
as-number
Enters router configuration mode for the specified routing
process.
Step 4
Switch(config-router)#
neighbor
peer-group-name
peer-group
Creates a multiprotocol BGP peer group.
Step 5
Switch(config-router)#
neighbor
{
ip-address
|
ipv6-address
[%] |
peer-group-name
}
remote-as
autonomous-system-number
[
alternate-as
autonomous-system-number
...]
Adds the IPv6 address of the neighbor in the specified
autonomous system to the IPv6 multiprotocol BGP
neighbor table of the local router.
Step 6
Switch(config-router)#
address-family ipv6
[
vrf
vrf-name
]
[
unicast
|
multicast
|
vpnv6
]
Specifies the IPv6 address family, and enters address
family configuration mode.
•
The unicast keyword specifies the IPv6 unicast
address family. By default, the switch is placed in
configuration mode for the IPv6 unicast address
family if theunicast keyword is not specified with the
address-family ipv6command.
•
The multicast keyword specifies IPv6 multicast
address prefixes.
Step 7
Switch(config-router-af)#
neighbor
ipv6-address
peer-group
peer-group-name
Assigns the IPv6 address of a BGP neighbor to a peer
group.
Step 8
Switch(config-router-af)#
neighbor
{
ip-address
|
peer-group-name
|
ipv6-address
[%]}
route-map
map-name
{
in
|
out
}
Applies a route map to incoming or outgoing routes.
•
Changes to the route map will not take effect for
existing peers until the peering is reset or a soft reset
is performed. Using the clear bgp ipv6 command with
the soft and in keywords will perform a soft reset.
Step 9
Switch(config-router-af)#
exit
Exits address familyconfiguration mode, and returns the
router to router configuration mode.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...