Virtual Router Configuration Example

The following example demonstrates how to:

  • Create a user VR named helix.

  • Remove ports from the VLAN (Virtual LAN) Default and VR-Default.

  • Add ports to user VR helix.

  • Add the OSPF (Open Shortest Path First) protocol to user VR helix.

  • Set the VR context to helix, so that subsequent VR commands affect VR helix.

  • Create an incoming VLAN named helix-accounting-in.

  • Create an outgoing VLAN named helix-accounting-out.

  • Add ports that belong to user VR helix to the helix-accounting incoming and outgoing VLANs.

The CLI prompt is shown in this example to show how the VR context appears. At the end of the example, the VR is ready to be configured for OSPF, using ExtremeXOS software commands.

* BD10K.1 # create virtual-router helix
* BD10K.2 # configure vlan default delete ports 3:*
* BD10K.3 # configure vr vr-default delete ports 3:*
* BD10K.4 # configure vr helix add ports 3:*
* BD10K.5 # configure vr helix add protocol ospf
* BD10K.6 # virtual-router helix
* (vr helix) BD10K.8 # configure helix-accounting-in add ports 3:1
* (vr helix) BD10K.8 # configure helix-accounting-out add ports 3:2
* (vr helix) BD10K.9 #