Cisco Cisco Packet Data Gateway (PDG) Guia Do Administrador

Página de 308
  Rejection/Redirection of HA Sessions on Network Failures 
Configuring HA Session Redirection  ▀   
 
Cisco ASR 5x00 Home Agent Administration Guide  ▄  
 
   
291 
Configuring HA Session Redirection 
This section provides instructions for configuring rejection or redirection of HA sessions on the event of a network 
failure. These instructions assume that there is a destination context. and HA service, an IP pool, and a subscriber 
already configured and that you are at the root prompt for the Exec mode: 
[local]host_name
Step 1 
Enter the global configuration mode by entering the following command: 
configure 
The following prompt appears:
 
[local]host_name(config)# 
Step 2 
Enter context configuration mode by entering the following command: 
context <context_name
context_name
 is the name of the destination context where the HA service is configured. The name must be from 1 to 
63 alpha and/or numeric characters and is case sensitive.The following prompt appears:
 
[<context_name>]host_name(config-ctx)# 
Step 3 
Enter the HA service configuration mode by entering the following command: 
ha-service <ha_service_name
ha_service_name
 is the name of the HA service. The name must be from 1 to 63 alpha and/or numeric characters and 
is case sensitive.The following prompt appears:
 
[<context_name>]host_name(config-ha-service)# 
Step 4 
Configure the action for the HA service to take when network connectivity is lost by entering the following command: 
policy nw-reachability-fail { reject [ use-reject-code { admin-prohibited | 
insufficient-resources } ] | redirect
 <ip_addr1> [ weight <value> ] [ <ip_addr2
weight <value> ] ] ... [ <ip_addr16> [ weight <value> ] ] } 
Keyword/Variable
 
Description
 
reject 
Upon network reachability failure reject all new calls for this 
context. 
use-reject-code { admin-prohibited | 
insufficient-resources }
 
When rejecting calls send the specified reject code. If this keyword 
is not specified the admin-prohibited reject code is sent by default.