Cisco Cisco ASR 5000

Page of 9109
  HA Service Configuration Mode Commands 
policy overload  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
6275 
policy overload 
Configures the overload policy within the HA service. 
Product
 
HA 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > HA Service Configuration 
configure > context context_name > ha-service service_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-ha-service)# 
Syntax
 
policy overload { redirect address [ weight weight_num ] [ address2 [ weight weight_num ] 
... address16 [ weight weight_num ] ] | reject [ use-reject-code { admin-prohibited | 
insufficient-resources } ] }
 
no policy overload [ redirect address [ address2...address16 ] 
no policy overload [ redirect address [ address2...address16 ] ]
 
Deletes a previously set policy or removes a redirect IP address. 
overload
: Without any options deletes the complete overload policy from the PDSN service. 
overload
 
redirect
 
address
 [ 
address2 ... address16
 ]: deletes up to 16 IP addresses from the 
overload redirect policy. The IP addresses must be expressed in IP v4 dotted-decimal notation 
redirect
 
address [ weight
 
weight_num ] [ address2 [ weight
 
weight_num ]
 ... 
address16 [ weight
 
weight_num ]
 
This option enables a redirect policy for overloading conditions. When a redirect policy is invoked, the HA 
service rejects new sessions with a Registration Reply Code of 136H (unknown home agent address) and 
provides the IP address of an alternate HA. This command can be issued multiple times. 
address
: The IP address of an alternate HA expressed in IP v4 dotted-decimal notation. Up to 16 IP 
addresses can be specified either in one command or by issuing the redirect command multiple times. If you 
try to add more than 16 IP addresses to the redirect policy, the CLI issues an error message. If you specify an 
IP address and weight that already exists in the redirect policy the new values override the existing values. 
weight
 
weight_num
: When multiple addresses are specified, they are selected in a weighted round-robin 
scheme. Entries with higher weights are more likely to be chosen. If a weight is not specified the entry is 
automatically assigned a weight of 1. 
weight_num
 must be an integer from 1 through 10. 
reject [ use-reject-code { admin-prohibited | insufficient-resources } ]
 
This option causes any overload traffic to be rejected. If no reject code is specified, the HA sends a 
registration reply code of 81H (admin-prohibited). 
use-reject-code { admin-prohibited | insufficient-resources }
: Use the specified reject 
code when rejecting traffic.