Configuring Basic Unicast Routing

To configure IP unicast routing on the switch:

  1. Create and configure two or more VLANs.
  2. For each VLAN that participates in IP routing, assign an IP address, use the following command:
    configure {vlan} vlan_nameipaddress [ipaddress {ipNetmask} | ipv6-link-local | {eui64} ipv6_address_mask]
    Ensure that each VLAN has a unique IP address.
  3. Configure a default route using the following command:
    configure iproute add default gateway {metric} {multicast |multicast-only |unicast |unicast-only} {vr vrname}
    Default routes are used when the router has no other dynamic or static route to the requested destination.
  4. Turn on IP routing for one or all VLANs using the following command:
    enable ipforwarding {ipv4 | broadcast | ignore-broadcast | fast-direct-broadcast} {vlan vlan_name}
  5. Configure the routing protocol, if required. For a simple network using RIP, the default configuration may be acceptable.
  6. Turn on RIP or OSPF using one of the following commands:
    enable rip
    enable ospf


Unicast reverse path forwarding is available to help prevent Distributed Denial of Service attacks. For complete information, see “The protocol anomaly detection security functionality is supported by a set of anomaly-protection enable, disable, configure, clear, and show CLI commands. For further details, see the ExtremeXOS 16.2 Command Reference Guide.