Professional Documents
Culture Documents
CONFIGURACION BASICA:
R1#set clock <hh:mm:dd> <month> <year>
R1(config)#hostname
R1(config)#no ip domain-lookup
R1(config)#enable secret <contrasea>
R1(config)#service password-encryption
R1(config)#banner motd #This is the Boston R1.Authorized Access Only#
R1(config)#clock timezone <name> <hours UTC>
R1(config)#line console 0
R1(config-line)#password <0 | 7 | line>
R1(config-line)#login <login | tacacs | cr>
R1(config-line)#logging synchronous
R1(config-line)#exec-timeout <min> <seg>
R1(config)#line vty 0 4
R1(config-line)#password <0 | 7 | line>
R1(config-line)#login <login | tacacs | cr>
R1(config-line)#logging synchronous
R1(config-line)#exec-timeout <min> <seg>
FRAME RELAY:
R1(config)#interface <subinterface> point-to-point
R1(config)#interface <subinterface> multipoint
R1(config-if)#encapsulation frame-relay <ietf | mfr>
R1(config-if)#frame-relay intf-type <dce | dte | nni>
R1(config-if)#frame-relay lmi type <ansi | cisco | q933a>
R1(config-if)#frame-relay interface-dlci <dlci number>
R1(config-if)#frame-relay map ip <IP remote> <DLCI local> broadcast
R1(config-if)#no frame-relay inverse arp
FR(config)#frame-relay switching
FR(config-if)#no ip address
FR(config-if)#encapsulation frame-relay
FR(config-if)#frame-relay intf-type <dce | dte | nni>
FR(config-if)#clock rate 64000
FR(config-if)#frame-relay route <input DLCI> interface <interface out> <DLCI output>
Resolucin de problemas:
R1#show frame-relay map
R1#show frame-relay pvc
R1#show frame-relay lmi
R1#clear frame-relay counters
R1#clear frame-relay inarp
R1#debug frame-relay lmi
TROUBLESHOOTING:
R1#show running-config
R1#show ip route
R1#show ip interface brief
R1#show ip protocols
R1#debug ip rip
NAT:
R1(config)#ip nat inside source static <inside local address> <inside global address>
R1(config-if)#ip nat inside
R1(config-if)#ip nat outside
R1(config)#ip nat pool <name> <range inside global address> netmask <mask>
R1(config)#access-list <number> permit <source network> <wildcard>
R1(config)#ip nat inside source list <nacl> pool <pool name>
R1(config-if)#ip nat inside
R1(config-if)#ip nat outside
R1(config)#access-list <number> permit <source network> <wildcard>
R1(config)#ip nat inside source list <nacl> interface <outside interface> overload
R1(config-if)#ip nat inside
DHCP:
R1(config)#service dhcp
R1(config)#ip dhcp pool <nombre-pool>
R1(config-dhcp)#network <network> <mask>
R1(config-dhcp)#default-router <hostname | ip address>
R1(config-dhcp)#dns-server <hostname | ip address>
R1(config-dhcp)#netbios-name-server <hostname | ip address>
R1(config-dhcp)#domain-name <domain>
R1(config-dhcp)#lease <days | infinite>
R1(config-dhcp)#option <DHCP option code>
R1(config-dhcp)#relay <destination | source>
R1(config-if)#ip address dhcp
Resolucin de problemas:
R1#show ip dhcp server statistics
R1#show ip dhcp <binding | conflict | database | import | pool | relay>
R1#debug ip dhcp server <class | events| linkage | packet>
ACESS-LIST:
R1(config)#access-list <1-99 | 1300-1999> <permit | deny | remark > <ip address | any |
host> <wilcard>
R1(config)#access-list <100-199 | 2000-2699> <permit | deny | dynamic | remark>
<protocol> <ip source | any | host> <wilcard> <ip destination | any | host> <wilcard>
R1(config)#Ip access-list <standard> <1-99 | 1300-1999> <name>
R1(config)#Ip access-list <extended> <100-199 | 2000-2699> <name>