Cisco 6500 Series Software Configuration Manual page 163

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Chapter 12
Configuring Layer 3 Interfaces
The Multilayer Switch Feature Card 2 (MSFC2) provides processing in software for route-map
sequences that use the match length and set interface keywords.
To configure PBR, refer to the Cisco IOS Quality of Service Solutions Configuration Guide, Release
12.1, "Classification," "Configuring Policy-Based Routing," at this URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/qos_c/qcprt1/qcdpbr.htm
To configure IP routing and an IP address on a Layer 3 interface, perform this task:
Command
Step 1
Router(config)# ip routing
Step 2
Router(config)# router ip_routing_protocol
Step 3
Router(config-router)# ip_routing_protocol_commands
Step 4
Router(config-router)# exit
Step 5
Router(config)# interface {vlan vlan_ID} |
1
{type
slot/port} | {port-channel
port_channel_number}
Step 6
Router(config-if)# ip address ip_address subnet_mask
Step 7
Router(config-if)# no shutdown
Step 8
Router(config-if)# end
Step 9
Router# show interfaces [{vlan vlan_ID} |
1
{type
slot/port} | {port-channel
port_channel_number}]
Router# show ip interfaces [{vlan vlan_ID} |
1
{type
slot/port} | {port-channel
port_channel_number}]
Router# show running-config interfaces [{vlan
vlan_ID} | {type
port_channel_number}]
1.
type = ethernet, fastethernet, gigabitethernet, tengigabitethernet, or ge-wan
This example shows how to enable IP Routing Information Protocol (RIP) routing:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# ip routing
Router(config)# router rip
Router(config-router)# network 10.0.0.0
Router(config-router)# end
Router#
This example shows how to configure an IP address on Fast Ethernet port 5/4:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastethernet 5/4
Router(config-if)# ip address 172.20.52.106 255.255.255.248
Router(config-if)# no shutdown
Router(config-if)# end
Router#
This example uses the show interfaces command to display the interface IP address configuration and
status of Fast Ethernet port 5/4:
78-14099-04
1
slot/port} | {port-channel
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
Configuring IP Routing and Addresses
Purpose
Enables IP routing. (Required only if IP routing is
disabled.)
Specifies an IP routing protocol.
Configures the IP routing protocol.
Exists IP routing protocol configuration mode.
Selects an interface to configure.
Configures the IP address and IP subnet.
Enables the interface.
Exits configuration mode.
Verifies the configuration.
End with CNTL/Z.
End with CNTL/Z.
12-3

Advertisement

Table of Contents
loading

Table of Contents