Huawei Routing & SW

Plano de estudo Huawei HCIA Routing e Switch em 10 dias.

Começar. É Gratuito
ou inscrever-se com seu endereço de e-mail
Huawei Routing & SW por Mind Map: Huawei Routing & SW

1. HCIA-R&S

1.1. Basic Comand

1.1.1. PING

1.1.1.1. ping -a vc pode definir qual e o IP de origem

1.1.1.2. ping -c especifica quantos echo request sendo o padrao 5

1.1.1.3. ping -n nao resolver DNS

1.1.1.4. ping -t mudar o timeout entre uma mensagem e outra.

1.1.1.5. TTL padrão 255

1.1.2. Traceroute

1.1.2.1. Se ocorrer uma falha quando o comando trace route é usado, as seguintes informações podem ser exibidas: ! H: O host está inacessível. ! N: A rede está inacessível. !: A porta está inacessível. ! P: O tipo de protocolo está incorreto. ! F: O pacote está fragmentado incorretamente. ! S: A rota de origem está incorreta.

1.1.3. Terminal

1.1.3.1. Desativar as mensagens do Monitor

1.1.3.1.1. <Huawei>undo terminal monitor

1.1.3.2. Mudar no nome host

1.1.3.2.1. system-view

1.1.3.2.2. sysname NOMERoteador

1.1.4. display version

1.1.5. display this

1.1.6. display current-configuration

1.1.7. display saved-configuration

1.1.8. display memory-usage

1.1.9. display cpu-usage

1.1.10. <HUAWEI> display transceiver interface gigabitethernet 3/0/0 verbose

1.1.10.1. Ver potencia recebida na fibra

1.1.10.2. Device Status Checking Commands - S7700 and S9700 V200R011C10 Command Reference - HuaweiDevice Status Checking Commands

1.1.11. display temperature

1.1.12. display version / Pode ver uptime entre outras info

1.2. Plano 10 dias

1.2.1. Dia 1

1.2.1.1. Transmission media

1.2.1.1.1. Rede e composta por pelo menos duas estações interligadas por um meio de transmissão.

1.2.1.1.2. Coaxial / BNC

1.2.1.1.3. Ethernet

1.2.1.1.4. Fibra Óptica

1.2.1.1.5. Serial

1.2.1.1.6. Domínio de Colisão

1.2.1.2. Framing

1.2.1.2.1. Unicast

1.2.1.2.2. Multicast

1.2.1.2.3. Broadcast

1.2.1.2.4. Formato Frame

1.2.1.2.5. MAC 8º Bit

1.2.1.2.6. Modelo OSI

1.2.1.2.7. Modelo TCP/IP

1.2.1.2.8. Formato de Frames

1.2.1.2.9. MAC Address

1.2.1.3. IP addressing

1.2.1.3.1. Cabeçalho ipv4

1.2.1.3.2. Classes

1.2.1.3.3. CGNAT

1.2.2. Dia 2

1.2.2.1. ICMP

1.2.2.1.1. Usa o Protocolo IP

1.2.2.1.2. Campo Type representa o formato da mensagem ICMP

1.2.2.1.3. o Valor código fornece uma descrição mais específica.

1.2.2.1.4. ping -a vc diz qual e o IP de origem

1.2.2.1.5. ping -c especifica quantos echo request o padrao é 5

1.2.2.1.6. ping -n não resolve DNS

1.2.2.1.7. ping -t mudar o timeout entre uma mensagem e outra.

1.2.2.2. ARP

1.2.2.2.1. ARP Gratuito

1.2.2.3. Transport Layer Protocol

1.2.2.3.1. TCP

1.2.2.3.2. TCP Con Termination

1.2.2.3.3. UDP

1.2.2.4. Data Forwarding

1.2.3. Dia 3

1.2.3.1. VRP Foundation

1.2.3.1.1. VRP = Versatile Routing Platform

1.2.3.1.2. Versao 5 e 8 são usadas nos equipamentos Huawei

1.2.3.2. Navigating the CLI

1.2.3.2.1. comando system-view

1.2.3.2.2. Níveis Default

1.2.3.2.3. Teclas de Atalho

1.2.3.2.4. Definir Data e Hora

1.2.3.2.5. Mensagens CLI

1.2.3.2.6. Comando basicos

1.2.3.2.7. Atributos Terminal

