HP Moonshot-180G Guia do Utilizador Página 521

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 719
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 520
IP Routing Commands
CLI Command Reference
September 2014 Page 521
HP Moonshot Switch Module CLI Command Reference
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,
or
static. Use the all parameter to display all routes including best and non-best routes. If you do not use the
all parameter, the command displays only the best route.
The
show ip route command displays the routing tables in the following format:
Code IP-Address/Mask [Preference/Metric] via Next-Hop, Route-Timestamp, Interface, Truncated
The columns for the routing table display the following information:
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.
Note: If you use the static keyword for protocol, the description option is also available, for
example:
show ip route ip-address static description. This command shows the description
configured with the specified static route(s).
Format
show ip route [{ip-address [protocol] | {ip-address mask [longer-prefixes] [protocol]
| protocol} [all] | all}]
Modes •Privileged EXEC
User EXEC
Term Definition
Route Codes The key for the routing protocol codes that might appear in the routing table output.
Term Definition
Code The codes for the routing protocols that created the routes.
Default Gateway The IP address of the default gateway. When the system does not have a more specific
route to a packet's destination, it sends the packet to the default gateway.
IP-Address/Mask The IP-Address and mask of the destination network corresponding to this route.
Preference The administrative distance associated with this route. Routes with low values are
preferred over routes with higher values.
Metric The cost associated with this route.
via Next-Hop The outgoing router IP address to use when forwarding traffic to the next router (if any) in
the path toward the destination.
Vista de página 520
1 2 ... 516 517 518 519 520 521 522 523 524 525 526 ... 718 719

Comentários a estes Manuais

Sem comentários