Show Ip Route - Planet Networking & Communication WGS3-2820 User Manual

Table of Contents

Advertisement

Interface Valid slot and port number separated by forward slashes.
IP Address
IP Mask
Netdir Bcast
MultiCast Fwd

12.2.23 show ip route

This command displays the routing table. The <ip-address> specifies the network for which the route is to be displayed and
displays the best matching best-route for the address. The <mask> specifies the subnet mask for the given <ip-address>. When
you use the longer-prefixes keyword, the <ip-address> and <mask> pair becomes the prefix, and the command displays the
routes to the addresses that match that prefix. Use the <protocol> parameter to specify the protocol that installed the routes.
The value for <protocol> can be connected, ospf, rip, static, or bgp. Use the all parameter to display all routes including best and
non-best routes. If you do not use the all parameter, the command only displays the best route.
Note
: If you use the connected keyword for <protocol>, the all option is not available because there are no best or
non-best connected routes.
Format
show ip route[{<ip-address> [<protocol>] | {<ip-address> <mask> [longer-prefixes] [<protocol>] |
<protocol>} [all] | all}]
Mode
Privileged EXEC
User EXEC
Route Codes
The show ip route command displays the routing tables in the following format:
Code
The columns for the routing table display the following information:
Code
IP-Address/Mask
Preference
The IP address of the routing interface in 32-bit dotted decimal format.
The IP mask of the routing interface in 32-bit dotted decimal format.
Indicates if IP forwards net-directed broadcasts on this interface.
Possible values are Enable or Disable.
Indicates the multicast forwarding administrative mode on the interface.
Possible values are Enable or Disable.
Displays the key for the routing protocol codes that might appear in the routing table
output.
IP-Address/Mask [Preference/Metric] via Next-Hop, Interface
The codes for the routing protocols that created the routes.
The IP-Address and mask of the destination network corresponding to this route.
The administrative distance associated with this route. Routes with low values are
preferred over routes with higher values.
440
User's Manual of WGS3-2820/WGS3-5220

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wgs3-5220

Table of Contents