12-2
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
78-14064-04
Chapter 12 Configuring Layer 3 Interfaces
Configuring IP Routing and Addresses
• With Release 12.1(11b)E and later, when you are in configuration mode you can enter EXEC
mode-level commands by entering the do keyword before the EXEC mode-level command.
Configuring IP Routing and Addresses
For complete information and procedures, refer to these publications:
• Cisco IOS IP and IP Routing Configuration Guide, Release 12.1, at this URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_c/index.htm
• Cisco IOS IP and IP Routing Command Reference, Release 12.1, at this URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_r/index.htm
For information about the maximum paths command in Release 12.1 E, refer to the Cisco 7600 Series
Router Cisco IOS Command Reference publication.
The Policy Feature Card 2 (PFC2) and any Distributed Feature Cards (DFCs) provide hardware support
for policy-based routing (PBR) for route-map sequences that use the match ip address and set ip
next-hop keywords.
With Release 12.1(11b)E and later, the PFC2 and any DFCs provide hardware support for the ip default
next-hop PBR keywords.
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 Purpose
Step 1
Router(config)# ip routing
Enables IP routing. (Required only if IP routing is
disabled.)
Step 2
Router(config)# router ip_routing_protocol
Specifies an IP routing protocol.
Step 3
Router(config)# interface {vlan vlan_ID} |
{type
1
slot/port} | {port-channel
port_channel_number}
Selects an interface to configure.
Step 4
Router(config-if)# ip address ip_address
subnet_mask
Configures the IP address and IP subnet.
Step 5
Router(config-if)# no shutdown
Enables the interface.
Step 6
Router(config-if)# end
Exits configuration mode.