Bits&Bricks
$ show search

Searches the blog, kb and courses. Press / to open it from anywhere, ↓ ↑ to move through the results and Enter to open one. On notes and lessons, [ and ] go to the previous and next page.

$ show running-config | section other

Commands in other/

6 snippets from 2 notes, in tree order. Each heading links to its note. for a cheat sheet.

Enhanced Tracking Object

track 2 ip route 2.0.0.0 255.0.0.0 reachbility
track 3 ip route 3.0.0.0/8 reachability
track 1 list boolean and 
 object 2 
 object 3
 object 4 not
track 4 list boolean and 
 object 2 
 object 3
track 5 list boolean and 
 object 6 
 object 7
! if (2 and 3) or (6 and 7)
track 1 boolean or
 object 4
 object 5

Packet Capture

monitor capture CAP interface xy both
monitor capture CAP match any

monitor capture CAP buffer circular
OR
monitor capture CAP file location flash:CAP.pcap

monitor capture CAP start 
monitor capture CAP stop
show monitor capture CAP buffer brief
debug platform software fed switch active inject packet-capture start
debug platform software fed switch active inject packet-capture stop
show platform software fed switch active inject packet-capture brief
show platform software fed switch active packet-capture brief
monitor capture cpuCap control-plane in match any file location flash:cpuCap.pcap  monitor capture cpuCap start
monitor capture cpuCap stop