Cisco Catalyst X4232 Installation And Configuration Note page 52

Layer 3 services module
Table of Contents

Advertisement

Configuring the Module for InterVLAN Routing
This example shows you how to configure an 802.1Q trunk and how to verify the trunk configuration:
Console> (enable) set trunk 2/1 desirable dot1q
Port(s) 2/1 trunk mode set to desirable.
Port(s) 2/1 trunk type set to dot1q.
Console> (enable) 07/02/1998,18:22:25:DTP-5:Port 2/1 has become dot1q trunk
Console> (enable) show trunk
Port
--------
2/1 desirable
Port
--------
2/1 1-1005, 1025-4094
Port
--------
2/1 1,5,10-32,101-120,150,200,250,300,400,500,600,700,800,900,1000
Port
--------
2/1 5,10-32,101-120,150,200,250,300,400,500,600,700,800,900,1000
Console> (enable)
Defining the Allowed VLANs on a Trunk on Ethernet Ports
When you configure a trunk port, all VLANs are added to the allowed VLANs list for that trunk.
However, you can remove VLANs from the allowed list to prevent traffic for those VLANs from passing
over the trunk. You cannot remove VLAN 1, the default VLAN, from the allowed list.
When you first configure a port as a trunk, entering the set trunk command always adds
Note
all VLANs to the allowed VLAN list for the trunk, even if you specify a VLAN range (any
specified VLAN range is ignored). To modify the allowed VLANs list, use a combination
of the clear trunk and set trunk commands to specify the allowed VLANs.
To define the allowed VLAN list for a trunk port, perform these tasks in privileged mode:
Task
Step 1
Remove VLANs from the allowed VLANs list for
a trunk.
Step 2
(Optional) Add specific VLANs to the allowed
VLANs list for a trunk.
Step 3
Verify the allowed VLAN list for the trunk.
Installation and Configuration Note for the Catalyst 4000 Layer 3 Services Module
52
Mode
Encapsulation
-----------
-------------
dot1q
Vlans allowed on trunk
---------------------------------------------------------------------
Vlans allowed and active in management domain
---------------------------------------------------------------------
Vlans in spanning tree forwarding state and not pruned
---------------------------------------------------------------------
Status
Native vlan
------------
-----------
trunking
1
Command
Console> (enable) clear trunk
mod_num/port_num vlans
Console> (enable) set trunk mod_num/port_num
vlans
Console> (enable) show trunk
[mod_num/port_num]
78-10164-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000Ws-x4232-l3

Table of Contents