Escolar Documentos
Profissional Documentos
Cultura Documentos
Router#show version Router>show version Router# show running-config Router# show startup-config Router#show flash: Router# dir nvram:
1.Hostname
2.Interface
R1(config)#interface fastEthernet 0/0 R1(config)#int f0/0 R1(config-if)#ip address 192.168.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#description connect to 192.168.1.0/24 R1(config-if)#exit | end | Ctrl+Z | Ctrl+C
2.Interface
R2(config)#interface fastEthernet 0/0 R2(config)#int f0/0 R2(config-if)#ip address 192.168.3.2 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#description connect to 192.168.3.0/24 R2(config-if)#exit | end | Ctrl+Z | Ctrl+C
2.Interface
R1#show running-config R1#sh run R1#show ip interface brief //summary state of interfaces R1#show interface *f0/0|f0/1 + // detail information of interfaces R1(config)#do sh run R1(config)#do show ip interface brief R1(config)#do show interface *f0/0|f0/1 +
2.Interface
R1(config)# interface Serial0/0/0
description Connect to R2 ip address 192.168.2.1 255.255.255.0 clock rate ,128000|64000|56000no shutdown exit
2.Interface
R2(config)# interface Serial0/0/0
description Connect to R1 ip address 192.168.2.2 255.255.255.0 no shutdown exit
Router(config)# ip route 0.0.0.0 0.0.0.0 {outgoing interface | Next-hop ip address} R1(config)# ip route 0.0.0.0 0.0.0.0 s0/0 R2(config)# ip route 0.0.0.0 0.0.0.0 s0/1
3. Banner MOTD
(config)#banner motd # This is a security system !!! #
PC1: telnet to R2
PC> telnet 192.168.3.2 PC> telnet 192.168.2.2
R2(config)#service password-encryption //Encrypt system passwords by the Cisco level 7 algorithm. That are weak passwords, using the GetPass tool for cracking.
Router#copy tftp: running-config Address or name of remote host []? 192.168.3.254 Source filename []? R2-confg R2#
Router(config)#Line vty 0 4
Router(config-line)# Logging synchronous