beautypg.com

D-Link UNIFIED WIRED & WIRELESS ACCESS SYSTEM DWS-3000 User Manual

Page 79

background image

CLI Examples

79

12 Port Routing

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.
Network directed broadcast frames are dropped and the maximum transmission unit (MTU)
size is 1500 bytes.

config
interface 0/2
routing
ip address 192.150.2.2 255.255.255.0
exit
exit

config
interface 0/3
routing
ip address 192.130.3.1 255.255.255.0
exit
exit

config
interface 0/5
routing
ip address 192.64.4.1 255.255.255.0
exit
exit