Displaying the forwarding cache – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 106

Advertising
background image

92

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Displaying IP configuration information and statistics

4

Displaying the forwarding cache

To display the IP forwarding cache, enter the following command at any CLI level.

Syntax: show ip cache [ip-addr] | [num]

The ip-addr parameter displays the cache entry for the specified IP address.

The num parameter displays the cache beginning with the row following the number you enter. For
example, to begin displaying the cache at row 10, enter the following command: show ip cache 9.

The show ip cache command displays the following information.

TABLE 10

CLI display of static ARP table

This field...

Displays...

Static ARP table size

The maximum number of static entries that can be configured on the device
using the current memory allocation. The range of valid memory allocations for
static ARP entries is listed after the current allocation.

Index

The number of this entry in the table. You specify the entry number when you
create the entry.

IP Address

The IP address of the device.

MAC Address

The MAC address of the device.

Port

The port attached to the device the entry is for.

TABLE 11

CLI display of IP forwarding cache

This field...

Displays...

IP Address

The IP address of the destination.

Next Hop

The IP address of the next-hop router to the destination. This field contains
either an IP address or the value DIRECT. DIRECT means the destination is
either directly attached or the destination is an address on this Brocade
device. For example, the next hop for loopback addresses and broadcast
addresses is shown as DIRECT.

MAC

The MAC address of the destination.
NOTE: If the entry is type U (indicating that the destination is this Brocade

device), the address consists of zeroes.

Virtual ADX show ip cache

Total number of cache entries: 3

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 192.168.1.11 DIRECT 0000.0000.0000 PU n/a 0

2 192.168.1.255 DIRECT 0000.0000.0000 PU n/a 0

3 255.255.255.255 DIRECT 0000.0000.0000 PU n/a 0

Advertising