Skip to content

Instantly share code, notes, and snippets.

@mdpuma
Last active February 4, 2022 18:05
Show Gist options
  • Select an option

  • Save mdpuma/a75426b0e09e6e49f178e3fd3cccdd13 to your computer and use it in GitHub Desktop.

Select an option

Save mdpuma/a75426b0e09e6e49f178e3fd3cccdd13 to your computer and use it in GitHub Desktop.
CISCO commands
# show routes used for bestpath, multipath from bgp peers
show ip bgp neighbors | include BGP neighbor is|Used as
# show interfaces with Proxy ARP enabled
sh ip int | incl is up|Proxy ARP is enabled
# show interfaces with IP unreachables enabled
sh ip interface | incl is up|ICMP unreachables are always sent
# clean interface config/set default
default interface <gi1/1>
# remove non physical interfaces
no interface <tun0>
# show policy map and interfaces where is placed
sh policy-map interface | incl Gi|Tu|Vl|Po|Servi|Con
# show diff between running and startup config
show archive config diff
# proxy arp notes
conf t
interfaces vlan10
address 10.4.0.1 255.255.255.0
proxy-arp
local-proxy-arp
proxy-arp command will cause ARP reply to any ARP request which didn't come from same subnet as 10.4.0.0/24
local-proxy-arp will cause ARP reply to any ARP request, including from 10.4.0.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment