27 bgp vpn commands, 1 address-family ipv4 vrf, 2 address-family vpnv4 – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 540

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 540 of 855

27 BGP VPN Commands

27.1 address-family ipv4 vrf

Use this command to enable the exchanging of VRF routing information and switches command mode to
address family-vrf mode.

Command Syntax

address-family ipv4 (multicast|unicast|VRF)
multicast Address Family modifier
unicast Address Family modifier
VRF vrf VRF-NAME For MPLS-VPN
VRF-NAME A name used to identify a VRF

Command Mode

Router mode

Usage

Use address-family ipv4 vrf command to configure routing exchange between Provider Edge (PE) and
Customer Edge (CE) devices. The BGP sessions between PE routers can carry different types of routes
(VPN-IPv4, IPv4, VPN-IPv4 and IPv4 routes). Address families are used to control the type of BGP session.
Configure a BGP address family for each VRF configured on the PE router and a separate address family to
carry VPN-IPv4 routes between PE routers. All non VPN BGP neighbors are defined using the Router mode.
All VPN BGP neighbors are defined under its associated Address Family mode. The BGP process with no
address-family specified, is the default address-family where any sessions are configured that either are not
associated with a VRF or are used to carry IPv4 routes.

Examples

The following example places the router in address family configuration mode and specifies vrf1 as the name
of the VRF instance to associate with subsequent IP Version 4 address family configuration mode commands:

Switch(config)# router bgp 100
Switch(config-router)# address-family ipv4 vrf Switch
Switch(config-router-af)#


Related Commands

address-family vpnv4 unicast

27.2 address-family vpnv4

Use this command to enable the exchanging of VPNv4 routing information among ISP PE-routers and
switches command mode to address-family-vpnv4 mode.

Advertising