D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 5 VLAN Configuration
5-19
# Enter port Gi 0/4
DES-7200(config-if)#interface GigabitEthernet 0/4
# Delete all vlans from the allowed vlan list of this port
DES-7200(config-if)#switchport trunk allowed vlan remove 1-4094
# Add vlan 20 and vlan 30 into the allowed vlan list of this port
DES-7200(config-if)#switchport trunk allowed vlan add 20,30
# Return to the global configuration mode
DES-7200(config-if)#exit
Display vlan configurations on core switch
# Display vlan information, including vlan id, name, state and member ports
DES-7200#show vlan
VLAN Name Status Ports
---- -------- -------- -------------------------------
1 VLAN0001 STATIC Gi0/1, Gi0/5, Gi0/6, Gi0/7
Gi0/8, Gi0/9, Gi0/10, Gi0/11
Gi0/12, Gi0/13, Gi0/14, Gi0/15
Gi0/16, Gi0/17, Gi0/18, Gi0/19
Gi0/20, Gi0/21, Gi0/22, Gi0/23
Gi0/24
10 VLAN0010 STATIC Gi0/2, Gi0/3
20 VLAN0020 STATIC Gi0/2, Gi0/3, Gi0/4
30 VLAN0030 STATIC Gi0/3, Gi0/4
# Display the vlan state of port Gi 0/2
DES-7200#show interface GigabitEthernet 0/2 switchport
Interface Switchport Mode Access Native Protected VLAN lists
-------- ---------- ----- ------ ------ --------- ---------
Gi0/2 enabled TRUNK 1 1 Disabled 10,20
# Display the vlan state of port Gi 0/3
DES-7200#show interface GigabitEthernet 0/3 switchport
Interface Switchport Mode Access Native Protected VLAN lists
-------- ---------- ----- ------ ------ --------- ----------
Gi0/3 enabled TRUNK 1 1 Disabled 10,20,30
# Display the vlan state of port Gi 0/4
DES-7200#show interface GigabitEthernet 0/4 switchport
Interface Switchport Mode Access Native Protected VLAN lists
-------- ---------- ----- ------ ------ --------- ----------
Gi0/4 enabled TRUNK 1 1 Disabled 20,30
Create SVI port and specify the IP address