Router
Compartilhando Conhecimento
Ti - Redes de Computadores > Roteamento > Configurações Básicas > Comandos Básicos de Roteadores Cisco
Comandos Básicos de Roteadores Cisco
Configurando um nome
Router>enable
Router#configure terminal
Router(config)#hostname ti-redes ti-redes# Configurando senha enable
Router>enable
Router#configure terminal
Router(config)#enable password ti-redes
Configurando senha enable secret
Router>enable
Router#configure terminal
Router(config)#enable secret ti-redes
Configurando senha da console
Router>enable
Router#configure terminal
Router(config)#line console 0
Router(config-line)#password ti-redes
Configurando acesso telnet para 05 usuários
Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config-line)#login
Router(config-line)#password ti-redes
Configurando IP na interface ethernet
Router>enable
Router#configure terminal
Router(config)#interface ethernet 0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Configurando IP na interface fastethernet
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Configurando IP na interface serial
Router>enable
Router#configure terminal
Router(config)#interface serial 0/1/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#clock rate 128000 (somente se a serial for DCE)
Router(config-if)#no shutdown
Configurando roteamento RIP v1
Router#
configure terminal
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 10.0.0.0
Configurando uma rota default por ip do próximo salto
Router#configure terminal
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1
Configurando rota default por interface
Router#configure terminal
Router(config)#ip route 0.0.0.0 0.0.0.0 serial