Guias de cisco ccna y ccnp

Solo disponible en BuenasTareas
  • Páginas : 18 (4419 palabras )
  • Descarga(s) : 0
  • Publicado : 21 de mayo de 2010
Leer documento completo
Vista previa del texto
Complete Configuration Example.doc

1

Rama Switch switch>en switch#config t switch(config)#no ip domain-lookup switch(config)#hostname 2950-Rama 2950-Rama(config)#enable secret cisco 2950-Rama(config)#line con 0 2950-Rama(config-line)#logging synchronous 2950-Rama(config-line)#login 2950-Rama(config-line)#password rooster 2950-Rama(config-line)#exec-timeout 0 0 2950-Rama(config-line)#exit2950-Rama(config)#line aux 0 2950-Rama(config-line)#login 2950-Rama(config-line)#password crows 2950-Rama(config-line)#exit 2950-Rama(config)#line vty 0 15 2950-Rama(config-line)#login 2950-Rama(config-line)#password midnight 2950-Rama(config-line)#exit 2950-Rama(config)#ip default-gateway 10.10.10.1 2950-Rama(config)#int vlan 1 2950-Rama(config-if)#ip add 10.10.10.2 255.255.255.02950-Rama(config-if)#no shut 2950-Rama(config-if)#int fa 0/1 2950-Rama(config-if)#desc Link to Router
Complete Configuration Example.doc

Enters privileged mode Enters global config mode Turns off DNS queries so that spelling mistakes won't slow you down Sets hostname Sets encrypted secret password Enters line console mode Appends commands to new line so that router information won't interrupt User must log into console before use Sets password to rooster Console will never log out. Note that this is a security risk in a production environment Moves back to global config mode Moves to line auxiliary mode User must log in to auxiliary port before use Sets password to crows Moves back to global config mode Moves to configure all 16 vty ports at same time User must log in to vty port before use Setspassword to midnight Exits back to global config mode Sets default gateway Moves to virtual interface VLAN1 Sets IP address for switch Turns virtual interface on Moves to interface fa 0/1 Sets local description
2

Rama Switch 2950-Rama(config-if)#int fa 0/6 2950-Rama(config-if)#desc Access Link to Client Workstation Moves to interface fa 0/6 Sets local description

2950-Rama(config-if)#switchportport-security Activates port security 2950-Rama(config-if)#switchport port-security Specifies that only one MAC address will be maximum 1 allowed in the MAC table 2950-Rama(config-if)#switchport port-security Sets port to be turned off if more than one MAC violation shutdown address is reported 2950-Rama(config-if)#exit 2950-Rama(config)#exit 2950-Rama#copy run start Rama Router Router>enRouter#clock set 10:30:00 15 Nov 2005 Router#config t Router(config)#hostname Rama Rama(config)#no ip domain-lookup Rama(config)#banner motd # This is the Rama Router. Authorized Access Only # Rama(config)#clock timezone CST 6 Rama(config)#enable secret cisco Rama(config)#service password-encryption Rama(config)#line con 0 Rama(config-line)#logging sync
Complete Configuration Example.doc

Exits backto global config mode Returns to privileged mode Saves config to NVRAM

Enters privileged mode Sets local time on router Enters global config mode Sets router name to Rama Turns off DNS queries on unrecognized commands (spelling mistakes) Creates an MOTD banner

Sets time zone to Central Standard Time (6 hours behind UTC) Enable secret password set to cisco Sets passwords to have weakencryption Enters line console mode Commands won't be interrupted by unsolicited messages
3

Rama Switch Rama(config-line)#password rooster Rama(config-line)#login Rama(config-line)#exec-timeout 0 0 Rama(config-line)#line aux 0 Rama(config-line)#password crows Rama(config-line)#login Rama(config-line)#line vty 0 4 Rama(config-line)#password midnight Rama(config-line)#login Rama(config-line)#exitRama(config)#int fa0/0 Rama(config-if)#desc Local LAN Rama(config-if)#ip address 10.10.10.1 255.255.255.0 Rama(config-if)#ip nat inside Rama(config-if)#no shut Rama(config-if)#int s0/1 Rama(config-if)#desc Primary Link to Buchanan Router Rama(config-if)#ip address 192.168.100.2 255.255.255.252 Rama(config-if)#encapsulation frame-relay Rama(config-if)#frame-relay map ip 192.168.100.1 301 broadcast...
tracking img