COFIGURANDO ROTEADOR 3COM
ACESSO AO ROUTER <Router> system view ( modo privilegiado) [Router]
CONFIGURAR NOME DO ROTEADOR [Router] sysname TERRA [TERRA]
CONFIGURAR USUARIO [TERRA] local-user Luis [TERRA-LOCAL-USER] password cipher ou simple (digitar a senha) [[TERRA-LOCAL-USER] service-type telnet terminal level 3 [[TERRA-LOCAL-USER] service-type ftp
CONFIGURAR SENHA DE TELNET E CONSOLE [TERRA] user-interface con 0 [TERRA-ui-con 0] authentication-mode scheme [TERRA] user-interface vty 0 4 [TERRA-ui-vty0-4] authentication-mode scheme
CONFIGURAR INTERFACE ETHERNET [TERRA] interface ethernet 0/0 [TERRA-ethernet0/0] ip address 10.10.10.10 24 (IP + MASCARA) [TERRA-ethernet0/0] Undo Shut
CONFIGURAR INTERFACE SERIAL DO ROUTER USANDO PROTOCOLO PPP ( Point-toPoint) [TERRA] interface serial 0/0 [TERRA-serial0/0] ip address 192.167.242.1 255.255.255.252 (IP + MASCARA) [TERRA-serial0/0] Undo Shut
CONFIGURAR ROTA ESTATICA
[TERRA] ip route-static ( REDE DE DESTEINO ) ( MASCARA ) ( INTERFACE POR ONDE SAI O
PACOTE OU NEXT HOLP)
[TERRA] ip route-static 0.0.0.0 0.0.0.0 s0/0 ( Rota Default ) [TERRA] ip route-static 192.20.30.0 255.255.255.0 172.10.5.1
CONFIGURAR ROTA DINAMICA ( RIP ) [TERRA] int s0/0 [TERRA-serial0/0] rip version 2 [TERRA-serial0/0] quit [TERRA] network ( END. IP DAS SUAS REDES )
CONFIGURAR UM ROUTER USANDO PROTOCOLO FRAME RELAY [TERRA] interface serial 0/0 [TERRA-serial0/0] clock DTECLK1 [TERRA-serial0/0] link-protocol fr [TERRA-serial0/0] fr lmi-type q933a / [TERRA-serial0/0] Undo Shut
ansi
/ cisco
CONFIGURAR SUB-INTERFACE [TERRA] interface serial s0/0.16 p2p [TERRA-serial0/0.16] ip add 172.125.43.174 255.255.255.252 (IP + MASCARA) [TERRA-serial0/0.16] fr dlci 16 [TERRA-serial0/0.16-16] quit
CONFIGURAR SUB-INTERFACE DE GERNCIA [TERRA] interface serial s0/0.400 p2p [TERRA-serial0/0.400] ip add 175.125.43.121255.255.255.248 (IP + MASCARA) [TERRA-serial0/0.400] fr dlci 400 [TERRA-serial0/0.16-400] quit
CONFIGURAR COMANDO SNMP [TERRA] SNMP-agent community read intragov Obs: Este comando ir ler todas as Traps SNMP da comunidade Intragov. [TERRA] SNMP-agent community write SNMPgov Obs: Este comando habilita o acesso do gerenciamento da rede. [TERRA] SNMP-agent sys-info version all SALVAR CONFIGURAO [TERRA] save COMANDOS DE VERIFICAO Display current-configuration (verifica a configurao do roteador) Display int s0/0 ou s0/1 (verifica o status da interface) Display ip routing-table (verifica os roteamentos configurados e aprendidos) Display version (verifica o IOS do router e o registrador)
Display fr lmi-info (verifica se o LMI est ativo ou no) Display fr pvc-info (verifica- se o pvc (protocolo) est ativo (up) Reset counters interfaces s0/0(zera os contadores das interfaces) obs: necessrio estar no modo usuario <Router> Delete config.cfg (deleta todas as configuraes do router) obs: necessrio estar no modo usurio <Router> Reboot -(desliga e liga o router apos apagar as configuraes) Undo Este palavra colocado a frente de qualquer comando digitado apaga que foi configurado
COMANDOS PARA RETIRAR ARQUIVOS
<Router> Dir Directory of flash:/ 1 2 3 4 -rw-rw-rw-rw11227433 Nov 30 2006 01:24:27 6886650 Dec 08 2004 04:58:00 524288 May 24 2006 07:12:09 9564661 May 24 2006 07:13:23 r5y02_41_00_x01e.bin main.bin bootromfull r5y02_31e.bin
31877 KB total (4330 KB free) <Router> delete /unreserved nome do arquivo Enter