[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Enabling VPN Address Exchange
To limit the exchange of routes to those from within
the VPN-IPv4 address family, and to set other desired BGP parameters:
- Specify that the router exchanges addresses within a VPN
by choosing the VPN-IPv4 address family.
- Specify individual neighbors or peer groups to exchange
routes with from only within the current (VPN-IPv4) address family.
- Configure BGP parameters for VPN services.
See Configuring BGP Routing , for information
about configuring BGP sessions. The section Understanding BGP Command Scope has tables that list BGP commands according to their scope.
From Address Family Configuration mode, you can issue the commands
in Table 8 and Table 10.
- Exit Address Family Configuration mode.
address-family
- Use to configure the router to exchange IPv4 addresses
in VPN mode.
- The default setting is to exchange IPv4 addresses in unicast
mode from the default router.
- This command takes effect immediately.
- Example
- host1:vr1(config-router)#address-family vpnv4
- Use the no version to disable
the exchange of a type of prefix.
- See address-family.
exit-address-family
- Use to exit Address Family Configuration mode and access
Router Configuration mode.
- Example
- host1:vr1(config-router-af)#exit-address-family
- There is no no version.
- See exit-address-family.
neighbor activate
- Use to specify neighbors to exchange routes with from
within the current address family.
- Takes effect immediately.
- If dynamic capability negotiation was not negotiated with
the peer, the session is automatically bounced so that the exchanged
address families can be renegotiated in the open messages when the
session comes back up.
- If dynamic capability negotiation was negotiated with
the peer, BGP sends a capability message to the peer to advertise
or withdraw the multiprotocol capability for the address family in
which this command is issued.
- If a neighbor is activated, BGP also sends the full contents
of the BGP routing table of the newly activated address family.
- Example
- host1:vr1(config-router-af)#neighbor 192.168.1.158
activate
- Use the no version to indicate
that routes of the current address family should not be exchanged
with the peer. Use the default version
to remove the explicit configuration from the peer or peer group and
reestablish inheritance of the feature configuration.
- See neighbor activate.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]