router bgp vrf
Syntax
router bgp <AS-NUMBER:NN> [vrf <VRF-NAME>]
[no] router bgp <AS-NUMBER:NN> [vrf <VRF-NAME>]
Description
This command configures VRF for the BGP instance.
The
no
form of this command removes the configuration.
Command context
config
Parameters
<AS-NUMBER:NN>
Specifies an AS number and an arbitrary number for the RT value.
<VRF-NAME>
String VRF name for the VRF.
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