show tacacs-server
Syntax
show tacacs-server [detail] [vsx-peer]
描述
显示了TACACS +服务器配置。
Command context
Operator (>
) or Manager (#
)
Parameters
-
detail
-
Selects additional TACACS+ server details and global parameters for showing.
-
[vsx-peer]
-
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
Showing a summary of a global TACACS+ configuration with a shared-secret:
switch#show tacacs-server******* Global TACACS+ Configuration ******* Shared-Secret: AQBapb+HsdpqV1Q3CPCBMQTG8e1cA+CyD0RvfbeA8BEgikCgAAAJOwZSNzA2SWrLA= Timeout: 5 Auth-Type: pap Number of Servers: 5 ------------------------------------------------------------------------------- SERVER NAME | PORT | VRF ------------------------------------------------------------------------------- 1.1.1.1 | 49 | mgmt 1.1.1.2 | 12 | mgmt abc.com | 32 | vrf_blue 2001:0db8:85a3:0000:0000:8a2e:0370:7334 | 49 | default 1.1.1.3 | 32 | vrf_red -------------------------------------------------------------------------------
Showing details of a global TACACS+ configuration:
switch#show tacacs-server detail******* Global TACACS+ Configuration ******* Shared-Secret: AQBapb+HsdpqV1Q3CPCBMQTG8e1cA+CyD0RvfbeA8BEgikCgAAAJOwZSNzA2SWrLA= Timeout: 5 Auth-Type: pap Number of Servers: 5 ****** TACACS+ Server Information ****** Server-Name : 1.1.1.2 Auth-Port : 12 VRF : mgmt Shared-Secret (default) : AQBapb+HsdpqV1Q3CPCBMQTG8eeA8BEgikCgAAAJOwZSNzA2SWrLA= Timeout (default) : 5 Auth-Type (default) : pap Server-Group : sg1 Group-Priority : 1 Server-Name : 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Auth-Port : 49 VRF : default Shared-Secret (default) : AQBapb+HsdpqV1Q3CPCBMQTG8eeA8BEgikCgAAAJOwZSNzA2SWrLA= Timeout (default) : 5 Auth-Type (default) : pap Server-Group : sg2 Group-Priority : 1 Server-Name : 1.1.1.1 Auth-Port : 49 VRF : mgmt Shared-Secret (default) : AQBapb+HsdpqV1Q3CPCBMQTG8eeA8BEgikCgAAAJOwZSNzA2SWrLA= Timeout (default) : 5 Auth-Type (default) : pap Server-Group (default) : tacacs Default-Priority : 1 Server-Name : abc.com Auth-Port : 32 VRF : vrf_red Shared-Secret (default) : AQBapb+HsdpqV1Q3CPCBMQTG8eeA8BEgikCgAAAJOwZSNzA2SWrLA= Timeout : 15 Auth-Type (default) : pap Server-Group (default) : tacacs Default-Priority : 3 Server-Name : 1.1.1.3 Auth-Port : 32 VRF : vrf_blue Shared-Secret : AQBapfnqbSswqKC476tdUFZ+AncIRY92hDTYkQCAAAAFEAaHn43vNC Timeout : 15 Auth-Type : chap Server-Group (default) : tacacs Default-Priority : 5
Showing TACACS+ server when per-server shared key and global TACACS+ shared key is not set:
switch#show tacacs-server******* Global TACACS+ Configuration ******* Shared-Secret: None Timeout: 5 Auth-Type: pap Number of Servers: 1 ------------------------------------------------------------------------------- SERVER NAME | PORT | VRF ------------------------------------------------------------------------------- 1.1.1.1 | 49 | default -------------------------------------------------------------------------------
Showing TACACS+ server details when per-server shared key and global TACACS+ shared key is not set:
switch#show tacacs-server detail******* Global TACACS+ Configuration ******* Shared-Secret: None Timeout: 5 Auth-Type: pap Number of Servers: 1 ****** TACACS+ Server Information ****** Server-Name : 1.1.1.1 Auth-Port : 49 VRF : default Shared-Secret (default) : None Timeout (default) : 5 Auth-Type (default) : pap Server-Group (default) : tacacs Default-Priority : 1