3com S7906E Guide De Référence

Page de 2327
 
3-9 
Examples 
# Specify the primary authentication server. 
<Sysname> system-view 
[Sysname] hwtacacs scheme hwt1 
[Sysname-hwtacacs-hwt1] primary authentication 10.163.155.13 49 
primary authorization 
Syntax 
primary authorization ip-address [ port-number ] 
undo primary authorization  
View 
HWTACACS scheme view 
Default Level 
2: System level 
Parameters 
ip-address: IP address of the server, a valid unicast address in dotted decimal notation. The default is 
0.0.0.0. 
port-number: Port number of the server. It ranges from 1 to 65535 and defaults to 49. 
Description 
Use the primary authorization command to specify the primary HWTACACS authorization server.  
Use the undo primary authorization command to remove the configuration. 
By default, no primary HWTACACS authorization server is specified. 
Note that: 
The IP addresses of the primary and secondary authorization servers cannot be the same. 
Otherwise, the configuration fails.  
The HWTACACS service port configured on the device and that of the HWTACACS server must be 
consistent. 
If you configure the command for more than one time, the last configuration takes effect.  
You can remove an authorization server only when no active TCP connection for sending 
authorization packets is using it.  
Related commands: display hwtacacs
Examples 
# Configure the primary authorization server. 
<Sysname> system-view 
[Sysname] hwtacacs scheme hwt1 
[Sysname-hwtacacs-hwt1] primary authorization 10.163.155.13 49