
CONFIGURING IP UNICAST ROUTING
CONFIGURING IP UNICAST ROUTING
This section describes the commands associated with configuring IP unicast routing on the Summit. Configuring routing involves the following steps:
•Verify the switch operating mode is set to iprouting by using the following command:
show switch
If it is not, use the following command: config devicemode iprouting
•Create and configure two or more VLANs.
Although it is possible to enable IP forwarding and an IP routing protocol (such as RIP) with only one VLAN defined, the Summit does not create or respond appropriately to ICMP messages unless at least two VLANs are created and configured.
For information on creating and configuring VLANs, refer to Chapter 5.
•Assign each VLAN that will be using routing an IP address, using the following command:
config vlan <name> ipaddress <ipaddress> {<mask>}
Ensure that each VLAN has a unique IP address.
•Configure a default route, using the following command: config iproute add default <gateway> {<metric>}
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 more VLANs, using the following command: enable ipforwarding {vlan <name> all}
•Turn on RIP or OSPF using one of the following commands: enable rip
enable ospf
Only one routing protocol, either RIP or OSPF, can be enabled on the switch at any given time.
SUMMIT SWITCH INSTALLATION AND USER GUIDE |