EasyManua.ls Logo

TP-Link T1600G-52PS - Adding the Port to the Specified VLAN

TP-Link T1600G-52PS
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuring 802.1Q VLAN 802.1Q VLAN Configuration
Configuration Guide
157
Vlan Name Egress-rule
---- ----------- ---------------
1 System-VLAN Untagged
Switch(config-if)#end
Switch#copy running-config startup-config
2.2.3 Adding the Port to the Specified VLAN
Follow these steps to add the port to the specified VLAN:
Step 1 configure
Enter global configuration mode.
Step 2 interface {
fastEthernet
port
| range fastEthernet
port-list
| gigabitEthernet
port
| range
gigabitEthernet
port-list
}
Enter interface configuration mode.
port| port-list
: The number or the list of the Ethernet port that you want to configure.
Step 3 switchport general allowed vlan
vlan-list
{ tagged | untagged }
Add the port to the specified VLAN, and specify its egress rule in this VLAN.
vlan-id
: The default VLAN ID of the port with the values between 1 and 4094.
tagged | untagged: Egress rule for the port.
Step 4 show interface switchport [gigabitEthernet
port
]
Verify the information of the port.
port
: Specify the ID of the port to show information.
Step 5 end
Return to privileged EXEC mode.
Step 6 copy running-config startup-config
Save the settings in the configuration file.
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
Member in LAG: N/A

Table of Contents

Other manuals for TP-Link T1600G-52PS

Related product manuals