Route filtering with RIP & RIPNG
– Passive interface (passive-interface)
– Distribute-list (distribute-list 2 [in|out])
– Offset list (offset-list)
– Administrative distance (distance)
Route filtering with EIGRP & EIGRP V6
– Passive interface (passive-interface)
– Distribute-list [in|out] – IPV4 ACLs only
– Prefix-list (prefix prefix-list-name[in|out])
– Route-map (route-map map-tag [permit|deny] [sequence-number])
– Administrative distance (distance)
Route filtering with OSPF
– Stub area (area stub & area nssa)
– LSA Type 3 filtering (area filter-list) – IPV4 only
– Summarization (area range/summary address [not-advertise])
– Redistribution (redistribute protocol route-map)
Route filtering with BGP & BGP for IPV6
– Prefix list (neighbor prefix list [in|out])
– Distribute list (neighbor distribute list [in|out])
– Filter list (neighbor filter list [in|out])
– Route maps (neighbor route-map [in|out])
Regex characters on IOS
“.” – match any character
“|” – concatenates constructs. matches one of the characters or character patterns on either side of the vertical bar.
“[]” – matches the character following the backslash
“[0-9]” – match any single digit
“[a-z]” – match any lower case
“[A-Z] – match any upper case
“_” – replaces a long regular expression list by matching a comma (,), left brace ({), right brace (}), the beginning of the input string, the end of the input string, a space or the end of an AS Path.
“^” – match the beginning of a string.
“$” – match the end of a string
“\” – matches the character following the backslash and also escapes special characters.
Regex Occurrence Modifiers on IOS
“?” – means 0 or 1 times. matches zero or one occurrence of the pattern
“*” – mean 0 or any times. matches zero or one occurrence of the pattern
“+” – means 1 or any times. matches zero or one occurrence of the pattern
Source:
IP Expert VOD
Cisco Doc: Additional and Legacy Protocols/Terminal Services Configuration Guide, Cisco IOS Release
Recent Comments