Configuration Guide
•
Routing Table Object - responsible for maintaining the routing table populated by local
and static routes.
CLI Examples
The diagram in this section shows a Unified Switch configured for port routing. It connects
three different subnets, each connected to a different port. The script shows the commands you
would use to configure a Unified Switch to provide the port routing support shown in the
diagram.
Figure 28. Port Routing Example Network Diagram
Example 1. Enabling Routing for the Switch
Use the following command to enable routing for the switch. Execution of the command
enables IP forwarding by default.
config
ip routing
exit
Example 2. Enabling Routing for Ports on the Switch
Use the following commands to enable routing for ports on the switch. The default link-level
encapsulation format is Ethernet. Configure the IP addresses and subnet masks for the ports.
70
© 2001- 2011 D-Link Corporation. All Rights Reserved.
Unified Switch
acting as a router
Port 0/2
192.150.2.2
Subnet 2
Port 0/3
192.130.3.1
Port 0/5
192.64.4.1
Subnet 3
Subnet 5