Cisco Systems EA6500 Manual De Usuario
7-11
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 7 Configuring LAN Ports for Layer 2 Switching
Configuring LAN Interfaces for Layer 2 Switching
Note
Complete the steps in the
after performing the
tasks in this section.
Configuring the 802.1Q Native VLAN
Note
Complete the steps in the
before performing the tasks in this section.
To configure the 802.1Q native VLAN, perform this task:
When configuring the native VLAN, note the following syntax information:
•
With Release 12.1(13)E and later releases, the vlan_ID value can be 1 to 4094, except for reserved
VLANs (see
VLANs (see
•
With 12.1 E releases earlier than Release 12.1(13)E, the vlan_ID value can be 1 to 1005.
•
The access VLAN is not automatically used as the native VLAN.
Note
Complete the steps in the
after performing the
tasks in this section.
Configuring the List of VLANs Allowed on a Trunk
Note
Complete the steps in the
before performing the tasks in this section.
To configure the list of VLANs allowed on a trunk, perform this task:
Command
Purpose
Router(config-if)# switchport trunk native vlan
vlan_ID
(Optional) Configures the 802.1Q native VLAN.
Router(config-if)# no switchport trunk native vlan
Reverts to the default value (VLAN 1).
Command
Purpose
Router(config-if)# switchport trunk allowed vlan {add
| except | none | remove} vlan [,vlan[,vlan[,...]]
(Optional) Configures the list of VLANs allowed on the
trunk.
trunk.
Router(config-if)# no switchport trunk allowed vlan
Reverts to the default value (all VLANs allowed).