Specifications

266 ExtremeWare XOS 11.0 Concepts Guide
IP Unicast Routing
Configuring IP Unicast Routing
This section describes the commands associated with configuring IP unicast routing on the switch. To
configure routing:
1 Create and configure two or more VLANs.
2 Assign each VLAN that will be using routing an IP address using the following command:
configure vlan <vlan_name> ipaddress <ipaddress> {<netmask>}
Ensure that each VLAN has a unique IP address.
3 Configure a default route using the following command:
configure iproute add default <gateway> {vr <vrname>} {<metric>} {multicast-only |
unicast-only}
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 {broadcast} {vlan <vlan_name>}
5 Turn on RIP or OSPF using one of the following commands:
enable rip
enable ospf
Verifying the IP Unicast Routing Configuration
Use the show iproute command to display the current configuration of IP unicast routing for the
switch and for each VLAN. The
show iproute command displays the currently configured routes and
includes how each route was learned.
Additional verification commands include:
show iparp—Displays the IP ARP table of the system.
show ipconfig—Displays configuration information for one or more VLANs.
Routing Configuration Example
Figure 46 illustrates a BlackDiamond switch that has three VLANs defined as follows:
Finance
All ports on slots 1 and 3 have been assigned.
IP address 192.207.35.1.
Personnel
Protocol-sensitive VLAN using the IP protocol.
All ports on slots 2 and 4 have been assigned.
IP address 192.207.36.1.