Configuration Guidelines; Configuring Logical Layer 3 Vlan Interfaces - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 23
Configuring Layer 3 Interfaces

Configuration Guidelines

A Catalyst 4500 series switch supports AppleTalk routing and IPX routing. For AppleTalk routing and
IPX routing information, refer to "Configuring AppleTalk" and "Configuring Novell IPX" in the
Cisco IOS AppleTalk and Novell IPX Configuration Guide at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/atipx_c/index.htm
A Catalyst 4500 series switch does not support subinterfaces or the encapsulation keyword on Layer 3
Fast Ethernet or Gigabit Ethernet interfaces.

Configuring Logical Layer 3 VLAN Interfaces

Before you can configure logical Layer 3 VLAN interfaces, you must create and configure the VLANs
Note
on the switch, assign VLAN membership to the Layer 2 interfaces, enable IP routing if IP routing is
disabled, and specify an IP routing protocol.
To configure logical Layer 3 VLAN interfaces, perform this task:
Command
Step 1
Switch(config)# vlan vlan_ID
Step 2
Switch(config)# interface vlan vlan_ID
Step 3
Switch(config-if)# ip address ip_address subnet_mask
Step 4
Switch(config-if)# no shutdown
Step 5
Switch(config-if)# end
Step 6
Switch# copy running-config startup-config
Step 7
Switch# show interfaces [ type slot/interface ]
Switch# show ip interfaces [ type slot/interface ]
Switch# show running-config interfaces [ type
slot/interface ]
Switch# show running-config interfaces vlan vlan_ID
This example shows how to configure the logical Layer 3 VLAN interface vlan 2 and assign an IP
address:
Switch> enable
Switch# config term
Enter configuration commands, one per line.
Switch(config)# vlan 2
Switch(config)# interface vlan 2
Switch(config-if)# ip address 10.1.1.1 255.255.255.248
Switch(config-if)# no shutdown
Switch(config-if)# end
OL-6696-01
Purpose
Creates the VLAN.
Selects an interface to configure.
Configures the IP address and IP subnet.
Enables the interface.
Exits configuration mode.
Saves your configuration changes to NVRAM.
Verifies the configuration.
End with CNTL/Z.
Software Configuration Guide—Release 12.2(25)EW
Configuration Guidelines
23-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents