Configuring Basic Unicast Routing
To configure IP unicast routing on the switch:
-
Create and configure two or more VLANs.
-
For each VLAN that participates in IP routing, assign an
IP address, use the following command:
configure {vlan}
vlan_name ipaddress [ipaddress {ipNetmask} |
ipv6-link-local | {eui64}
ipv6_address_mask]
Ensure that each VLAN has a unique IP
address.
-
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.
-
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}
-
Configure the routing protocol, if required. For a simple
network using RIP, the default configuration may be acceptable.
-
Turn on RIP or OSPF using one of the following
commands:
enable rip
enable ospf

Note
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 Command Reference Guide.