Você está na página 1de 4

CONFIGURAES BASICAS DO ROTEADOR VIA CONSOLE

######################################################################
enable------------------------------>entrar root
no ip domain lookup----------------->bloquear pesquisa comando errado
show ip interface brief------------->mostrar interfaces
copy running-config startup-config-->salvar configuraes
show start-------------------------->mostrar startup-config
show run---------------------------->mostrar configuraes atuais
######################################################################
ALTERAR APRESENTAO DO ROTEADOR
#################################
enable
configure terminal
banner motd (usar caracter especial p/ iniciar linha)
DIGITAR MENSAGEM
(usar caracter especial p/ finalizar)
######################################################################
COLOCAR SENHA P/ MODO PRIVILEGIADO
###################################
enable
configure terminal
enable secret (digitar senha)
######################################################################
CONFIGURAR INTERFACE DE REDE
#############################
show ip int brief
configure terminal
interface f0/0
ip address (ip) (mascara)
no shutdown
do show ip int brief
######################################################################
COLOCAR SENHA NO CONSOLE
#########################
enable
configure terminal
line console 0
password (digitar senha)
login
######################################################################
CONFIGURAR ACESSO REMOTO
###########################
configure terminal
line vty ?(verificar quantos acessos remotos permitidos)
line vty 0 ?
line vty 0 4(p/ permitir 5 acessos remotos)
password (digitar senha)
login
show run
######################################################################
ENCRIPTAR SENHA
################

configure terminal
service password-encryption
show run
######################################################################
GRAVAR DIRETO AS CONFIGURAES
###############################
copy run start ou
write
######################################################################
ROTEAMENTO ESTATICO
######################
show ip route
ip route (rede_destino) (mascara) (end. prox. salto ou interf. saida)
ROTA DEFAULT
ip route 0.0.0.0.0.0.0.0 (end. prox. salto ou interf. saida)
######################################################################
ROTEAMENTO DINAMICO
######################
RIP
######
conf ter
router rip
network (rede)
OSPF
#######
conf ter
router ospf (identificador local)
network (rede) (wildmask-mascara invertida) area (identificador da area)
EIGRP
#######
conf ter
router eigrp (identificador = roteadores rede)
no auto-summary (desativar rede mestra - opcional)
network (rede)
######################################################################
FRAME RELAY
##############
configurar ips serial e ethernet
determinar DLCI de uma ponta a outra int. serial
configurar rotas estaticas ou dinamicas
Roteadores
int (porta serial)
encapsulation frame-relay (ietf - ou outro modo de encapsulamento)
frame-relay lmi-type (cisco ou ansi se nao for cisco nas duas pontas)
ip add (ip e mascara)
frame-relay interface-dlci (dlci roteador atual)
no shut
show ip int serial (interface serial)
show frame-relay map
show frame-relay pvc
show frame-relay lmi
######################################################################

VOIP
######
VLAN 100 -> VLAN-Dados
VLAN 200 -> VLAN- VoIP
SWITCH>
show power inline
conf t
int range f0/1 - 3(intervalo de portas)
power inline never (desliga o suporte poe nas interfaces do intervalo)
power inline auto (automatico o suporte poe nas interfaces do intervalo)
CRIAR VLAN
vlan 100
name VLAN-Dados
vlan 200
name VLAN-VoIP
show vlan
conf t
int f0/24
switchport trunk encapsulation dot1q (no cenario real existe a opao "isl")
switchport mode trunk
do show interface trunk
do show vlan
interface range f0/1-(definir portas da vlan)
switchport mode access
switchport access vlan 100
switchport voice vlan 200
do show vlan
do show run
ROTEADOR>
en
conf t
hostname BELEM
no ip domain lookup
interface f0/0
no shut
int f0/0.100
encapsulation dot1q 100
ip address (gateway de 100) (mascara)
int f0/0.200
encapsulation dot1q 200
ip address (gateway de 200) (mascara)
DHCP DADOS
en
conf t
ip dhcp excluded-address (ip do gateway DADOS) ou ip dhcp excluded-address (1 ip
)-(ultimo ip) -> para excluir intervalo de ips
ip dhcp pool DHCP-DADOS
network (rede de DADOS) (mascara)
default-router (ip gateway) -> informar quem e o gateway
dns-server (dns) -> no ambiente real
do show run
DHCP VoIP
en
conf t
ip dhcp excluded-address (ip do gateway VoIP) ou ip dhcp excluded-address (1 ip)
-(ultimo ip) -> para excluir intervalo de ips
ip dhcp pool DHCP-VoIP

network (rede de VoIP) (mascara)


default-router (ip gateway) -> informar quem e o gateway
option 150 ip (ip roteador gateway)
do show run
do show ip dhcp binding
HABILITAR PABX
en
conf t
telephony-service
max-dn (limite de ramais ip)
max-ephones (limites de telefones ip)
ip source-address (ip roteador gateway) port 2000
auto-reg-ephone
end
show ephone ->mostrar telefones
show run
CRIAR RAMAL
conf t
ephone-dn 1
number (54001numero do ramal)
ephone-dn 2
number (54002)
ephone-dn 3
number (54003)
...
show run
ATRIBUIR RAMAL AO TELEFONE
conf t
ephone 1
button 1:1
ephone 2
button 1:2
ephone 3
button 1:3
show ephone

Você também pode gostar