35-12
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 35 Configuring Layer 3 Interfaces
Configuring Physical Layer 3 Interfaces
Switch#
00:17:15: %SYS-5-CONFIG_I: Configured from console by console
Switch#
show run interface vlan 1
Building configuration...
Current configuration : 63 bytes
!
interface Vlan1
ip address 10.0.0.1 255.0.0.0
counter ipv4
end
Note
To remove the counters, use the
no
counter
command.
If you have already assigned the maximum number of counters, the
counter
command fails and displays
an error message:
Switch#
config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface fa3/2
Switch(config-if)#
no switchport
Switch(config-if)#
counter ipv6
Counter resource exhausted for interface fa3/2
Switch(config-if)#
end
Switch#
00:24:18: %SYS-5-CONFIG_I: Configured from console by console
In this situation, you must release a counter from another interface for use by the new interface.
Configuring Physical Layer 3 Interfaces
Note
Before you can configure physical Layer 3 interfaces, you must enable IP routing if IP routing is
disabled, and specify an IP routing protocol.
To configure physical Layer 3 interfaces, perform this task:
Command
Purpose
Step 1
Switch(config)#
ip routing
Enables IP routing (required only if disabled)
Step 2
Switch(config)#
interface
{
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot
/
port
}
| {
port-channel
port_channel_number
}
Selects an interface to configure.
Step 3
Switch(config-if)#
no switchport
Converts this port from physical Layer 2 port to physical
Layer 3 port.
Step 4
Switch(config-if)#
ip address
ip_address
subnet_mask
Configures the IP address and IP subnet.
Step 5
Switch(config-if)#
no shutdown
Enables the interface.
Step 6
Switch(config-if)#
end
Exits configuration mode.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...