configure vr add ports

configure vr vr-name add ports port_list

Description

Assigns a list of ports to the specified VR.

Syntax Description

vr-name Specifies the name of the VR.
port_list Specifies the ports to add to the VR.

Default

By default, all ports are assigned to VR-Default.

Usage Guidelines

When a new VR is created, by default, no ports are assigned, no This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches. interface is created, and no support for any routing protocols is added. Use this command to assign ports to a VR. Since all ports are initially assigned to VR-Default, you might need to delete the desired ports first from the VR where they reside before you add them to the desired VR.

If you plan to assign VR ports to a VLAN, be aware that the ports that you add to a VLAN and the VLAN itself cannot be explicitly assigned to different VRs. When multiple VRs are defined, consider the following guidelines while adding ports to a VR:
  • A VLAN can belong (either through explicit or implicit assignment) to only one VR.
  • If a VLAN is not explicitly assigned to a VR, then the ports added to the VLAN must be explicitly assigned to a single VR.
  • If a VLAN is explicitly assigned to a VR, then the ports added to the VLAN must be explicitly assigned to the same VR or to no VR.
  • If a port is added to VLANs that are explicitly assigned to different VRs, the port must be explicitly assigned to no VR.

Example

The following example adds all the ports on slot 2 to the VR "vr-acme":

configure vr vr-acme add ports 2:*

History

This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.