vlan 99
name management
exit
interface vlan 99
ip address 192.168.99.2 255.255.255.0
exit
ip default-gateway 192.168.99.1
service password-encryption
service timestamps debug datetime localtime
service timestamps log datetime localtime
hostname DCR1S1
ip domain-name sakib.biz
ip domain lookup
ip name-server 192.168.0.2
ip dns server
ip dns view sakib.biz
domain name-server 192.168.0.2
domain name sakib.biz
exit
crypto key generate rsa modulus 2048
ip ssh version 2
ip ssh dh min size 2048
ip ssh server algorithm mac hmac-sha2-256
ip ssh server algorithm encryption aes256-cbc
clock timezone BDT 6 0
no ip source-route
ntp source vlan 99
ntp server pool.ntp.org
ntp update-calendar
ntp logging
archive
path tftp://ip.of.tftp.server/$h-$t
write-memory
time-period 10080
login on-failure log
login on-success log
aaa new-model
aaa authentication login default local group radius
aaa authentication login console none # disable authentication for console login
aaa authentication enable default none # disable authentication for privilege execution modeq
ip radius source-interface vlan 99
radius server radius
address ipv4 nps.sakib.biz auth-port 1812 acct-port 1813
key setsecurekey
exit
line con 0
exec-timeout 0 0
logging synchronous
login authentication console
line vty 0 4
logging synchronous
transport input ssh
login authentication default
ip sla logging traps
cdp log mismatch duplex
logging alarm informational
logging facility syslog
logging server-arp
logging userinfo
logging monitor informational
logging history informational
logging trap informational
logging snmp-trap informational
logging reload informational
logging origin-id hostname/ip
logging source-interface vlan99
logging host syslog.sakib.biz
archive
log config
logging enable
logging size 1000
hidekeys
notify syslog
exit
Set Friendly Name, IP address which is configured at IP radius source interface
Set same Secured Shared secret key
Set Client IPv4 Address and User Groups as Conditions
Check "Unencrypted authentication" as Authentication Methods from Constraints menu