Cisco Cisco ASR 5000

Page of 9109
  HSGW Service Configuration Mode Commands 
policy overload  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
6369 
policy overload 
Specifies how an HSGW service should handle overload conditions. 
Product
 
HSGW 
Privilege
 
Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > HSGW Service Configuration 
configure > context context_name > hsgw-service service_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-hsgw-service)# 
Syntax
 
policy overload { redirect address [ weight weight_num ] [ address2 [ weight weight_num ] 
... 
address16 [ weight weight_num ] ] | reject [ use reject-code { admin-prohibite | 
insufficient-resources } ] }
 
default policy overload 
no policy overload [ redirect address [ address2 ] ... [ address16 ] 
default
 
Returns the command to it default setting of “reject” with the “admin-prohibited” code. 
no
 
Removes a specified “redirect address” from this service. 
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 
HSGW service rejects new sessions with an A11 Registration Reply Code of 88H (unknown HSGW address) 
and provides the IP address of an alternate HSGW. This command can be issued multiple times. 
address
: The IP address of an alternate HSGW expressed in IPv4 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 (default). 
weight_num
 must be an integer value from 1 through 10. 
reject [ use reject-code { admin-prohibite | insufficient-resources } ]
 
This option will cause any overload traffic to be rejected. The HSGW sends an A11 Registration Reply Code 
of 82H (insufficient resources).