Adding The Port To The Specified Vlan - TP-Link T1500-28PCT User Manual

Hide thumbs Also See for T1500-28PCT:
Table of Contents

Advertisement

Configuring 802.1Q VLAN
VLAN
Name
-------
--------
2
RD
Switch(config-vlan)#end
Switch#copy running-config startup-config

2.2.2 Adding the Port to the Specified VLAN

Follow these steps to add the port to the specified VLAN:
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
The following example shows how to add the port 1/0/5 to VLAN 2, and specify its egress
rule as tagged:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/5
Switch(config-if)#switchport general allowed vlan 2 tagged
Switch(config-if)#show interface switchport gigabitEthernet 1/0/5
Port Gi1/0/5:
PVID: 2
Status
---------
active
configure
Enter global configuration mode.
interface {fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range
gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list |
port-channel port-channel-id | range port-channel port-channel-list }
Enter interface configuration mode.
switchport general allowed vlan vlan-list { tagged | untagged }
Add ports to the specified VLAN.
vlan-list:
Specify the ID or ID list of the VLAN(s) that the port will be added to. The ID ranges
from 1 to 4094.
tagged |
untagged: Select the egress rule for the port.
show interface switchport [fastEthernet port | gigabitEthernet port | ten-gigabitEthernet
port | port-channel lag-id ]
Verify the information of the port.
end
Return to privileged EXEC mode.
copy running-config startup-config
Save the settings in the configuration file.
Ports
---------
802.1Q VLAN Configuration
Configuration Guide
144

Advertisement

Table of Contents
loading

Table of Contents