1.2.3.3. File System Navigation

1.2.3.3.1. <R4>dir

1.2.3.3.2. <R4>pwd

1.2.3.3.3. <R4>mkdir leo

1.2.3.3.4. <R4>cd ..

1.2.3.3.5. <R4>copy portalpage.zip leo Copy flash:/portalpage.zip to flash:/leo/portalpage.zip? (y/n)[n]:

1.2.3.3.6. <R4>delete /unreserved

1.2.3.3.7. <R4> undelete

1.2.3.3.8. <R4>reset recycle-bin

1.2.3.3.9. <R4>save

1.2.3.3.10. <R4>startup saved-configuration

1.2.3.3.11. <R4>reset saved-configuration

1.2.3.3.12. <R1>fixdisk flash:

1.2.3.4. Operating System Image Management

1.2.3.4.1. FTP usa TCP vc pode usa-lo para obter imagens, Log, Backup de configurações.

1.2.3.4.2. TFTP utiliza o UDP não tem autenticação

1.2.3.4.3. <RTA>ftp 10.1.1.2 Trying 10.1.1.2 ... Press CTRL+K to abort Connected to 10.1.1.2. 220 FTP service ready. User(10.1.1.2:(none)):huawei 331 Password required for huawei. Enter password: 230 User logged in. [ftp]get vrp.cc

1.2.3.4.4. <RTA>startup system-software vrp.cc

1.2.3.4.5. <RTA>reboot

1.2.3.4.6. [ftp]put arquivo.cfg

1.2.4. Dia 4

1.2.4.1. Establishing a Single Switched Network

1.2.4.1.1. display mac-address

1.2.4.1.2. Tempo da Informação da tabela MAC é de 300 Segundos.

1.2.4.1.3. <SW1> display mac-address aging-time

1.2.4.1.4. Pode sim ter mais de 1 MAC na mesma interface exemplo HUB ligado no Switch

1.2.4.1.5. [SW1]display interface GigabitEthernet 0/0/1

1.2.4.1.6. [SWA]interface GigabitEthernet 0/0/1 [SWA-GigabitEthernet0/0/1]undo negotiation auto

1.2.4.1.7. [SWA-GigabitEthernet0/0/1]duplex full

1.2.4.1.8. [SWA-GigabitEthernet0/0/1]speed 100

1.2.4.2. Spanning Tree Protocol

1.2.4.2.1. Conceito

1.2.4.2.2. Comandos

1.2.4.3. Rapid Spanning Tree Protocol

1.2.4.3.1. Alteração da Topologia

1.2.4.3.2. STP na rede RSTP

1.2.4.3.3. Funções de Portas

1.2.4.3.4. BPDU RST

1.2.4.3.5. RSTP Root Bridge

1.2.5. Dia 5

1.2.5.1. Basic Knowledge of IP Routing

1.2.5.1.1. AS (Autonomo Sistem)

1.2.5.1.2. O Roteador usa a tabela FIB para escolher a rota que ele irá rotear o pacote.

1.2.5.1.3. Rota mais especifica é preferida!

1.2.5.1.4. Um valor de custo representa a métrica usada para distinguir quando várias rotas para o mesmo destino têm a mesma preferência, a rota com o custo mais baixo é selecionada como a rota ideal.

1.2.5.1.5. Em enlaces PPP o gateway será a interface pois so aprende o IP depois que conecta.

1.2.5.1.6. Preferencias

1.2.5.1.7. Requisitos para tabela de roteamento

1.2.5.2. IP Static Routes

1.2.5.2.1. Desvantagem

1.2.5.2.2. Não é aconselhável rotas estáticas para redes complexas.

1.2.5.2.3. Gateway em interfaces PPP será a interface.

1.2.5.2.4. Em interfaces broadcast como Ethernet o próximo salto tem que ser especificado não pode ser a interfaces como gateway

1.2.5.2.5. Comando Exemplos

1.2.5.2.6. Balanceamento de Carga

1.2.5.2.7. display ip routing-table

1.2.5.2.8. Rotas flutuantes

1.2.5.2.9. Rota Padrão (default)

1.2.5.3. Link State Routing with OSPF

1.2.5.3.1. Conceito

1.2.5.3.2. Comandos

1.2.5.4. <R1>undo terminal monitor

1.2.6. Dia 6

1.2.6.1. DHCP Protocol Principles

