Cisco 6500 Series Software Configuration Manual page 112

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Configuring LAN Interfaces for Layer 2 Switching
To configure the list of VLANs allowed on a trunk, perform this task:
Command
Router(config-if)# switchport trunk allowed vlan {add
| except | none | remove} vlan [,vlan[,vlan[,...]]
Router(config-if)# no switchport trunk allowed vlan
When configuring the list of VLANs allowed on a trunk, note the following syntax information:
Complete the steps in the
Note
tasks in this section.
Configuring the List of Prune-Eligible VLANs
Complete the steps in the
Note
page 7-8
To configure the list of prune-eligible VLANs on the Layer 2 trunk, perform this task:
Command
Router(config-if)# switchport trunk pruning vlan
{none |{{add | except | remove}
vlan[,vlan[,vlan[,...]]}}
Router(config-if)# no switchport trunk pruning vlan
When configuring the list of prune-eligible VLANs on a trunk, note the following syntax information:
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
7-12
The vlan parameter is either a single VLAN ID or a range of VLAN IDs described by two
VLAN IDs, the lesser one first, separated by a dash. Do not enter any spaces between
comma-separated vlan parameters or in dash-specified ranges.
With Release 12.1(13)E and later releases, the VLAN IDs can be 1 to 4094, except for reserved
VLANs (see
Table 9-1 on page
With 12.1 E releases earlier than Release 12.1(13)E, the VLAN IDs can be 1 to 1005.
All VLANs are allowed by default.
With Release 12.1(13)E and later releases, you can remove the default VLANs (1002–1005) from a
trunk. With earlier releases, you cannot remove any of the default VLANs from a trunk.
With Release 12.1(11b)E or later, you can remove VLAN 1. If you remove VLAN 1 from a trunk,
the trunk interface continues to send and receive management traffic, for example, Cisco Discovery
Protocol (CDP), VLAN Trunking Protocol (VTP), Port Aggregation Protocol (PAgP), and DTP in
VLAN 1.
"Completing Trunk Configuration" section on page 7-13
"Preparing a Layer 2 Switching Port for Configuration as a Trunk" section on
before performing the tasks in this section.
The vlan parameter is either a single VLAN ID or a range of VLAN IDs described by two
VLAN IDs, the lesser one first, separated by a dash. Do not enter any spaces between
comma-separated vlan parameters or in dash-specified ranges.
Chapter 7
Purpose
(Optional) Configures the list of VLANs allowed on the
trunk.
Reverts to the default value (all VLANs allowed).
9-2).
Purpose
(Optional) Configures the list of prune-eligible VLANs on the
trunk (see the
"Understanding VTP Pruning" section on
page
8-3).
Reverts to the default value (all VLANs prune-eligible).
Configuring LAN Ports for Layer 2 Switching
after performing the
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents