Autotelnet

glitchlist Blog Leave a Comment

Today I will show you how I built a simple script to automate telnet connections. Sometimes I had to troubleshoot network issues and chase problems on many devices starting from the output on a log file. At each IP corresponding to a network device that I show up in the logs, I had to open a terminal, type in the …

BGP AS-PATH prepending

glitchlist Blog Leave a Comment

AS-PATH prepending stand for announce my prefix with a low priority. This technique, in a multihomed BGP scenario, it is used to lighten the traffic coming from a peer. The BGP route selection process prefer prefix with a short AS-PATH instead a long AS-PATH. FIRST create an ACL to select your source prefix the traffic to prepend: SECOND create a …

BGPv4 Aggregate routes

glitchlist Blog Leave a Comment

Have you ever received many networks from your customers without being able to summarize with an IGP? And… have you ever had to make BGP transit for these messy networks to a carrier that accepts only /20 networks or even worse check on RIPE.NET database? Little trick with aggregate command: Warning: aggregate command not work if you advertize messy networks …

HUAWEI AR Series – Password Recovery

glitchlist Uncategorized Leave a Comment

Turn on the AR router then: PRESS Ctrl+B to enter in Recovery MODE at Enter Password: prompt type huawei for pre-R007 versions or Admin@huawei on R007 or later versions Enter in 7. Password Manager Menu Choose 2. Clear the console login password option Wait for Clear the console login password Succeed! Reboot the router Change the password in [aaa] configuration! …

Arista – Cli access without password

glitchlist Uncategorized Leave a Comment

A good practise for manage a switch is to use certificate instead a password STEP 1.Add a local user : username admin privilege 15 secret kdfhsdfk_adfksbfjksbdpppp 2.Associate a public key username admin sshkey ssh-rsa AAAAAAAAAAAAAAAAAAAAAAAAetc admin@mydomain 3. Associate a role to user username admin role network-admin Well Done!

802.3ad between Huawei AR2240 and Cisco 3750X

glitchlist Uncategorized Leave a Comment

IEEE 802.3ad is used to aggregate multiple link ethernet for increase the network speed and availability.You can configure Layer3 to Layer3 LACP or Layer2 to Layer2 Etherchannel, but sometimes you have to do more: Some routers like Huawei 2240 are only configurable in LACP Layer 3 mode but, for design requirements, the Core Switch (ex.: Cisco) have to be set …