-
Notifications
You must be signed in to change notification settings - Fork 0
/
cli_templates
58 lines (54 loc) · 1.78 KB
/
cli_templates
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
sys
hwtacacs-server template tacacs
hwtacacs-server authentication 192.168.0.2 secondary
hwtacacs-server authorization 192.168.0.2 secondary
hwtacacs-server accounting 192.168.0.2 secondary
q
hwtacacs-server template tacacs
hwtacacs-server authentication 192.168.0.1
hwtacacs-server authorization 192.168.0.1
hwtacacs-server accounting 192.168.0.1
q
sys
hwtacacs-server template tacacs
undo hwtacacs-server authentication secondary ip-address
undo hwtacacs-server authorization secondary ip-address
undo hwtacacs-server accounting secondary ip-address
undo hwtacacs-server authentication third ip-address
undo hwtacacs-server authorization third ip-address
undo hwtacacs-server accounting third ip-address
hwtacacs-server authentication 192.168.0.1 vpn-instance routermngt secondary
hwtacacs-server authorization 192.168.0.1 vpn-instance routermngt secondary
hwtacacs-server accounting 192.168.0.1 vpn-instance routermngt secondary
hwtacacs-server authentication 192.168.0.2 vpn-instance routermngt third
hwtacacs-server authorization 192.168.0.2 vpn-instance routermngt third
hwtacacs-server accounting 192.168.0.2 vpn-instance routermngt third
en
conf t
ip access-list standard VTY_ACL
permit 192.168.0.1 0.0.0.0
permit 192.168.0.2 0.0.0.0
exit
tacacs-server host 192.168.0.1
tacacs-server host 192.168.0.2
exit
save
conf t
aaa group server tacacs+ ROUTERMNGT
server-private 10.35.175.1 key 7 071E2A401C504C011404
server-private 192.168.0.1 key 7 01020D080952530B225A
server-private 192.168.0.2 key 7 01020D080952530B225A
exit
tacacs server internet2
address ipv4 192.168.0.1
key 7 13331200321F572939773C32243118020F
exit
tacacs server internet3
address ipv4 192.168.0.2
key 7 13331200321F572939773C32243118020F
exit
exit
save
tacacs server LDAPTACACS
address ipv4 192.168.0.1
key VerYs3cr3taqskey