Configuration Guide
156
Configuring 802.1Q VLAN
802.1Q VLAN Configuration
VLAN Name Status Ports
------- -------- --------- ---------
2 RD active
Switch(config-vlan)#end
Switch#copy running-config startup-config
2.2.2 Configuring the PVID of the Port
Follow these steps to configure the port:
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 pvid
vlan-id
Configure the PVID of the port(s). By default, it is 1.
vlan-id
: The default VLAN ID of the port with the values between 1 and 4094.
Step 4
end
Return to privileged EXEC mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the PVID of port 1/0/5 as VLAN 2:
Switch#configure
Switch(config)#interface gigabitEthernet
1/0/5
Switch(config-if)#switchport pvid
2
Switch(config-if)#show interface switchport gigabitEthernet
1/0/5
Port Gi1/0/5:
PVID: 2
Member in LAG: N/A
Link Type: General
Member in VLAN:
Содержание TL-SG2424
Страница 26: ...Part 1 Accessing the Switch CHAPTERS 1 Overview 2 Web Interface Access 3 Command Line Interface Access...
Страница 130: ...Part 4 Configuring LAG CHAPTERS 1 LAG 2 LAG Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 147: ...Part 5 Monitoring Traffic CHAPTERS 1 Traffic Monitor 2 Appendix Default Parameters...
Страница 449: ...Part 15 Configuring ARP CHAPTERS 1 Overview 2 ARP Configurations...
Страница 508: ...Configuring Voice VLAN Configuration Guide 485...
Страница 768: ...Configuring SNMP RMON Appendix Default Parameters Configuration Guide 745 Parameter Default Setting Status Disable...