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 (Routing Information Protocol), RIPng (Routing Information Protocol Next Generation), OSPF (Open Shortest Path First), OSPFv3 (Open Shortest Path First version 3), BGP (Border Gateway Protocol), PIM. IS-IS, and MPLS (Multiprotocol Label Switching). 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 (Virtual LAN) 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.

Platform Availability

This command is available on Summit X450-G2, X460-G2, X670-G2, and X770 series switches.