Microsoft ES4625 Manuale Utente

Pagina di 674
Command Line Interface
4-252
4
Example  
show ip host-route
This command displays the interface associated with known routes.
Command Mode 
Privileged Exec
Example  
Console#show ip route
Ip Address
Netmask
Next Hop
Protocol
Metric Interface
--------------- --------------- --------------- ---------- ------ ---------
0.0.0.0
0.0.0.0
10.2.48.102
static
0
1
10.2.48.2
255.255.252.0
10.2.48.16
local
0
1
10.2.5.6
255.255.255.0
10.2.8.12
RIP
1
2
10.3.9.1
255.255.255.0
10.2.9.254 OSPF-intra
2
3
Total entry: 4
Console#
Table 4-84   show ip route - display description
Field
Description
Ip Address
IP address of the destination network, subnetwork, or host. Note that the address 0.0.0.0 
indicates the default gateway for this router.
Netmask
Network mask for the associated IP subnet.
Next Hop
IP address of the next hop (or gateway) used for this route.
Protocol
The protocol which generated this route information. (Values: static, local, RIP, OSPF)
Metric
Cost for this interface.
Interface
VLAN interface through which this address can be reached.
Console#show ip host-route
Total count: 0
IP address
Mac address
VLAN
Port
--------------------
--------------------
------
------
192.168.
1.250
00-00-30-01-01-01
3
1/ 1
10.
2. 48.
2
00-00-30-01-01-02
1
1/ 1
10.
2.
5.
6
00-00-30-01-01-03
1
1/ 2
10.
3.
9.
1
00-00-30-01-01-04
2
1/ 3
Console#
Table 4-85   show ip host-route - display description
Field
Description
Ip address
IP address of the destination network, subnetwork, or host. 
Mac address
The physical layer address associated with the IP address.
VLAN
The VLAN that connects to this IP address. 
Port
The port that connects to this IP address.