AAA Configuration

 




Assign the IP Address on Router 2811: 
-------------------------------------
Router>enable
Router#configure terminal
Router(config)#hostname R-1
R-1(config)#int FastEthernet 0/0
R-1(config-if)#ip address 192.168.10.1 255.255.255.0
R-1(config-if)#no shutdown
R-1(config-if)#exit
R-1(config)#

Assign the IP Address on Server: 
--------------------------------



Assign the IP Address on Client: 
--------------------------------

Network Configuration & User Setup on Server: 
---------------------------------------------

Client Name = R-1
Client IP = 192.168.10.1
Server Type = Tacacs
Key = abhishek

User Name = Indian
Password = bharat

Line Console Configuration on Router:
-------------------------------------
Router(config)#aaa new-model 
Router(config)#tacacs-server host 192.168.10.2 key abhishek
Router(config)#aaa authentication login pathak group tacacs+ 
Router(config)#line console 0
Router(config-line)#login authentication pathak
Router(config-line)#exit

Router#copy running-config startup-config 
Destination filename [startup-config]? 
Building configuration...
[OK]
Router#

Username: Indian
Password: 
Router>

Telnet Configuration on Router:
-------------------------------
Router(config)#aaa authentication login telnet group tacacs+ 
Router(config)#line vty  0 4
Router(config-line)#login authentication telnet
Router(config-line)#

Access the Router via Client:
-----------------------------

Packet Tracer PC Command Line 1.0

C:\>telnet 192.168.10.1

Trying 192.168.10.1 ...Open


User Access Verification


Username: Indian

Password:

Router>


Switch Configuration:
---------------------

Switch(config)#hostname SW-1

SW-1(config)#ip default-gateway 192.168.10.1

SW-1(config)#interface vlan 1

SW-1(config-if)#ip address 192.168.10.5 255.255.255.0

SW-1(config-if)#no shutdown 

SW-1(config-if)#exit

SW-1(config)#


Network Configuration & User Setup on Server: 
---------------------------------------------
Client Name = SW-1
Client IP = 192.168.10.5
Server Type = Tacacs
Key = narayan

User Name = Indian
Password = bharat


Switch Configuration:
---------------------
SW-1(config)#aaa new-model 
SW-1(config)#tacacs-server host 192.168.10.2 key narayan
SW-1(config)#aaa authentication login swtelnet group tacacs+ 
SW-1(config)#line vty 0 4
SW-1(config-line)#login authentication swtelnet
SW-1(config-line)#exit
SW-1(config)#enable secret arjun
SW-1(config)#exit
SW-1#

Note: - "You can access the switch via telnet same as router access by client machine through telnet."








No comments:

Post a Comment

Computer Hardware_(A+) & Operating System with Networking

Microprocessor Motherboard About Operating System Create Bootable Pen Drive via Command Map Network Drive File Transfer Protocol in Windows ...