The route command shows the routing table. The output should be:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.40.0 * 255.255.255.0 U 0 0 0 vlan4 10.0.0.0 * 255.255.255.0 U 0 0 0 vlan0 192.168.20.0 * 255.255.255.0 U 0 0 0 vlan2 192.168.30.0 * 255.255.255.0 U 0 0 0 vlan3 192.168.10.0 * 255.255.255.0 U 0 0 0 vlan1 default 10.0.0.10 0.0.0.0 UG 0 0 0 vlan0