IP Unicast Routing
configure vlan <vlan_name> ipaddress <ipaddress> {<ipNetmask>}
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 {[vr <name> | {broadcast} {fast-direct-broadcast}
{ignore-broadcast} {vlan <name>}]}
5 Turn on RIP or OSPF using one of the following commands:
enable
ripp
enable ospf
Verifying the IP Unicast Routing Configuration
Use the
command to display the current configuration of IP unchaste routing for the
show iproute
switch, and for each VLAN. The
includes how each route was learned.
Additional verification commands include:
•
—Displays the IP ARP table of the system.
show bootprelay
•
—Displays configuration information for one or more VLANs.
show ipconfig
Routing Configuration Example
Figure 32 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.
• MyCompany
— Port-based VLAN.
— All ports on slots 1 through 4 have been assigned.
180
command displays the currently configured routes, and
show iproute
ExtremeWare XOS 10.1 Concepts Guide