HP MSR2000/3000/4000 Router Series Security Command Reference

70
the packet is the IP address of a managed NAS. If it is, the server processes the packet. If it is not, the
server drops the packet.
The setting configured by using the nas-ip command in HWTACACS scheme view is effective only for the
HWTACACS scheme, whereas that configured by using the hwtacacs nas-ip command in system view is
effective for all HWTACACS schemes. The setting in HWTACACS scheme view takes precedence over
the setting in system view.
If you execute the command multiple times, the most recent configuration takes effect.
Examples
# Set the source address for outgoing HWTACACS packets to 10.1.1.1 for HWTACACS scheme hwt1.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] nas-ip 10.1.1.1
Related commands
hwtacacs nas-ip
primary accounting (HWTACACS scheme view)
Use primary accounting to specify the primary HWTACACS accounting server.
Use undo primary accounting to remove the configuration.
Syntax
primary accounting { ipv4-address | ipv6 ipv6-address } [ port-number | key { cipher | simple } string
| vpn-instance vpn-instance-name ] *
undo primary accounting
Default
No primary HWTACACS accounting server is specified.
Views
HWTACACS scheme view
Predefined user roles
network-admin
Parameters
ipv4-address: Specifies an IPv4 address of the primary HWTACACS accounting server.
ipv6 ipv6-address: Specifies an IPv6 address of the primary HWTACACS accounting server.
port-number: Specifies the service port number of the primary HWTACACS accounting server, a TCP
port number in the range of 1 to 65535. The default setting is 49.
key { cipher | simple } string: Sets the shared key for secure communication with the primary
HWTACACS accounting server.
cipher string: Sets a ciphertext shared key. The string argument is case sensitive.
{ In non-FIPS mode, the shared key is a string of 1 to 373 characters.
{ In FIPS mode, the shared key is a string of 15 to 373 characters.
simple string: Sets a plaintext shared key. The string argument is case sensitive.