4 show ip route vrf, 5 ip route vrf – Accton Technology ES4626 User Manual
Page 387
387
network, mask, next-hop address, interface, etc.
Command Mode:
all modes
Usage Guide:
With show ip route command, contents about static route in the route
table can be shown, including destination IP address, network mask and next-hop IP
address or forwarding interfaces.
Example:
Switch#show ip route fib
Codes: C - connected, S - static, R - RIP derived, O - OSPF derived
A - OSPF ASE, B - BGP derived
Destination Mask Nexthop Interface Pref
C 2.2.2.0 255.255.255.0 0.0.0.0 vlan1 0
S 6.6.6.0 255.255.255.0 2.2.2.9 vlan1 1
Among those message, S is static route with network address as 6.6.6.0、network mask
as 255.255.255.0 、 next-hop address as 2.2.2.9 and Ethernet port vlan1 as its
forwarding interface, of which the priority is 1
13.3.4.4 show ip route vrf
Command: show ip route vrf <name> [connected | static | rip| ospf | bgp | isis|
kernel|statistics| database[connected | static | rip| ospf | bgp | isis|kernel] ]
show ip route fib vrf <name> [default|main|local]
Function:
Show the routing table
Parameter: <name> is the name of VPN route forwarding instances; <destination> is
the destination network address; <destination >/<length>为 is the prefix-length plus
destination network address; connected is direct routed; static is static route; rip is
RIP route; ospf is OSPF route; bgp is BGP route; isis is ISIS route; kernel is kernel ;
statistics
shows the number of routes; database is the route database; fib is the kernel
route table.
Command Mode:
all modes
Usage Guide:
Show VPN route table contents includingL route type, destination network,
mask, next-hop, interface, etc.
13.3.4.5 ip route vrf
Command:
ip route vrf <name> {<ip-prefix>
<mask>|<ip-prefix/<prefix-length>}
{<gateway-address>|<gateway-interface>} [<distance>]
no ip route vrf <name> {<ip-prefix> <mask>|<ip-prefix/<prefix-length>}
[<gateway-address>|<gateway-interface>] [<distance>]
Function: <name>
is the name of VPN route forwarding instances; <ip-prefix> and