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 {ipv4 | ipv6}
nodes are only supported within the VRF context.address-family {ipv4 | ipv6}
nodes are required to redistribute the OSPF static/connected IPv4 or IPv6 routes.
Examples
Configure the VRF for customer A, on the BGP instance 100:
switch(config)# router bgp 100 switch(config)# vrf cust_a