EasyManua.ls Logo

Cisco 7604 - Page 155

Cisco 7604
1011 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...
10-11
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 10 Configuring LAN Ports for Layer 2 Switching
Configuring LAN Interfaces for Layer 2 Switching
When configuring the native VLAN, note the following information:
The vlan_ID value can be 1 through 4094, except reserved VLANs (see Table 14-1 on page 14-2).
The access VLAN is not automatically used as the native VLAN.
Note Complete the steps in the “Completing Trunk Configuration” section on page 10-12 after performing the
tasks in this section.
Configuring the List of VLANs Allowed on a Trunk
Note Complete the steps in the “Configuring a LAN Port for Layer 2 Switching” section on page 10-7 before
performing the tasks in this section.
To configure the list of VLANs allowed on a trunk, perform this task:
When configuring the list of VLANs allowed on a trunk, note the following information:
The vlan parameter is either a single VLAN number from 1 through 4094, or a range of VLANs
described by two VLAN numbers, the lesser one first, separated by a dash. Do not enter any spaces
between comma-separated vlan parameters or in dash-specified ranges.
All VLANs are allowed by default.
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.
Note Complete the steps in the “Completing Trunk Configuration” section on page 10-12 after performing the
tasks in this section.
Configuring the List of Prune-Eligible VLANs
Note Complete the steps in the “Configuring a LAN Port for Layer 2 Switching” section on page 10-7 before
performing the tasks in this section.
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.
Router(config-if)# no switchport trunk allowed vlan
Reverts to the default value (all VLANs allowed).

Table of Contents

Related product manuals