Configuring IP Routing and Addresses
•
Configuring IP Routing and Addresses
For complete information and procedures, refer to these publications:
•
•
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
Step 1
Router(config)# ip routing
Step 2
Router(config)# router ip_routing_protocol
Step 3
Router(config)# interface {vlan vlan_ID} |
1
{type
slot/port} | {port-channel
port_channel_number}
Step 4
Router(config-if)# ip address ip_address
subnet_mask
Step 5
Router(config-if)# no shutdown
Step 6
Router(config-if)# end
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
12-2
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.
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
Chapter 12
Purpose
Enables IP routing. (Required only if IP routing is
disabled.)
Specifies an IP routing protocol.
Selects an interface to configure.
Configures the IP address and IP subnet.
Enables the interface.
Exits configuration mode.
Configuring Layer 3 Interfaces
78-14064-04