Owner's Manual
292 | Chapter 11. Virtual Routers
NETGEAR 8800 User Manual
Configuring the Routing Protocols and VLANs
After a user VR is created, the ports are added, and support for any required routing
protocols is added, you can configure the VR.
To create a VLAN in a VR, use the following command:
create vlan <vlan_name> {vr <vr-name>}
If you do not specify a VR in the create vlan command, the VLAN is created in the current
VR context.
VLAN names must conform to the guidelines specified in Object Names on page 31.
Note: All VLAN names and VLAN IDs on a switch must be unique,
regardless of the VR in which they are created. You cannot have two
VLANs with the same name, even if they are in different VRs.
To display the VLANs in a specific VR, use the following command:
show vlan virtual-router <vr-name>
which is a specific form of this command:
show vlan {detail {ipv4 | ipv6} | <vlan_name> {ipv4 | ipv6} | virtual-router
<vr-router> | <vlan_name> stpd | security}
You can also configure routing protocols by using the standard XCM8800 software
commands. The routing configurations of the different VRs are independent of each other.
Virtual Router Configuration Example
The following example demonstrates how to:
• Create a user VR named helix.
• Remove ports from the VLAN Default and VR-Default.
• Add ports to user VR helix.
• Add the OSPF protocol to user VR helix.
• Set the VR context to helix, so that subsequent VR commands affect VR helix.
• Create a VLAN named helix-accounting.
• Add ports that belong to user VR helix to the helix-accounting VLAN.
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 XCM8800 software
commands.
* XCM8810.1 # create virtual-router helix
* XCM8810.2 # configure vlan default delete ports 3:*










