Vlan Configuration Example - D-Link DI-1750 Reference Manual

Hide thumbs Also See for DI-1750:
Table of Contents

Advertisement

Please input a digital number:1
Will you execute it? [Y]:
VLAN id: 1, Name: default, TotalPorts:11
Ports
-----------------------------------------------------------------
F1/0
E1/0
Display vlan information of a certain interface:
[DEFAULT@lns /config/]#show
Key Word:
Q(quit)
......
(53)vlan
......
Please Input the code of command to be execute(0-59): 53
Key Word:
Q(quit)
(00)id
(01)interface
(02)<cr>
Please Input the code of command to be execute(0-2): 1
Key Word:
Q(quit)
(00)FastEthernet
(01)Ethernet
Please Input the code of command to be execute(0-1): 1
Please input slot/port:0/0
Will you execute it? [Y]:
Interface
Name
-------------------- -------- ---- ---------------- ----------------
Ethernet0/0

16.2.4 VLAN configuration example

Create two vlans on a router:vlan 2 and vlan 3.Configure an IP address of 192.168.30.0 network on
interface vlan-intf2,and an IP address of 192.168.10.0 netwrok on interface vlan-intf3.Set the ether port
e1/0 and e2/1 as the access switchport of vlan3,e2/0 as the access switchport of vlan2,and e1/1 as the
trunk switchport of vlan2 and vlan3 with the native vlan 3.Set the allowed vlan range is vlan2-6,7 on
switchport e1/1.
The fast ethernet portf0/0 is not configured into a switchport,so it is a normal ether port and has nothing
with the switching.
!
vlan 2-3
!
interface Vlan-intf2
ip address 192.168.30.4 255.255.255.0
no ip directed-broadcast
!
interface Vlan-intf3
ip address 192.168.10.4 255.255.255.0
no ip directed-broadcast
!
interface FastEthernet0/0
ip address 172.16.20.87 255.255.255.0
Atttributes
Trunk,Untagged
Access
vlan information
VLAN status by VLAN id
VLAN status of One interface
FastEthernet interface
Ethernet interface
VLAN
Property PVID Vlan-Map
Trunk
2
3,5,7,9,11,13,15 none
Model Name
uTagg-VLan-Map
17,19
- 544 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Di-2621Di-2630Di-3660

Table of Contents