Best practices
Routing
- Exports end in a reject: a BGP export accepts what you mean to announce, then rejects every other route.
- Imports filter, then decide: a BGP import rejects what no neighbor should send, then ends in an accept or a reject.
- A prefix limit on every session: a session closes when its neighbor sends far more routes than it should.
- Tunnels start outside what they carry: a tunnel's own address is outside every route you announce through it.
At the edge
- Drop forged sources: a packet is dropped when its source address can't be right for the port it arrived on.
- Drop reflected floods: where traffic enters, drop UDP from the ports of amplifying services nobody in your network uses.
Management
- Management on its own network: only your management network may reach a device's login services.
Switching
- Untrusted VLANs end at a filter: traffic from outside reaches your own VLANs only through a device that filters it.
- One VLAN name, one ID: a VLAN has the same ID on every device.
- A native VLAN is a dead end: untagged frames from a trunk go no further than that device.
- Links written at both ends: each cable is written on both of its ports, and each port's description gives the far end.