Arquivo da categoria: Geral

Comparar, sortear e apagar linhas duplicadas no Notepad++

Para remover linhas duplicadas  basta apertar Ctrl+ F, selecionar a aba “Substituir” e no campo “Localizar”  colocar  : ^(.*?)$\s+?^(?=.*^\1$).  Em modo de busca marcar  “Expressão  regular” e clicar em substituir todos.

Comparar Arquivos:
Primeiramente arraste um das abas que deseja ser comparada  para o lado solte   e escolha mover para outra tela.

Apos isso vá na aba Plugins –> Plugin Manager –> Procure pelo Compare e selecione ele para baixar.

Apos isso, na aba Plugins haverá um novo item chamado Compare, basta clicar em Compare ou Alt + D para o plugin funcionar.

huawei tshoot

display configuration candidate [ antes de executar a config]
display this[depois de executar a config]
display this include-default

display this include-default

=> Rollback:

display configuration commit changes last 1
display configuration commit changes ###
display configuration commit list verbose

rollback configuration to commit-id 10000125
display configuration commit changes last 1

=> Derrubar seção do cliente

display users [mostra usuario e numero da vty que está logado]
kill user-interface vty 0[derruba o usuário da vty 0]

OSPF

display ip routing-table
display ip routing-table protocol ospf
display ospf routing
display ospf error
display ospf interface
display ospf peer brief
display current-configuration configuration ospf

ISIS

display ip routing-table
display isis peer brief
display isis route
display isis lsdb
display ip routing-table protocol isis
display isis interface

BGP

display bgp routing-table
display bgp peer
display bgp network
display bgp error
display ip routing-table protocol bgp
display bgp peer 2.1.1.1 verbose

MPLS (Dominio)

display mpls interface
display mpls ldp interface
display mpls ldp session
display mpls ldp peer all
display mpls lsp (FEC)
display mpls ldp lsp (LIB)
display mpls ldp all
tracert lsp IP 4.4.4.4 32
ping lsp ip 4.4.4.4 32

MPLS – LDP
display mpls ldp peer X
display mpls session
display mpls ldp adjancency
display mpls interface
debugging mpls ldp session events
debbuging mpls ldp peer XYZ

MPLS -L2VPN

display mpls l2vc
display mpls l2vc brief
display mpls ldp remote-peer
display mpls ldp peer all
display ldp error
display mpls ldp lsp all[mostra todas etiquetas]

MPLS – VPLS

display vsi name CLARO verbose
display vsi
display mpls ldp remote-peer
display vsi pw out-interface
display vsi services all
display mac-address vsi CLARO
display vpls connection ldp
debugging mpls l2vpn

MPLS – L3VPN

display bgp vpnv4 all peer
display bgp peer
display IP vpn-instance verbose CLARO
display IP vpn-instance

BFD

[LSRB]bfd //global
[LSRB-ospf-1]bfd all-interfaces enable
[LSRB-ospf-1]bfd all-interfaces min-tx-interval 400 min-rx-interval 400
[LSRB]display bfd session all verbose
[LSRB]display bfd configuration all
[LSRA]display ospf bfd session all
[LSRA-bfd]display bfd interface

STP

stp enable
stp mode rstp
[LSW4-GigabitEthernet0/0/6]stp enable
[LSW4]display stp brief
[LSW4]display stp topology-change
[LSW4]display stp vlan 10
[LSW4]display stp
[LSW1]stp priority 32768
display mac-address dynamic GigabitEthernet 0/0/1
[LSW1]display mac-address dynamic vlan 10

MSTP

stp enable
stp mode rstp

//Configuración de MstP

stp region-configuration
region-name CLARO
instance 1 vlan 10
instance 2 vlan 20
instance 3 vlan 30
instance 4 vlan 40
active region-configuration

[LSW4]display stp brief
[LSW4]display stp
[LSW1]display stp instance 1
[LSW1]display stp instance 1 brief

