Saturday, 4 February 2012

Cisco tips


Configure and enable basic authentication via local user database

R1(config)#user test password test
R1(config)#aaa new-model
R1(config)#aaa authentication login default local 
default - is the name of the list which is applied to all interfaces by default if other lists are not configured. Enable SSH connection
R1(config)#user test password test
R1(config)#aaa new-model
R1(config)#aaa authentication login default local
R1(config)#Hostname test
R1(config)#ip domain-name test
R1(config)#crypto key generate rsa general-keys modulus 1024
R1(config)#ip ssh time-out 120
R1(config)#ip ssh authentication-retries 4
R1(config)#ip ssh version 2
R1(config)#ip ssh logging events
R1(config)# line vty 0 4
R1(config-line)# transport input ssh

Configure zone based firewall
create security zones > create zone pairs
configure class map > configure policy map > attach policy map to zone pair with service-policy command > attach interfaces to zones



Ping does not work

Today I would like to discuss a banal situation: host A is directly connected to host B, ping from host A to host B does not work. What are...