router bgp vrf

Syntax

router bgp[vrf] [no] router bgp[vrf]

Description

This command configures VRF for the BGP instance.

The没有form of this command removes the configuration.

Command context

config

Parameters

Specifies an AS number and an arbitrary number for the RT value.

String VRF name for the VRF.

Authority

Administrators or local user group members with execution rights for this command.

Usage

  • Use the commandvrfvrf-namewithin the router BDG context.

  • 地址系列{ipv4 | ipv6}没有des are only supported within the VRF context.

  • 地址系列{ipv4 | ipv6}没有des 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 100switch(config)#多联机cust_a