VRF Operational Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=168
Answer
A VRF is a separate routing table inside a router. Each interface belongs to one VRF, and traffic arriving on it is routed using only that VRF's table — one router behaves like several.
Remember
Every command acts on the global table unless the VRF is named: show ip route vrf, ping vrf, ip route vrf. Putting an interface into a VRF removes its IP address. Management services — NTP, syslog, TACACS+ — must be told to use the management VRF.
First checks
show vrf— VRFs, address families and interfaces.show ip vrf interfaces— which VRF each interface is in.show ip route vrf <name>— that VRF's table.show ip cef vrf <name> <prefix>— its forwarding entry.ping vrf <name> <address> source <interface>— reachability inside it.
Commands
show ip routeshow ip route vrf GUESTshow ip cef <ip>show ip cef vrf GUEST <ip>ping 10.150.0.27ping vrf GUEST 10.150.0.27traceroute <ip>traceroute vrf GUEST <ip>show ip arpshow ip arp vrf GUESTip tftp source-interfaceshow vrfping vrf GUEST 8.8.8.8
Verify in this order
interface assigned to the VRF and readdressed → routes (static or protocol) configured in that VRF → route present in the VRF's table → tests run with the VRF named → reachable inside the VRF
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=168