1.2.6.1.1. Comandos

1.2.6.1.2. DORA

1.2.6.1.3. Configuring a DHCP Server - S12700 V200R011C10 Configuration Guide - IP Service - HuaweiConfiguring a DHCP Server

1.2.6.2. FTP Protocol Principles

1.2.6.2.1. Comandos

1.2.6.3. Telnet Protocol Principles

1.2.6.3.1. comandos

1.2.6.4. Link Aggregation

1.2.6.4.1. Manual Mode

1.2.6.4.2. LACP Mode

1.2.6.4.3. Exemplo no site da Huawei

1.2.6.4.4. Exemplo de LACP no NE-40

1.2.6.4.5. Conceito Site Huawei

1.2.7. Dia 7

1.2.7.1. VLAN Principles

1.2.7.1.1. Comandos

1.2.7.2. VLAN Routing

1.2.7.3. Principle and Conf of HDLC and PPP

1.2.7.3.1. PPP Link Establishment Process

1.2.7.3.2. HDLC Principles - NE40E V800R011C10 Feature Description - WAN Access 02 - HuaweiHDLC Principles

1.2.8. Dia 8

1.2.8.1. Principle and Configuration PPPoE

1.2.8.1.1. PPPoE CLIENTE

1.2.8.1.2. PPPoE SERVER

1.2.8.2. ACL

1.2.8.2.1. Bascic - 2000-2999

1.2.8.2.2. Advanced 3000-3999

1.2.8.2.3. Layer 2 ACL 4000-4999

1.2.8.2.4. ACL Usuario 5000-5999

1.2.8.2.5. What Is an Access Control List (ACL) - HuaweiWhat Is an Access Control List (ACL)?

1.2.8.2.6. Comandos

1.2.8.3. NAT

1.2.8.4. AAA

1.2.9. Dia 9

1.2.9.1. Securing Data with IPSec VPN

1.2.9.2. GRE

1.2.9.3. SNMP

1.2.10. Dia 10

1.2.10.1. Intro IPv6

1.2.10.1.1. Endereço 128 bit

1.2.10.1.2. Cabeçalho

1.2.10.1.3. IPv6 Address Reservatios

1.2.10.2. IPv6 Routing Technologies

1.2.10.2.1. OSPFv3

1.2.10.2.2. display ipv6 routing-table

1.2.10.2.3. RouterID tem que ser configurado manualmente.

1.2.10.3. IPv6 Application Services - DHCPv6

1.2.10.3.1. Cliente UDP 546 Server UDP 547

1.2.10.3.2. Comandos

1.2.10.4. MPLS Basic Principle

1.2.10.5. SR

1.3. Comandos Reset/Save

1.3.1. <huawei>display saved-configuration

1.3.1.1. Irá mostrar as configurações que estão salvas no equipamento.

1.3.2. <huawei>display startup

1.3.2.1. <R1>display startup MainBoard: Startup system software: null Next startup system software: null Backup system software for next startup: null Startup saved-configuration file: null Next startup saved-configuration file: null Startup license file: null Next startup license file: null Startup patch package: null Next startup patch package: null Startup voice-files: null Next startup voice-files: null

1.3.3. <huawei>reset saved-configuration

1.3.3.1. ATENÇÃO irá apagar as cofigurações e após o reboot o roteador vem zerado.

1.3.4. <huawei>save

1.4. Comandos OSPF

1.4.1. <huawei>reset ospf process

1.4.1.1. Como se fosse um reboot no OSPF da caixa.

1.4.2. :flushed: Comandos

1.4.2.1. <R1>reset ospf process

1.4.2.1.1. reinicia a instancia OSPF

1.4.2.2. [R1-GigabitEthernet0/0/0]interface g0/0/0 ospf dr-priority 255

1.4.2.2.1. Definir uma prioridade para chance de torna-lo DR

1.4.2.3. [RTD-GigabitEthernet0/0/0]ospf network-type p2p

1.4.2.3.1. Mudar para Rede tipo Ponto a Ponto

1.4.2.4. [RTB-ospf-1]bandwidth-reference 10000

1.4.2.5. [RTA]interface GigabitEthernet 0/0/0 [RTA-GigabitEthernet0/0/0]ospf cost 20

1.4.2.5.1. Mudar custo da Interface

1.4.2.6. [R1-GigabitEthernet0/0/0]ospf dr-priority 255

