router bgp vrf
Syntax
[no] router bgp <as-nm> [vrf <vrf-name>]
[no] router bgp <as-nm> [vrf <vrf-name>]
Description
Configures VRF for the BGP instance.
The
no
form of this command removes the configuration.
Command context
config
Parameters
VRF
Specify VRF for the BGP instance.
VRF_NAME
Required: Specifies VRF name.
Authority
Administrators
Usage
Use the command
vrf vrf-name
within the router BDG context.address-family ipv6 mode
is supported only within the VRF context.address-family ipv6 mode
is required to redistribute the OSPFv3 or static/connected IPv6 routes.To redistributing IPv4 routes, use the existing redistribute command from the
router bgp
context.
Examples
Configure the VRF for customer A, on the BGP instance 100:
switch(config)# switch(config)# router bgp 100 vrf cust_a