3-13
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 3 Configuring the Router for the First Time
Configuring the Router
This example shows how to use the
show running-config
command to confirm the configuration of the
previously configured static route:
Router#
show running-config
Building configuration...
.
<...output truncated...>
.
ip default-gateway 172.20.52.35
ip classless
ip route 171.10.5.10 255.255.255.255 172.20.3.35
no ip http server
!
line con 0
transport input none
line vty 0 4
exec-timeout 0 0
password lab
login
transport input lat pad dsipcon mop telnet rlogin udptn nasi
!
end
Router#
This example shows how to use the
ip route
command to configure a static route to a workstation at IP
address 171.20.5.3 on the router with subnet mask and connected over VLAN 1:
Router#
configure terminal
Router(config)#
ip route 171.20.5.3 255.255.255.255 vlan 1
Router(config)#
end
Router#
This example shows how to use the
show running-config
command to confirm the configuration of the
previously configured static route:
Router#
show running-config
Building configuration...
.
<...output truncated...>
.
ip default-gateway 172.20.52.35
ip classless
ip route 171.20.52.3 255.255.255.255 Vlan1
no ip http server
!
!
x25 host z
!
line con 0
transport input none
line vty 0 4
exec-timeout 0 0
password lab
login
transport input lat pad dsipcon mop telnet rlogin udptn nasi
!
end
Router#