Prev | Current Page 389 | Next

Stephen McQuerry

"Interconnecting Cisco Network Devices, Part 2 (ICND2): (CCNA Exam 640-802 and ICND exam 640-816) (3rd Edition)"

Because debug commands should always be used as a last resort, start with the
show ip nat statistics command.
To determine whether the translation is taking place, monitor the hits counter to see if it
increases as traf?¬?c is sent through the router. The hits counter increments every time a
translation in the translation table is used to translate an address. First, clear the statistics
and then display them. Next, try to execute a ping through the router and then display the
statistics again, as demonstrated in Example 7-3.
After you ping through the router, the NAT statistics show, as demonstrated in Example 7-4.
Example 7-3 Verifying That Address Translation Is Occurring
RouterX# cclleeaarr iipp nnaatt ssttaattiissttiiccss
RouterX#
RouterX# sshhooww iipp nnaatt ssttaattiissttiiccss
Total active translations: 1 (1 static, 0 dynamic; 0 extended)
Outside interfaces:
Ethernet0, Serial2
Inside interfaces:
Ethernet1
Hits: 0 Misses: 0
Expired translations: 0
Dynamic mappings:
-- Inside Source
access-list 7 pool test refcount 0
pool test: netmask 255.255.255.0
start 172.16.11.70 end 172.16.11.71
type generic, total addresses 2, allocated 0 (0%), misses 0
Example 7-4 show ip statistics to Verify Translation
RouterX# sshhooww iipp nnaatt ssttaattiissttiiccss
Total active translations: 1 (1 static, 0 dynamic; 0 extended)
Outside interfaces:
Ethernet0, Serial2
Inside interfaces:
Ethernet1
Hits: 5 Misses: 0
Expired translations: 0
Dynamic mappings:
-- Inside Source
access-list 7 pool test refcount 0
pool test: netmask 255.


Pages:
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401