R2511-HP MSR Router Series Security Command Reference(V5)

106
port-number: Specifies the service port number of the secondary HWTACACS accounting server. The
value range for the port number is 1 to 65535, and the default is 49.
key [ cipher | simple ] key: Specifies the shared key for secure communication with the secondary
HWTACACS accounting server.
cipher key: Specifies a ciphertext shared key, which is a case-sensitive ciphertext string of 1 to 373
characters.
simple key: Specifies a plaintext shared key, which is a case-sensitive string of 1 to 255 characters.
If neither cipher nor simple is specified, you set a plaintext shared key string.
In FIPS mode, the shared key must contain at least eight characters and the plaintext shared key
string must contain digits, uppercase letters, lowercase letters, and special characters.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the secondary HWTACACS
accounting server belongs to. The vpn-instance-name argument is a case-sensitive string of 1 to 31
characters. If the server is on the public network, do not specify this option.
Usage guidelines
Make sure the port number and shared key settings of the secondary HWTACACS accounting server are
the same as those configured on the server.
The IP addresses of the primary and secondary accounting servers must be different. Otherwise, the
configuration fails.
If you execute the command multiple times, the most recent configuration takes effect.
The shared key configured by this command takes precedence over that configured by using the key
accounting [ cipher | simple ] key command.
If the specified server resides on an MPLS VPN, specify the VPN by using the vpn-instance
vpn-instance-name option.
You can remove an accounting server only when it is not used by any active TCP connection to send
accounting packets. Removing an accounting server only affects accounting processes that occur after
the remove operation.
The VPN specified by this command takes precedence over the VPN specified for the HWTACACS
scheme.
Examples
# Specify the IP address and port number of the secondary accounting server for HWTACACS scheme
hwt1 a s 10 .16 3 .15 5 .12 w i t h T C P p o r t n u m b e r 4 9.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] secondary accounting 10.163.155.12 49 key simple abCD1@
Related commands
display hwtacacs
key (HWTACACS scheme view)
vpn-instance (HWTACACS scheme view)
secondary authentication (HWTACACS scheme view)
Use secondary authentication to specify a secondary HWTACACS authentication server.
Use undo secondary authentication to remove the configuration.