1.4.2.6.1. Definir um Router como DR

1.4.2.7. ip route-static 100.64.255.0 24 NULL

1.4.2.7.1. Blackhole

1.4.2.8. [R1-ospf-1]import-route static type 1

1.4.2.8.1. Importar rota estatica para o OSPF Se não definir o tipo ele coloca por default em Type 2

1.4.2.9. [R5-GigabitEthernet0/0/0]ospf timer ?

1.4.2.9.1. hello, dead, etc..

1.4.2.10. [R5-ospf-1]import-route ?

1.4.2.10.1. bgp, ospf, limit

1.4.2.11. DISPLAY

1.4.2.11.1. display ospf peer

1.4.2.11.2. display ospf lsdb

1.4.2.11.3. display ip routing-table protocol ospf

1.4.2.11.4. display ospf interface

1.4.2.11.5. display ospf routing

1.4.2.12. COMEÇANDO CERTO

1.4.2.12.1. [R1]ospf 1 router-id 10.255.255.1

1.4.2.12.2. [R1-ospf-1]area 0

1.4.2.12.3. [R1-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255

1.4.2.12.4. [R1]ospf 1 [R1-ospf-1]default-route-advertise

1.4.2.13. Autentication

1.4.2.13.1. [R1]ospf 1

1.4.2.14. dis ospf lsdb router self-originate

1.4.2.14.1. Estados de link auto-originados

1.4.2.15. dis ospf routing 10.0.1.1

1.4.2.15.1. Verificar informações para chegar neste destino

1.4.2.16. display ospf lsdb router 10.0.3.3

1.4.2.16.1. OSPF Process 1 with Router ID 10.0.2.2 Area: 0.0.0.0 Link State Database Type : Router Ls id : 10.0.3.3 Adv rtr : 10.0.3.3 Ls age : 388 Len : 48 Options : E seq# : 8000002b chksum : 0xa135 Link count: 2 * Link ID: 10.0.3.3 Data : 255.255.255.255 Link Type: StubNet Metric : 0 Priority : Medium * Link ID: 10.0.123.4 Data : 10.0.123.3 Link Type: TransNet Metric : 1

1.4.2.17. display ospf interface g0/0/2

1.4.2.17.1. OSPF Process 1 with Router ID 10.0.2.2 Interfaces Interface: 10.0.123.2 (GigabitEthernet0/0/2) Cost: 1 State: DROther Type: Broadcast MTU: 1500 Priority: 1 Designated Router: 10.0.123.4 Backup Designated Router: 10.0.123.1 Timers: Hello 10 , Dead 40 , Poll 120 , Retransmit 5 , Transmit Delay 1

1.5. IP e Rota

1.5.1. <huawei>interface lo0 <huawei-loopback0>ip ad 10.0.0.1 24

1.5.2. <huawei>display ip routing-table

1.5.2.1. Ver a tabela de rota

1.5.3. display ip routing-table protocol static

1.5.4. ip route-static 192.168.1.0 255.255.255.0 10.0.12.1 ip route-static 192.168.1.0 24 Serial 1/0/0

1.5.4.1. Configurando Rota Estatica

1.5.5. Rotas flutuantes

1.5.5.1. ip route-static 192.168.1.0 255.255.255.0 20.0.12.1 preference 100

1.5.5.2. ip route-static 192.168.1.0 255.255.255.0 10.0.12.1

1.5.5.3. :white_check_mark: Como tem 2 caminhos para chegar no mesmo destino vc pode usar uma rota como backup caso a principal falhe a de preferencia 100 e quem assumiria.

1.5.5.4. A rota que tem a preferencia 100 nao vai aparecer com o comando display ip routing-table pois a rota instalada será a rota que tem a preferencia menor.

1.5.6. Rota Padrão (default)

1.5.6.1. [RTA]ip route-static 0.0.0.0 0.0.0.0 10.0.12.2

1.5.6.2. Quando não tem uma rota mais especifica a rota padrão sera utilizada para envio do trafego.

2. Huawei BGP

3. Siga minhas redes sociais para ter acesso a dicas e novidades

3.1. facebook.com/leonardo.mikrotik

3.2. https://www.linkedin.com/in/albuquerqueleonardo/

3.3. youtube.com/leomikrotik

3.4. Instagram.com/contract_ti