MPLS-TE

[LSRB]display mpls interface
[LSRB]display mpls rsvp-te
[LSRB]display mpls rsvp-te interface
[LSRB]display ospf lsdb brief
[LSRE]display ospf brief
[LSRB]display ospf mpls-te
<LSRE>display current-configuration interface
[LSRA]display explicit-path
[LSRA]display explicit-path PRINCIPAL
[LSRA]display current-configuration interface Tunnel
[LSRA]display interface Tunnel 0/0/1
display mpls te tunnel verbose
<LSRA>display mpls lsp
<LSRA>display mpls te tunnel
display mpls te tunnel name Tunnel0/0/1 verbose

Acelerando a população da FIB pós switchover

Dica legal do blog log https://ethernuno.wordpress.com/2016/01/08/ccnp-switch-300-115-part-1-8-chassis-virtualization-and-aggregation-technologies/

Dos tópicos de CCNP SWITCH que fala de stackwise, passa algumas maneiras de acelerar o roteamento em caso de switchover.

Switchover is the manual switch from one system to a redundant or standby computer server, system, or network upon the failure or abnormal termination of the previously active server, system, or network, or to perform system maintenance, such as installing patches, and upgrading software or hardware.

chassis-virtualization-and-aggregation-technologies

Dica

Nonstop Forwarding

Nonstop forwarding (NSF) is an interactive method that focuses on quickly rebuilding the Routing Information Base (RIB) table after a supervisor switchover. The RIB is used to generate the FIB table for CEF, which is downloaded to any switch modules or hardware that can perform Cisco Express Forwarding (CEF).

Instead of waiting on any configured Layer 3 routing protocols to converge and rebuild the FIB, a router can use NSF to get assistance from other NSF-aware neighbors. The neighbors then can provide routing information to the standby supervisor, allowing the routing tables to be assembled quickly. In short, the Cisco proprietary NSF functions must be built in to the routing protocols on both the router that will need assistance and
the router that will provide assistance.

NSF is supported by the BGP, EIGRP, OSPF, and IS-IS routing protocols. To configure NSF, you must add the following commands to any routing protocol configuration on the switch.

BGP

OSPF

EIGRP

IS-IS

 

 

Exporting/Saving Putty/SecureCRT/SecureFX sessions on Windows!!

Exporting/Saving Putty/SecureCRT/SecureFX sessions on Windows!!

fonte: http://nilesh-mixed-bag.blogspot.com.br/2010/04/exportingsaving-puttysecurecrtsecurefx.html

Vivo esquecendo como salvar as SESSIONS do secure CRT abaixo o caminho =)

C:\Users\PC\AppData\Roaming\VanDyke\Config\Sessions

If you are using Putty on windows…
Putty actually does not have any config or ini file , it writes all the user created sessions in windows registry. You can find the sessions saved in putty at HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions location. That’s it…we are almost done. Just export this key and save it to some location or external drive if you plan to move to some different windows box. Last thing you need to do is import this key to any other windows system where putty is running.

If you are using SecureFx/SecureCRT on Windows…
SecureCRT saves the user sessions information under windows user home directory. \AppData\Roaming\Van Dyke Technologies\SecureCRT\Config\sessions. You just need to copy the sessions folder and save it to some location. Just as a word of caution…, with Windows 7, Microsoft has changed the users home directory to C:\Users\. The same is c:\documents and settings\ in WindowsXP and prior versions.

Resumo de Configuração para EtherChannel

Achei esse material antigo e muito bem feito do site http://www.rotadefault.com.br queria fazer algo de EtherChannel mas melhor que isso e tão bonito fica difícil depois faço um vídeo…no PT se sobrar 20mins…

Como tenho estudado para as certs cisco e juniper no CCNA o etherchannel é um dos tópicos é simples mas usamos isso bastante em Telecom, então é bom dominar o assunto o máximo possível e conhecer como interconectar os variados vendors.

resumo-etherchannel