Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
ip
sla
monitor
operation-number
Device(config)# ip sla monitor 1
|
Starts a Cisco
IOS IP Service Level Agreement (SLA) operation configuration and enters IP SLA
monitor configuration mode.
|
Step 4 |
type
echo
protocol
ipIcmpEcho
{destination-ip-address |
destination-hostname } [source-ipaddr {ip-address |
hostname } |
source-interface
interface-name ]
Device(config-sla-monitor)# type echo protocol ipIcmpEcho 10.1.1.1
|
Configures an
IP SLA Internet Control Message Protocol (ICMP) echo probe operation.
|
Step 5 |
exit
Device(config-sla-monitor)# exit
|
Exits IP SLA
monitor configuration mode and returns the device to global configuration mode.
|
Step 6 |
ip
sla
monitor
schedule
operation-number
[life {forever |
seconds }]
[start-time
{hh
:
mm [:
ss ] [month
day |
day
month ] |
pending |
now |
after
hh
:
mm
:
ss }] [ageout
seconds ]
[recurring ]
Device(config)# ip sla monitor schedule 1 life forever start-time now
|
Configures
the scheduling parameters for a single Cisco IOS IP SLA operation.
|
Step 7 |
track
object-number
rtr
entry-number
[reachability |
state ]
Device(config)# track 123 rtr 1 reachability
|
Tracks the
reachability of a Response Time Reporter (RTR) object and enters tracking
configuration mode.
|
Step 8 |
delay
{up
seconds
[down
seconds ] |
[up
seconds ]
down
seconds }
Device(config-track)# delay up 60 down 30
|
(Optional)
Specifies a period of time, in seconds, to delay communicating state changes of
a tracked object.
|
Step 9 |
exit
Device(config-track)# exit
|
Exits
tracking configuration mode and returns the device to global configuration
mode.
|
Step 10 |
interface
type
number
Device(config)# interface serial 2/0
|
Specifies an
interface type and number and enters interface configuration mode.
|
Step 11 |
ip
address
ip-address
mask
[secondary ]
Device(config-if)# ip address 192.168.1.1 255.255.255.0
|
Specifies a
primary or secondary IP address for an interface.
-
See the
"Configuring IPv4 Addresses" chapter of the
Cisco
IOS IP Addressing Services Configuration Guide for information on
configuring IPv4 addresses.
-
In this
example, the IP address of the incoming interface is specified. This is the
interface on which policy routing is to be enabled.
|
Step 12 |
ip
policy
route-map
map-tag
Device(config-if)# ip policy route-map alpha
|
Enables
policy routing and identifies a route map to be used for policy routing.
|
Step 13 |
exit
|
Exits
interface configuration mode and returns the device to global configuration
mode.
|
Step 14 |
route-map
map-tag
[permit |
deny ] [sequence-number ] [
Device(config)# route-map alpha permit ordering-seq
|
Configures a
route map and specifies how the packets are to be distributed.
|
Step 15 |
set
ip
next-hop
verify-availability
[next-hop-address
sequence
track
object ]
Device(config-route-map)# set ip next-hop verify-availability 10.1.1.1 10 track 123
|
Configures
the route map to verify the reachability of the tracked object.
|
Step 16 |
end
Device(config-route-map)# end
|
Exits
route-map configuration mode and returns the device to privileged EXEC mode.
|
Step 17 |
show
track
object-number
|
(Optional)
Displays tracking information.
|
Step 18 |
show
route-map
[map-name |
all |
dynamic ]
Device# show route-map alpha
|
(Optional)
Displays route map information.
|