$ show running-config | section routing
Commands in routing/
35 snippets from 17 notes, in tree order. Each heading links to its note. for a cheat sheet.
BFD
bfd interval <time in ms> mix-rx <time in ms> multiplier <number of missed packets>router ospf <process id> area <number>
ip ospf bfdrouter eigrp <as>
network 0.0.0.0
bfd all-interfaces
Or
bfd interface <interface id>router bgp <as>
neighbor <neighbor IP> remote-as <as>
neighbor <neighbor IP> fall-over bfdBGP Purposefully Resetting Peer Connections bgp
R1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# router bgp 123
R1(config-router)# neigh 172.16.16.6 shutdownBGP Disable Connected Check bgp/neighbors
neighbor <neigbor> disable-connected-checkBGP EBGP Multihop bgp/neighbors
neighbor <neigbor> ebgp-multihop <hops>BGP Generalized TTL Security Feature (GTSM) bgp/neighbors
neighbor <neigbor> ttl-security hops <hops>EIGRP Classic Basic Configuration eigrp/classic-mode
router eigrp <as>
network 10.0.0.0 0.0.0.255EIGRP Named Basic Configuration eigrp/named-mode
router eigrp <name>
address-family ipv4 as <as>
network 10.0.0.0 0.0.0.255Routing Protocol Authentication general
interface <interface id>
ip ospf authentication [message-digest]
ip ospf authentication-key <key>
Or
ip ospf message-digest-key <key id> md5 <key>router ospf <process id>
area <area id> authentication [message-digest]
interface <interface id>
ip ospf authentication-key <key>
Or
ip ospf message-digest-key <key id> md5 <key>router bgp <AS>
neighbor <ip address | peer group> password <password>key chain <key chain name>
key <key id>
key-string <secret key string>
accept-lifetime <start time> [infinite | duration (seconds) | end time] <duration | end time>
send-lifetime <start time> [infinite | duration (seconds) | end time] <duration | end time>interface <interface id>
ip authentication key-chain eigrp <as> <key chain name>
ip authentication mode eigrp <as> md5interface <interface id>
ip rip authentication key-chain <key chain name>
ip rip authentication mode <text | md5>NHRP Map nhrp
ip nhrp map {tunnel-address-of-Hub} {NBMA-address-of-Hub}OSFP Non-Broadcast ospf/network-type
interface Gig 0/0
ip ospf network non-broadcastrouter ospf 1
neighbor 10.1.1.1
neighbor 10.1.1.2
neighbor 10.1.1.3
neighbor 10.1.1.4OSPF Point-to-Multipoint ospf/network-type
interface Tun 123
ip ospf network point-to-multipointOSPF Point-to-Multipoint Non-Broadcast ospf/network-type
interface Tun 123
ip ospf network point-to-multipoint non-broadcast
router ospf 1
neighbor x.x.x.xOSPF Point-to-Point ospf/network-type
interface Gig 0/0
ip ospf network point-to-pointOSPF Authentication ospf
Internet Protocol Version 4, Src: 12.1.1.1, Dst: 224.0.0.5
Open Shortest Path First
OSPF Header
Version: 2
Message Type: Hello Packet (1)
Packet Length: 48
Source OSPF Router: 0.0.0.1
Area ID: 0.0.0.0 (Backbone)
Checksum: 0xd292 [correct]
*Auth Type: Null (0)
Auth Data (none): 0000000000000000
OSPF Hello Packet
OSPF LLS Data Blockrouter ospf 1
area <area-number> authentication
interface Gig x/y
ip ospf authentication-key xxxrouter ospf 1
area 0 authentication message-digest
interface Gig x/y
ip ospf message-digest-key <id> md5 <password>key chain tst
key 1
key-string PSWD
cryptographic-algorithm hmac-sha-512
interface g0/4
ip ospf authentication key-chain tst14:19:18.171: %OSPF-4-NOVALIDKEY: No valid authentication send key is available on interface OSPF_VL0R3(config)#router ospf 1
R3(config-router)#area 1 virtual-link 0.0.0.2 authentication message-digest R3(config-router)#area 2 virtual-link 0.0.0.4 authentication message-digest
R4(config)#router ospf 1
R4(config-router)#area 2 virtual-link 0.0.0.3 authentication message-digestarea 1 virtual-link 0.0.0.3 authentication nullOSPF Best Path Selection ospf
router ospf 1
compatible rfc1587OSPF Default Route Injection ospf
default-information originate {always}default-information originate route-map TESTtrack 2 ip route 2.0.0.0 255.0.0.0 reachability
track 3 ip route 3.0.0.0 255.0.0.0 reachability
track 1 list boolean and
object 2
object 3
ip route 0.0.0.0 0.0.0.0 Null0 track 1
router ospf 1
default-information originateip prefix-list NET permit 169.254.0.0/16
route-map tst permit 10
match ip address prefix NET
router ospf 1
default-information originate route-map tst
ip route 169.254.0.0 255.255.0.0 null0 track 1OSPF Non-Broadcast Neighbor ospf
router ospf 1
neighbor x.x.x.x cost 90