-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancemnt: IOS show tacacs - add name capture group (#833)
- Loading branch information
1 parent
b848b09
commit 8c00e5b
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Tacacs+ Server - public : | ||
Server name: TACACS_ABC | ||
Server address: 10.1.1.141 | ||
Server port: 49 | ||
Socket opens: 146715 | ||
Socket closes: 146715 | ||
Socket aborts: 0 | ||
Socket errors: 0 | ||
Socket Timeouts: 0 | ||
Failed Connect Attempts: 114 | ||
Total Packets Sent: 166094 | ||
Total Packets Recv: 166094 | ||
|
||
|
||
Tacacs+ Server - public : | ||
Server name: TACACS_XYZ | ||
Server address: 10.2.1.141 | ||
Server port: 49 | ||
Socket opens: 2640 | ||
Socket closes: 2640 | ||
Socket aborts: 0 | ||
Socket errors: 0 | ||
Socket Timeouts: 0 | ||
Failed Connect Attempts: 0 | ||
Total Packets Sent: 2954 | ||
Total Packets Recv: 2953 |
24 changes: 24 additions & 0 deletions
24
tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
parsed_sample: | ||
- tacacs_server: "10.1.1.141" | ||
tacacs_server_name: "TACACS_ABC" | ||
server_port: "49" | ||
socket_opens: "146715" | ||
socket_closes: "146715" | ||
socket_aborts: "0" | ||
socket_errors: "0" | ||
socket_timeouts: "0" | ||
failed_connections: "114" | ||
packets_sent: "166094" | ||
packet_received: "166094" | ||
- tacacs_server: "10.2.1.141" | ||
tacacs_server_name: "TACACS_XYZ" | ||
server_port: "49" | ||
socket_opens: "2640" | ||
socket_closes: "2640" | ||
socket_aborts: "0" | ||
socket_errors: "0" | ||
socket_timeouts: "0" | ||
failed_connections: "0" | ||
packets_sent: "2954" | ||
packet_received: "2953" |