11 2 23 Live Lab SNMP AAA SSH syslog

Опубликовано: 15 Май 2026
на канале: Richard Mehok
20
0

Switch config

hostname Switch0

interface Vlan1
ip address 172.16.0.10 255.255.254.0
no shutdown

ip default-gateway 172.16.0.1

logging 172.16.0.254

snmp-server community cyber RW

enable password cyber

username ssh1-user password cyber

ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
ip domain-name cisco.com

int vlan1
ip address 172.16.0.10 255.255.252.0
ip default-gateway 172.16.0.1

aaa new-model
aaa authentication login myauth group tacacs+ local
tacacs-server host 172.16.0.254 key mykey

line vty 0 4
transport input ssh
login authentication myauth

crypto key generate rsa
________________________________________________________

Router

hostname Atlanta

interface GigabitEthernet1/0
ip address 172.16.0.1 255.255.254.0
no shutdown

snmp-server community cyber RW

logging 172.16.0.254

enable password cyber

username ssh-user password cyber

ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
ip domain-name cisco.com

crypto key generate rsa

aaa new-model
aaa authentication login myauth group tacacs+ local
tacacs-server host 172.16.0.254 key mykey

line vty 0 4
transport input ssh
login authentication myauth