Dell 6200 SERIES Computer Accessories User Manual


 
Routing Configuration 93
CLI Examples
The configuration commands used in the following example enable RIP on ports vlan 2 and vlan 3 as
shown in the network illustrated in Figure 4-6.
Figure 4-6. Port Routing Example Network Diagram
Example #1: Enable Routing for the Switch
The following sequence enables routing for the switch:
console#config
ip routing
exit
Example #2: Enable Routing for Ports
The following command sequence enables routing and assigns IP addresses for VLAN 2 and VLAN 3.
console#config
interface vlan 2
routing
ip address 192.150.2.2 255.255.255.0
exit
interface vlan 3
routing
ip address 192.130.3.1 255.255.255.0
exit
exit
Subnet 3
Subnet 5
Subnet 2
Port 1/0/2
192.150.2.2
Port 1/0/3
192.130.3.1
Port 1/0/5
192.64.4.1
Layer 3 Switch
acting as a router
VLAN 3
192.130.3.1
VLAN 2
192.150.2.2
VLAN 5
192.64.4.1