The display hwtacacs-server template command displays the detailed template configuration of all configured HWTACACS server templates.
display hwtacacs-server template template-name { authentication | authorization | accounting | common }
display hwtacacs-server template template-name { authentication | authorization | accounting | common } { ip-address [ vpn-instance vpn-instance-name ] }
display hwtacacs-server template template-name { authentication | authorization | accounting | common } { ipv6-address [ vpn-instance vpn-instance-name ] }
Parameter | Description | Value |
---|---|---|
authentication |
Specifies the authentication server type. |
- |
authorization |
Specifies the authorization server type. |
- |
accounting |
Specifies the accounting server type. |
- |
common |
Specifies the common server type. |
- |
template template-name |
Specifies the name of an HWTACACS server template. |
The value is a case-insensitive string data type. The value range is from 1 to 32 characters. |
ip-address |
Specifies the IP address of a server. |
The value is in dotted decimal notation and must be a valid unicast address. |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. If the parameter vpn-instance is specified, the server is mapped to a VPN instance. If vpn-instance-name does not exist, the configuration is invalid. |
The value is a string of 1 to 32 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv6-address |
Specifies the IPv6 address of a server. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display hwtacacs-server template tac authentication
-----------------------------------------------------
Template Name : tac
Template ID : 0
Server Type : Authentication
Server IP Address : 1.1.1.1
Server Id : 255
Server Port : 11
Mux Mode : Disable
VPN-Instance : -
Server Status : Active
Is Primary Server : YES
Is Current Server : YES
----------------------------------------------------
<HUAWEI> display hwtacacs-server template t1 common
-------------------------------------------------
Template Name : t1
Template ID : 0
Server Type : Common
Server IP Address : 1.1.1.1
Server Id : 255
Server Port : 49
Shared Key :
Mux Mode : Disable
VPN-Instance :
Server Status : Active
Is Primary Server : NO
Is Current Server : NO
-------------------------------------------------
Item | Description |
---|---|
Template Name | HWTACACS server template name. |
Template ID | HWTACACS server template ID. |
Server Type | Server type:
|
Server IP Address | Server IP address. |
Server Id | Server ID. |
Server Port | Server port. |
Server Status | Server status:
|
Mux Mode | Displays the multiplexing mode:
|
Is Primary Server | Whether the server is primary or not:
|
Is Current Server | Whether the server is current server or not:
|
VPN-Instance | Displays the name of VPN-Instance. |
Shared Key | Shared secret key. |