D-Link UNIFIED WIRED & WIRELESS ACCESS SYSTEM DWS-3000 User Manual
Page 83
CLI Examples
83
13 VLAN Routing
Next specify the VLAN ID assigned to untagged frames received on the ports.
config
interface 0/1
vlan pvid 10
exit
interface 0/2
vlan pvid 10
exit
interface 0/3
vlan pvid 20
exit
exit
Example 2: Set Up VLAN Routing for the VLANs and the Switch.
The following commands show how to enable routing for the VLANs:
vlan database
vlan routing 10
vlan routing 20
exit
show ip vlan
This returns the logical interface IDs that will be used in subsequent routing commands.
Assume that VLAN 10 is assigned ID 4/1 and VLAN 20 is assigned ID 4/2.
Enable routing for the switch:
config
ip routing
exit
The next sequence shows an example of configuring the IP addresses and subnet masks for the
VLAN router ports.
config
interface 4/1
ip address 192.150.3.1 255.255.255.0
exit
interface 4/2
ip address 192.150.4.1 255.255.255.0
exit
exit
- AirPlus G DWL-G120 (2 pages)
- AirPlus G DI-524 (92 pages)
- DI-304 (105 pages)
- DIR-455 (93 pages)
- DI-308 (131 pages)
- DIR-120 (77 pages)
- DIR-451 (3 pages)
- DI-704UP (108 pages)
- DFE-550TX (34 pages)
- DAS-4192-60 (55 pages)
- VDI-624 (91 pages)
- DI-714 (58 pages)
- Wireless ADSL2/2+ 4-port Ethernet Router DSL-2640U (84 pages)
- DFL-600 (131 pages)
- DCM-202 (7 pages)
- DCM-202 (39 pages)
- DI-514 (62 pages)
- DES-6509 (1 page)
- WIRELESSADSLROUTER DSL-G604T (92 pages)
- DIR-68 (98 pages)
- DFL-500 (122 pages)
- DFE-530TX+ (21 pages)
- DFE-530TX+ (27 pages)
- DFE-530TX+ (2 pages)
- DCM-201 (34 pages)
- DES-5024 (93 pages)
- DI-774 (98 pages)
- WBR-2310 (78 pages)
- DSL 2740B (15 pages)
- DSL 2740B (115 pages)
- DAP-1160 (59 pages)
- Wireless Network Storage Adapter DNS-G120 (2 pages)
- AirPlus DI-524 (95 pages)
- DI-1162M (140 pages)
- DGL3420 (2 pages)
- DRO-210i (78 pages)
- DI-604 (79 pages)
- DSL-500 (74 pages)
- DIR-301 (67 pages)
- WIRELES 108 ROUTER DI-724GU (89 pages)
- DIR-635 (86 pages)
- DFE-500FX (16 pages)
- BROADBAND DSL-30B (12 pages)
- DGL-4300 (74 pages)
- DAP-3220 (76 pages)