![](/images/backgrounds/285720/hp-switch-6208m-sx-users-manual-550116189x1.png)
Installation and Getting Started Guide
HP9300(config)# show ip
Syntax: show ip
If you specify an IP address, only the entries for that destination are displayed.
Here is an example of the information displayed by this command.
HP9300(config)# show ip |
|
|
|
|
| |||
Total number of cache entries: 2 |
|
|
|
|
| |||
Start index: 1 D:Dynamic | P:Permanent | F:Forward U:Us | C:Complex Filter |
| ||||
W:Wait ARP I:ICMP Deny | K:Drop R:Fragment S:Snap Encap |
|
|
|
| |||
| IP Address |
| Next Hop | MAC | Type | Port | Vlan | Pri |
1 | 22.22.22.22 | /8 | 207.95.6.60 | 0044.052e.4302 | DF | 1/1 | 1 | 0 |
2 | 207.96.7.7 | /12 | 207.95.6.60 | 0044.052e.4302 | DF | 1/1 | 1 | 0 |
This example shows two entries. The prefix associated with each entry is displayed. Notice that the prefix lengths in this example are different for each entry. The software selects a prefix length long enough to make the default network route entry unambiguous, so that is does not conflict with other cache entries.
To display the entry for a specific destination, enter the destination address, as shown in the following example.
HP9300(config)# show ip |
|
|
|
| ||||
Total number of cache entries: 2 |
|
|
|
|
| |||
Start index: 1 | D:Dynamic | P:Permanent | F:Forward U:Us | C:Complex Filter |
| |||
W:Wait ARP I:ICMP Deny | K:Drop R:Fragment S:Snap Encap |
|
|
|
| |||
| IP Address |
| Next Hop | MAC | Type | Port | Vlan | Pri |
1 | 207.96.7.7 | /12 | 207.95.6.60 | 0044.052e.4302 | DF | 1/1 | 1 | 0 |
This example shows the second entry from the previous example, but the entry row number is 1. The row number identifies the row number in the displayed output. In addition, notice that the Total number of cache entries field shows 2, as in the previous example. The number in this field indicates the total number of default route aggregation entries in the forwarding cache.
USING THE WEB MANAGEMENT INTERFACE
You cannot display the
Clearing the Forwarding Cache Entries for Default Routes
You can clear the default route entries from the IP forwarding cache. To do so, use the following CLI method.
NOTE: This command does not affect other types of forwarding cache entries.
USING THE CLI
To clear the
HP9300# clear ip
Syntax: clear ip
USING THE WEB MANAGEMENT INTERFACE
You cannot clear the entries using the Web management interface.
Configuring IRDP
The ICMP Router Discovery Protocol (IRDP) is used by HP routing switches to advertise the IP addresses of its router interfaces to directly attached hosts. IRDP is disabled by default. You can enable the feature on a global basis or on an individual port basis.
•If you enable the feature globally, all ports use the default values for the IRDP parameters.
•If you leave the feature disabled globally but enable it on individual ports, you also can configure the IRDP parameters on an individual port basis.
6 - 62