![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 418](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462418.webp)
27-10
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 27 Administering the Switch
Scheduling a System Reset
The switch forwards IP traffic that is generated by the switch using the longest address match in the IP
routing table. The switch does not use the IP routing table to forward traffic from connected devices. The
IP routing table is used by the switch only to forward IP traffic that is generated by the switch itself (for
example, Telnet, TFTP, and ping).
In software releases prior to software release 5.1, the classful subnet mask is always used (you cannot
specify the subnet mask for the destination network).
To configure a static route, perform this task in privileged mode:
This example shows how to configure a static route on the switch and how to verify that the route is
configured properly in the routing table:
Console> (enable) set ip route 172.16.16.0/20 172.20.52.127
Route added.
Console> (enable) show ip route
Fragmentation Redirect Unreachable
------------- -------- -----------
enabled enabled enabled
The primary gateway: 172.20.52.121
Destination Gateway RouteMask Flags Use Interface
--------------- --------------- ---------- ----- -------- ---------
172.16.16.0 172.20.52.127 0xfffff000 UG 0 sc0
default 172.20.52.121 0x0 UG 0 sc0
172.20.52.120 172.20.52.124 0xfffffff8 U 1 sc0
default default 0xff000000 UH 0 sl0
Console> (enable)
Scheduling a System Reset
You can use the reset at command to schedule a system to reset at a future time. This feature allows you
to upgrade software during business hours and schedule the system upgrade after business hours to avoid
a major impact on users.
You can also use the schedule reset feature when trying out new features on a switch. To avoid
misconfiguration or the possibility of losing network connectivity to the device, you can set up the
startup configuration feature and schedule a reset to occur in 30 minutes. You can then change the
configuration, and if connectivity is lost, the system will reset in 30 minutes and return to the previous
configuration.
Scheduling a Reset at a Specific Time
You can specify an absolute time and date at which the reset will take place, using the reset at command.
The month and day argument is optional. If you do not specify a month and day, the reset will take place
on the current day if the time that is specified is later than the current time. If the time that is scheduled
for reset is earlier than the current time, the reset will take place on the following day.
Task
Command
Step 1
Configure a static route to the remote network.
set ip route destination[/netmask] gateway
[metric]
Step 2
Verify that the static route appears correctly in the
IP routing table.
show ip route