57
Installation and Configuration Note for the Catalyst 4000 Layer 3 Services Module
78-10164-03
Configuring the Module for InterVLAN Routing
Option 2: Configuring Interfaces as Gigabit EtherChannels
This procedure shows you how to configure the two internal Gigabit Ethernet interfaces as Gigabit
EtherChannel and then enable VLAN trunking on the channel. You can then configure subinterfaces on
the channel interface. You configure a subinterface for each
allowed
VLAN configured on the Catalyst
4000 Layer 3 Services module trunk. For each subinterface, you specify the type of trunking (same as
specified on the channel) and then assign an IP address and subnet mask (or IPX address).
Perform the following steps to configure the interfaces as channels (in this procedure, the Catalyst 4000
Layer 3 Services module is in slot 2):
Step 1
Use the
set port channel
mod/ports
command to configure a Gigabit EtherChannel. Before you create
the channel, ensure that the ports you intend to channel (in this case, 2/1 and 2/2) belong to the same
VLAN:
Cat4000> (enable)
set port channel 2/1-2 mode on
Ports 2/1-2 channel mode set to on.
Cat4000> (enable)
Note
The trunk mode in Steps 2 and 3, below, must match (auto, desirable, on, or off).
Step 2
Assign the port channel default VLAN to be the same as the 802.1Q native VLAN specified in Step
10:
Cat4000> (enable)
set vlan 1 2/1-2
VLAN Mod/Ports
---- -----------------------
1 2/1-4,2/6-48
3/1-6
Cat4000> (enable)
Step 3
Use the
set trunk
mod_num/port_num
command to enable trunking and specify an encapsulation type
on the EtherChannel ports (specifying the encapsulation type on one of the EtherChannel ports enables
trunking and enables the specified encapsulation on all ports in the channel):
Cat4000> (enable)
set trunk 2/1 on dot1Q 1-10
Port(s) 2/1 trunk mode set to on
Port(s) 2/1 trunk type set to dot1Q 1-10
Cat4000> (enable)
Step 4
Use the
session
mod_num
command to access the Layer 3 Services module console prompt:
Cat4000> (enable)
session 2
Trying Router...
Connected to Router.
Escape character is `^]'.
router>
a.
At the EXEC prompt, enter enable mode:
router>
enable
router#
b.
At the privileged EXEC prompt, enter global configuration mode:
router#
configure terminal
router(config)#