Cisco PIX 500 Series Configuration Manual page 139

Security appliance command line
Hide thumbs Also See for PIX 500 Series:
Table of Contents

Advertisement

Chapter 9
Configuring IP Routing
Typically, you will use sla monitor schedule sla_id life forever start-time now for the monitoring
schedule, and allow the monitoring configuration determine how often the testing occurs. However,
you can schedule this monitoring process to begin in the future and to only occur at specified times.
Associate a tracked static route with the SLA monitoring process by entering the following command:
Step 2
hostname(config)# track track_id rtr sla_id reachability
The track_id is a tracking number you assign with this command. The sla_id is the ID number of the
SLA process you defined in
Step 3
Define the static route to be installed in the routing table while the tracked object is reachable using one
of the following options:
To track a static route, enter the following command:
hostname(config)# route if_name dest_ip mask gateway_ip [ admin_distance ] track
track_id
You cannot use the tunneled option with the route command with static route tracking.
To track a default route obtained through DHCP, enter the following commands:
hostname(config)# interface phy_if
hostname(config-if)# dhcp client route track track_id
hostname(config-if)# ip addresss dhcp setroute
hostname(config-if)# exit
Note
To track a default route obtained through PPPoE, enter the following commands:
hostname(config)# interface phy_if
hostname(config-if)# pppoe client route track track_id
hostname(config-if)# ip addresss pppoe setroute
hostname(config-if)# exit
Note
Define the backup route to use when the tracked object is unavailable using one of the following options.
Step 4
The administrative distance of the backup route must be greater than the administrative distance of the
tracked route. If it is not, the backup route will be installed in the routing table instead of the tracked
route.
To use a static route, enter the following command:
hostname(config)# route if_name dest_ip mask gateway_ip [ admin_distance ]
The static route must have the same destination and mask as the tracked route. If you are tracking a
default route obtained through DHCP or PPPoE, then the address and mask would be 0.0.0.0 0.0.0.0.
To use a default route obtained through DHCP, enter the following commands:
hostname(config)# interface phy_if
hostname(config-if)# dhcp client route track track_id
hostname(config-if)# dhcp client route distance admin_distance
hostname(config-if)# ip addresss dhcp setroute
OL-12172-03
Step
1.
You must use the setroute argument with the ip address dhcp command to obtain the
default route using DHCP.
You must use the setroute argument with the ip address pppoe command to obtain the
default route using PPPoE.
Cisco Security Appliance Command Line Configuration Guide
Configuring Static and Default Routes
9-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asa 5500 series

Table of Contents