Cisco Catalyst 3560-X Software Configuration Manual page 443

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

Chapter 1
Configuring Interface Characteristics
A Layer 3 switch can have an IP address assigned to each routed port and SVI.
There is no defined limit to the number of SVIs and routed ports that can be configured in a switch or in
a switch stack. However, the interrelationship between the number of SVIs and routed ports and the
number of other features being configured might have an impact on CPU usage because of hardware
limitations. If the switch is using its maximum hardware resources, attempts to create a routed port or
SVI have these results:
All Layer 3 interfaces require an IP address to route traffic. This procedure shows how to configure an
interface as a Layer 3 interface and how to assign an IP address to an interface.
If the physical port is in Layer 2 mode (the default), you must enter the no switchport interface
Note
configuration command to put the interface into Layer 3 mode. Entering a no switchport command
disables and then reenables the interface, which might generate messages on the device to which the
interface is connected. Furthermore, when you put an interface that is in Layer 2 mode into Layer 3
mode, the previous configuration information related to the affected interface might be lost, and the
interface is returned to its default configuration.
To configure a Layer 3 interface, follow these steps beginning in privileged EXEC mode:
Command
Step 1
configure terminal
Step 2
interface {gigabitethernet interface-id} | {vlan vlan-id}
| {port-channel port-channel-number}
Step 3
no switchport
Step 4
ip address ip_address subnet_mask
Step 5
no shutdown
Step 6
end
Step 7
show interfaces [interface-id]
show ip interface [interface-id]
show running-config interface [interface-id]
Step 8
copy running-config startup-config
OL-25303-03
Layer 3 EtherChannel ports—EtherChannel interfaces made up of routed ports.
EtherChannel port interfaces are described in
Link-State Tracking."
If you try to create a new routed port, the switch generates a message that there are not enough
resources to convert the interface to a routed port, and the interface remains as a switch port.
If you try to create an extended-range VLAN, an error message is generated, and the extended-range
VLAN is rejected.
If the switch is notified by VLAN Trunking Protocol (VTP) of a new VLAN, it sends a message that
there are not enough hardware resources available and shuts down the VLAN. The output of the
show vlan user EXEC command shows the VLAN in a suspended state.
If the switch attempts to boot up with a configuration that has more VLANs and routed ports than
hardware can support, the VLANs are created, but the routed ports are shut down, and the switch
sends a message that this was due to insufficient hardware resources.
Chapter 1, "Configuring EtherChannels and
Purpose
Enters global configuration mode.
Specifies the interface to be configured as a Layer 3
interface, and enter interface configuration mode.
For physical ports only, enters Layer 3 mode.
Configures the IP address and IP subnet.
Enables the interface.
Returns to privileged EXEC mode.
Verifies the configuration.
(Optional) Saves your entries in the configuration file.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring Layer 3 Interfaces
1-41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents