Cisco Catalyst X4232 Installation And Configuration Note page 58

Layer 3 services module
Table of Contents

Advertisement

Configuring the Module for InterVLAN Routing
Create an EtherChannel (portchannel) interface. The channel number can be from 1 to 64.
Step 5
router(config)# interface port-channel channel_number
Assign the g3 and g4 interfaces to the port channel:
Step 6
router(config)# interface g3
router(config-if)# channel-group channel_number
router(config-if)# exit
router(config)#
Repeat Step 6 on the remaining interface.
Step 7
Step 8
Configure subinterfaces on the port channel interface, one for each allowed VLAN configured on the
Catalyst 4000 Layer 3 Services module trunk over which you want to route traffic. Specify the same
type of encapsulation as in Step 3.
router(config)# interface port-channel channel_number.vlan_id
router(config-subif)# encapsulation dot1Q vlan_id
router(config-subif)# ip address ip_address subnet_mask
router(config-subif)# exit
Repeat Step 8 to create and configure additional subinterfaces on the port channel.
Step 9
Note
Configure a subinterface for the native VLAN by specifying the native keyword with the
Step 10
encapsulation command:
router(config)# interface port-channel channel_number.vlan_id
router(config-subif)# encapsulation dot1Q vlan_id native
router(config-subif)# ip address ip_address subnet_mask
router(config-subif)# exit
Option 3: Configuring Interfaces as Independent Links
This procedure shows you how to configure the internal Gigabit Ethernet interfaces to route between
two VLANs. In this example, VLANs 4 and 5 are configured on a Catalyst 4000 family switch.
Trunking is not enabled on any interface because there is only one VLAN on each physical interface.
Perform the following steps to configure the interfaces independently (in this procedure the Catalyst
4000 Layer 3 Services module is in slot 2):
Use the set vlan vlan_num mod_num/port_num command to add the two Catalyst 4000 Layer 3
Step 1
Services module interfaces to a VLAN:
Console> (enable) set vlan 4 2/1
VLAN 4 modified.
VLAN 1 modified.
..
Console> (enable) set vlan 5 2/2
VLAN 5 modified.
VLAN 1 modified.
Installation and Configuration Note for the Catalyst 4000 Layer 3 Services Module
58
Be sure you assign the same native VLAN ID in Step 10 as you assigned in Step 2.
78-10164-03

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000Ws-x4232-l3

Table of Contents