3com 8807 Guia De Referência

Página de 1099
358
C
HAPTER
 21: AAA 
AND
 RADIUS/HWTACACS P
ROTOCOL
 C
ONFIGURATION
 C
OMMANDS
View
HWTACACS view
Parameter
ip-address: Source IP address, in dotted decimal format.
Description
Use the nas-ip command to set the source IP address for HWTACACS packets sent 
from the NAS (switch), such that all the packets sent to the TACACS server carry 
the same source IP address.
Use the undo nas-ip command to delete the configuration.
Specifying the source address for sending HWTACACS packet avoids the 
unreachability of packet returned from the server when the physical interface fails. 
Generally, the Loopback interface address is recommended.
By default, the source IP address of the packets is the IP address of the interface of 
the VLAN to which the port connecting the server belongs.
Related command: display hwtacacs and hwtacacs nas-ip.
Example
# Configure the source IP address for HWTACACS packets sent from the NAS 
(switch) to 10.1.1.1.
[SW8800] hwtacacs scheme test1
 
[3Com-hwtacacs-test1] nas-ip 10.1.1.1 
primary accounting
Syntax
primary accounting ip-address [ port-number ]
undo primary accounting
View
HWTACACS view
Parameter
ip-address: IP address of the server, a valid unicast address in dotted decimal 
format.
port-number: Port number of the server, which is in the range 1 to 65535 and 
defaults to 49.
Description
Use the primary accounting command to configure a primary TACACS 
accounting server.
Use the undo primary accounting command to delete the configured primary 
TACACS accounting server.
By default, the IP address of the TACACS accounting server is all zeros.