Operation Manual
IP Services Commands
Mobility System Software Command Reference Guide
Version 7.3
8 – 138
See Also
● clear ip telnet on page 8-95
● set ip https server on page 8-109
● set ip telnet on page 8-112
● set ip telnet server on page 8-113
● show ip telnet on page 8-139
show ip route
Displays the IP route table on the MX.
Syntax
show ip route [destination]
Defaults
None.
Access
All.
History
Introduced in MSS Version 1.0.
Usage
When you add an IP interface to an available VLAN, 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
show vlan config command to check the VLAN state.
If you add a static route and the route state is shown as Down, use the show interface command
to verify that the MX has an IP interface in the default router subnet. MSS cannot resolve a static
route unless one of the MX VLANs has an interface in the default router subnet. If the MX has
such an interface but the static route is still down, use the show vlan config command to check
the state of the VLAN ports.
Examples
The following command shows all routes in an MX IP route table:
MX# show ip route
Router table for IPv4
Destination/Mask Proto Metric NH-Type Gateway VLAN:Interface
__________________ _______ ______ _______ _______________ _______________
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 8– 5 describes the fields in this display.
IP Address IP address of the device that established the connection.
Note: If a browser connects to an MX from behind a proxy, then only the
proxy IP address is shown. If multiple browsers connect using the same
proxy, the proxy address appears only once in the output.
Last Connected Time when the device established the HTTPS connection to the MX.
Time Ago (s) Number of seconds since the device established the HTTPS connection to the
switch.
destination Route destination IP address, in dotted decimal notation.
Table 8– 4. Output for show ip https (continued)
Field Description