Cisco 7604 Configuration Manual page 338

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring IPv4 Routing and Addresses
To configure IPv4 routing and an IPv4 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 IPv4 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 IPv4 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 IPv4 address configuration and
status of Fast Ethernet port 5/4:
Router# show interfaces fastethernet 5/4
FastEthernet5/4 is up, line protocol is up
Hardware is Cat6K 100Mb Ethernet, address is 0050.f0ac.3058 (bia 0050.f0ac.3058)
Internet address is 172.20.52.106/29
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
Encapsulation ARPA, loopback not set
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
22-6
1
slot/port } | {port-channel
reliability 255/255, txload 1/255, rxload 1/255
Chapter 22
Purpose
Enables IPv4 routing. (Required only if IPv4 routing is
disabled.)
Specifies an IPv4 routing protocol.
Configures the IPv4 routing protocol.
Exists IPv4 routing protocol configuration mode.
Selects an interface to configure.
Configures the IPv4 address and IPv4 subnet.
Enables the interface.
Exits configuration mode.
Verifies the configuration.
End with CNTL/Z.
End with CNTL/Z.
Configuring Layer 3 Interfaces
OL-4266-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents