display ip route 131

display ip route

Shows the IP route table.

Syntax display ip route [destination]

„destination — Route destination IP address, in dotted decimal notation.

Defaults — None.

Access — All.

History —Introduced in MSS Version 3.0.

Usage — When you add an IP interface to a VLAN that is up, MSS adds direct and local routes for the interface to the route table. If the VLAN is down, MSS does not add the routes. If you add an interface to a VLAN but the routes for that interface do not appear in the route table, use the display vlan config command to check the VLAN state.

If you add a static route and the route’s state is shown as Down, use the display interface command to verify that the route has an IP interface in the gateway router’s subnet. MSS cannot resolve a static route unless one of the WX switch’s VLANs has an interface in the gateway router’s subnet. If the WX switch has such an interface but the static route is still down, use the display vlan config command to check the state of the VLAN’s ports.

Examples — The following command shows all routes in a WX switch’s

IP route table:

WX4400# display ip route

 

 

 

 

Router table for

IPv4

Metric

NH-Type

Gateway

VLAN:Interface

Destination/Mask

 

Proto

__________________

_______ ______

_______

_______________

_______________

0.0.0.0/

0

Static

1

Router

10.0.1.17

Down

0.0.0.0/

0

Static

2

Router

10.0.2.17

vlan:2:ip

10.0.2.1/24

IP

0

Direct

 

vlan:2:ip

10.0.2.1/32

IP

0

Direct

 

vlan:2:ip:10.0.1.1/24

10.0.2.255/32

IP

0

Direct

 

vlan:2:ip:10.0.1.1/24

224.0.0.0/

4

IP

0

Local

 

MULTICAST

Table 31 describes the fields in this display.

Page 131
Image 131
HP Manager Software manual Display ip route, Shows the IP route table, Syntax display ip route destination