configure vr add protocol

configure vr vr_name [add | delete] protocol [ospf | ospfv3 | rip | ripng | bgp | isis | pim | mpls]

Description

Starts a Layer 3 protocol instance for a VR or VRF.

Syntax Description

vr_name Specifies the name of a VR or a VRF.
protocol Specifies a Layer 3 protocol that you can add or delete.

name

Specifies the name of a VR or a VRF. The following protocols are supported on VRs: RIP, RIPng, OSPF, OSPFv3, BGP, PIM. IS-IS, and MPLS. The following protocols are supported on VRFs: BGP, OSPFv3.
add Adds a routing protocol to VRF for PE – CE communication .
delete Specifies the name of a VR or a VRF.

Default

By default, none of the dynamic protocols are added to a User VR or a VRF.

Usage Guidelines

When a new VR or VRF is created, by default, no ports are assigned, no VLAN interface is created, and no support for any routing protocols is added.

MPLS is the only protocol that you can add to or delete from VR-Default. When MPLS is enabled on a switch, the default configuration adds MPLS to VR-Default. You cannot add or delete any other protocols from VR-Default, and you cannot add or delete any protocols from the other system VRs, VR-Mgmt and VR-Control.

Note

Note

You must delete the MPLS protocol from VR-Default before you can add it to a user VR. MPLS can be active on only one VR within a switch.
When you add a protocol to a VRF, the parent VR starts that protocol, if it was not already running, and adds a protocol instance to support the VRF.
Note

Note

OSPFv3 protocol can be added only to the user VR and non-VPN VRF.

If a previously configured protocol instance is deleted, the CE routes imported from that protocol into the VRF RIB is removed.

Example

The following example starts RIP on the VR "vr-acme":

configure vr vr-acme add protocol rip

The following example starts a BGP protocol instance for VRF "vr-widget":

configure vr vr-widget add protocol bgp

History

This command was first available in ExtremeXOS 11.0.

MPLS protocol support was added in ExtremeXOS 12.4.

Support for the OSPFv3 and RIPng protocols on user VRs was added in ExtremeXOS 12.5.

Support for the BGP protocol on VRFs was added in ExtremeXOS 12.6.0-BGP.

Support for X590 added in ExtremeXOS 30.2.

Platform Availability

This command is available on ExtremeSwitching X450-G2, X460-G2, X670-G2 , X465, X590, X690, X695, X870, 5420, 5520 series switches.