Configuring IP Addressing

IP Addressing Examples

Command

Purpose

 

 

 

Router#

trace [destination]

Traces packet routes through the network (privileged mode).

 

 

 

Router#

trace ip destination

Traces packet routes through the network (user mode).

 

 

 

See the “ping Command Example” section at the end of this chapter for an example of pinging.

Monitoring and Maintaining NHRP

To monitor the NHRP cache or traffic, use either of the following commands in EXEC mode:

Command

Purpose

 

 

Router# show ip nhrp [dynamic static] [type

Displays the IP NHRP cache, optionally limited to dynamic or

number]

static cache entries for a specific interface.

 

 

Router# show ip nhrp traffic

Displays NHRP traffic statistics.

 

 

The NHRP cache can contain static entries caused by statically configured addresses and dynamic entries caused by the Cisco IOS software learning addresses from NHRP packets. To clear static entries, use the no ip nhrp map command in interface configuration mode. To clear the NHRP cache of dynamic entries, use the following command in EXEC mode:

Command

Purpose

 

 

Router# clear ip nhrp

Clears the IP NHRP cache of dynamic entries.

 

 

In a dual hub Dynamic Multipoint VPN (DMVPN) environment, when using the clear ip nhrp command on the hub, you may see the following error message on the spokes:

%NHRP-3-PAKERROR: Receive Error Indication for our Error Indication, code: protocol

generic error(7), offset: 0, data: 00 01 08 00 00 00 00 00 00 FF 00 44 5F F6 00 34

This is only an informational message generated as a part of the NHRP purge notification processing and will not cause any other issues.

IP Addressing Examples

The following sections provide IP configuration examples:

Creating a Network from Separated Subnets Example

Serial Interfaces Configuration Example

IP Domains Example

Dynamic Lookup Example

HP Hosts on a Network Segment Example

Logical NBMA Example

NHRP over ATM Example

Cisco IOS IP Configuration Guide

IPC-49

Page 95
Image 95
Cisco Systems 78-11741-02 manual IP Addressing Examples, Monitoring and Maintaining Nhrp, IPC-49