Browsed by
Month: November 2018

Just created VLAN but I cannot see it! (CISCO)

Just created VLAN but I cannot see it! (CISCO)

PROBLEM: I created a VLAN on my router, but I cannot see it using ‘show vlan-switch’ or Vlan Status is UP but Protocol is DOWN. SOLUTION: Create L2 SVI. [?] What is SVI? https://en.wikipedia.org/wiki/Switch_virtual_interface //Create L2 SVI over the existing L3 VLAN

OUTPUT

Copy & Paste

Cisco is interrupting my typing (CISCO)

Cisco is interrupting my typing (CISCO)

PROBLEM:  I am angry with Cisco IOS messages in the middle of my comands! SOLUTION:  Sync input and output. [?] How to connect to Cisco router? https://en.wikipedia.org/wiki/PuTTY //Turn on sync

BEFORE

AFTER

Copy & Paste

Credit:

Stop translating typo in privileged mode (CISCO)

Stop translating typo in privileged mode (CISCO)

PROBLEM: Cisco tries to telnet if you mistype. SOLUTION: Disable domain-lookup. [?] What is DNS? https://www.cloudflare.com/learning/dns/what-is-dns/ //Disable domain-lookup in config terminal mode

BEFORE

AFTER

Copy & Paste

Monitor device connection to the internet (CISCO)

Monitor device connection to the internet (CISCO)

PROBLEM: Monitor device access to the internet and create action when connection is not available (e.g. restart device). SOLUTION: Creating IP SLA (monitor) and trigger e.g. ‘reload’ action using event manager (EEM). [?] What is IP SLA? https://learningnetwork.cisco.com/blogs/vip-perspectives/2017/06/13/ip-sla-fundamentals //Create simple IP SLA with google DNS server as the target from interface FastEtheret 0/1

OUTPUT

Copy & Paste

Credit: https://www.experts-exchange.com/questions/21986774/IP-addresses-may-not-be-configured-on-L2-links-on-Cisco-1801.html

% IP addresses may not be configured on L2 links (CISCO)

% IP addresses may not be configured on L2 links (CISCO)

PROBLEM: Unable to configure IP on the specific interface. SOLUTION: Creating VLAN with IP and assign VLAN to the physical interface. [?] What is VLAN? https://www.lifewire.com/virtual-local-area-network-817357 //create VLAN and assign IP to it

//assign VLAN to interface

OUTPUT

Copy & Paste

Credit: https://www.experts-exchange.com/questions/21986774/IP-addresses-may-not-be-configured-on-L2-links-on-Cisco-1801.html

Block incoming ping (CISCO)

Block incoming ping (CISCO)

PROBLEM: I would like to block all incoming ping requests. SOLUTION: Block incoming ICMP traffic using access-list. [?] Why you should not block ICMP traffic! https://neilalexander.eu/articles/2017/4/16/understanding-icmp http://shouldiblockicmp.com/ //create deny rule to drop all ICMP requests //enable other traffic (bcs of implicit deny by ACL)

//assign the rule to the interface

OUTPUT

Copy & Paste

Source: https://community.cisco.com/t5/routing/block-icmp/td-p/2419132