search the web

Wednesday, September 30, 2015

cisco Networking

Cisco Networking

Switches:                                                                              
1.      Layer two
a.      LAN port
b.      Management  Port
c.   Console
d. Interface Port

2.      Layer three
a.      LAN Port
b.      WAN Port
c.       Management Port
d.      Interface Port
Initial Configuration of Switch:
1.      Login through Console port
2.      Hostname
3.      Negating Commands
4.      Console Password
5.      Telnet Password
6.      Enable Password
7.      Enable Secret
8.      Management VLAN
9.      Default Gateway
10.  Shutdown
11.  Login Banner
12.  Saving Configuration
Configure SSH on a Cisco Device
·         Configure Hostname
·         Configure a domain-name
·         Generate encryption key
·         Enable SSH version 2
·         Create local username
·         Choose to allow telnet and ssh
·         Enable login local on vty
Switch(config)# Hostname HRT-S1
HRT-S1(config)# ip domain-name cisco.com
HRT-S1(config)#crypto key generate  rsa
HRT-S1(config)#ip ssh version 2
HRT-S1(config)#username  admin secret admin
HRT-S1(config)#line vty 0 15
HRT-S1(config-line)#transport input (all, none, ssh, telnet)
Port Security
·         Port security – what is it?
·         Limiting the number of devices on a port
·         Limiting ports to a specific AND “Sticky” MAC ADDRESS
HRT-S1(config)#interface fastethernet 0/12
HRT-S1(config-if)#switchport mode access
HRT-S1(config-if)#switchport port-security (aging, Mac-address, Maximum, Violation)
HRT-S1(config-if)#switchport port-security mac-address sticky
HRT-S1(config-if)#do show run interface fa0/12
HRT-S1# show port-security
HRT-S1#show port-security address
HRT-S1#show port-security interface fa0/1
Half and Full Duplex
Speed and Duplex
HRT-S1 (config-if)#duplex (auto, half, full)
Auto is used when the speed is Gigabit
HRT-S1 (config-if)#speed (10,100,1000)



No comments: