DELL N3000 Manual Do Utilizador

Página de 1460
1086
Configuring IP Routing
Configuring Dell Networking Switch B
To configure Switch B:
Enable routing on the switch.
console#configure
console(config)#ip routing
Assign an IP address to VLAN 20. This command also enables IP routing 
on the VLAN.
console#configure
console(config)#interface vlan 20
console(config-if-vlan20)#ip address 192.168.20.25 
255.255.255.0
console(config-if-vlan20)#exit
Assign an IP address to VLAN 30. This command also enables IP routing 
on the VLAN.
console#configure
console(config)#interface vlan 30
console(config-if-vlan30)#ip address 192.168.30.30 
255.255.255.0
console(config-if-vlan30)#exit
Configure the VLAN 20 routing interface on Switch A as the default 
gateway so that any traffic with an unknown destination is sent to 
Switch A for forwarding.
console(config)#ip route default 192.168.20.20