Configuring the default gateways allows the switch to send outbound traffic to the routers:
>> IP Interface 5# ../gw 1
>> Default gateway 1# addr 22.214.171.124(Assign IP address)
>> Default gateway 1# ena
>> Default gateway 1# ../gw 2
>> Default gateway 2# addr 126.96.36.199 (Assign address)
>> Default gateway 2# ena
Enable, apply, and verify the configuration.
>> Default gateway 2# ../fwrd
>> IP Forwarding# on
>> IP Forwarding# apply
>> IP Forwarding# /cfg/l3/cur
Examine the resulting information. If any settings are incorrect, make the appropriate changes.
Save your new configuration changes.
>> IP# save
Using VLANs to segregate broadcast domains
In the previous example, devices that share a common IP network are all in the same broadcast domain. If
you want to limit the broadcasts on your network, you could use VLANs to create distinct broadcast
domains. For example, as shown in the following procedure, you could create one VLAN for the client
trunks, one for the routers, and one for the servers.
In this example, you are adding to the previous configuration.
Determine which switch ports and IP interfaces belong to which VLANs.
The following table adds port and VLAN information:
Subnet routing example: Optional VLAN ports
First Floor Client Workstations
Second Floor Client Workstations
Primary Default Router
Secondary Default Router
Common Servers 1
Common Servers 2
Add the switch ports to their respective VLANs.
(Select primary default gateway)
(Enable primary default gateway)
(Select secondary default gateway)
(Enable secondary default gateway)
(Select the IP Forwarding Menu)
(Turn IP forwarding on)
(Make your changes active)
(View current IP settings)
(Save for restore after reboot)
Basic IP routing