This is a draft cheat sheet. It is a work in progress and is not finished yet.
OPEN SHORTEST PATH FIRST
Router(config)#router ospf <proceso> |
Router(config-router)#network <red> <wildcard> area <proceso> |
Router(config-router)#router-id <0.0.0.0> |
Router(config-router)#default-information originate |
Router(config-router)#redistribute static subnets |
Router(config-router)#passive-interface <interfaz> |
Router(config-router)#auto-cost reference-bandwidth <mbit por sec> |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)ip ospf hello-interval segundos |
Router(config-if)ip ospf dead-interval segundos |
Router(config-if)#ip ospf priority <1-255 |
Router(config-if)ip ospf cost <1-65535> Cost |
Router#show ip ospf interface |
Router#show ip protocols |
Router#show ip ospf neighbor |
Router#show ip ospf interface |
Router#show ip ospf |
Router#show ip route ospf |
Router#clear ip ospf [ id-proceso ] process: |
OSPFV3
Router(config)#ipv6 unicast-routing |
Router(config)#ipv6 router ospf <proceso> |
Router(config-rtr)#router-id <0.0.0.0> |
Router(config-if)#ipv6 ospf 1 area 0 |
Router(config-if)#ipv6 ospf dead-interval |
Router(config-if)#ipv6 ospf hello-interval |
Router(config-if)#ipv6 ospf priority <prioridad 1-255> |
Router(config-if)#ipv6 ospf cost <1-65535> Cost |
seguridad ospf autentificacion
GLOBAL |
Router(config)#router ospf <proceso> |
Router(config-router)#ip ospf message-digest-key clave md5 contraseña |
Router(config-router)#area "id-área" authentication message-digest |
POR INTERFAZ |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)#ip ospf message-digest-key clave md5 contraseña |
Router(config-if)#ip ospf authentication message-digest |
Router#show ip ospf interface |
PAT
Router(config)# access-list <proceso acl> permit <red> <wildcard> |
Router(config)# ip nat inside source list <proceso> interface <nonbreintpuerto> overload |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)#ip nat outside |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)#ip nat inside |
NAT estatico
Router(config)# ip nat inside source static <ip LOCAL> <ip publica> |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)#ip nat inside |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)#ip nat outside |
NAT DINAMICA
Router(config)# ip nat pool <NOMBRE> <ip inicio> <ip termino> netmask <mask> |
Router(config)# access-list procesoacl permit <red> <wildcard>* |
Router(config)# ip nat inside source list <ip ACL> pool <NOMBRE> |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)# ip nat inside |
Router(config)#interface <nombre interfaz><numero de interfaz> |
Router(config-if)# ip nat outside |
eigrp
Router(config)#router eigrp <as> |
Router(config-router)#no auto-summary |
Router(config-router)#network <network address> ip full classless |
Router(config-router)#network <network address> <willcard> ip specific |
Router(config-router)# maximum-paths valor |
Router(config-router)#redistribute static |
Router#show ip eigrp neighbors |
Router#show ip protocols |
Router#show ip route eigrp |
Router(config-if)# ip hold-time eigrp <número-as> <segundos> |
Router(config-if)# ip hello-interval eigrp <número-as> <segundos> |
Router(config-if)# ipv6 hello-interval eigrp <número-as> <segundos> |
Router(config-if)# ipv6 hold-time eigrp <número-as> <segundos> |
Router(config-router)#traffic-share balanced <balanceo de trafico> |
Router(config-router)# variance <balanceo de carga> |
Router(config-if)# ip summary-address eigrp as-number network-address subnet-mask rutas sumarizadas |
Router# show interfaces |
Router#show ip eigrp topology |
Seguridad Eigrp
Router(config)#key chain <nameofchain> |
Router(config-keychain)#key <key-id> |
Router(config-keychain-key)#key-string <key-string-text> |
Router(config-if)#ip authentication mode eigrp <AS number> md5 |
Router(config-if)#ip authentication key-chain eigrp <AS number> < name of chain> |
|