- Table of Contents
-
- 05-Layer 3 - IP Services Command Reference
- 00-Preface
- 01-ARP commands
- 02-IP addressing commands
- 03-DHCP commands
- 04-DNS commands
- 05-IP forwarding basics commands
- 06-Adjacency table commands
- 07-IP performance optimization commands
- 08-UDP helper commands
- 09-IPv6 basics commands
- 10-DHCPv6 commands
- 11-IPv6 fast forwarding commands
- 12-Fast forwarding commands
- 13-Tunnel commands
- 14-GRE commands
- Related Documents
-
Title | Size | Download |
---|---|---|
06-Adjacency table commands | 64.82 KB |
The adjacency table command output displays adjacency entries for Tunnel interfaces. For information about Tunnel interfaces, see Layer 3—IP Services Configuration Guide.
The device operates in IRF or standalone (the default) mode. For information about IRF mode, see IRF Configuration Guide.
display adjacent-table
Use display adjacent-table to display the IPv4 adjacency entries.
Syntax
In standalone mode:
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number } [ count | verbose ]
In IRF mode:
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | chassis chassis-number slot slot-number } [ count | verbose ]
View
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
all: Displays all IPv4 adjacency entries.
physical-interface interface-type interface-number: Displays the IPv4 adjacency entries about the specified physical interface.
routing-interface interface-type interface-number: Displays the IPv4 adjacency entries about the specified routing interface.
slot slot-number: Displays the IPv4 adjacency entries about the specified card. The slot-number argument specifies a card by its slot ID. (In standalone mode.)
chassis chassis-number slot slot-number: Displays the IPv4 adjacency entries about the specified card on a member device. The chassis-number argument specifies the member device ID in the IRF fabric. The slot-number argument specifies the card by its slot number. (In IRF mode.)
count: Displays the number of IPv4 adjacency entries.
verbose: Displays detailed information about IPv4 adjacency entries.
Examples
# Display detailed information about all IPv4 adjacency entries.
<Sysname> display adjacent-table all verbose
IP address : 0.0.0.0
Routing interface : Tunnel3
Physical interface : Tunnel3
Logical interface : N/A
Service type : TUNNEL
Action type : Forwarding
Link media type : P2P
Slot : 1
Virtual circuit information : N/A
Link head information(IP) : ff030021
Link head information(MPLS) : ff030281
# Display the IPv4 adjacency entries on the card in slot 1.
<Sysname> display adjacent-table slot 1
IP address Routing interface Physical interface Type Slot
0.0.0.0 Tun3 Tun3 TUNNEL 1
# Display the number of IPv4 adjacency entries on the card in slot 1.
<Sysname> display adjacent-table slot 1 count
Total entries on slot 1 : 1
Table 1 Command output
Field |
Description |
IP address |
IP address of the next hop. |
Routing interface |
Output interface of the matching route entry. |
Physical interface |
Physical interface of which the outgoing packets are sent out. |
Logical interface |
Logical interface for sending the packets. If the entry has no logical interface, this field displays N/A. |
Service type/Type |
Link layer protocol type, such as PPP, HDLC, Tunnel, and MTunnel. |
Action type |
Packet processing type, Forwarding or Drop. |
Link media type |
Link media type: · P2P—Point-to-point link. · NBMA—Non-broadcast multi-access link. |
Slot |
ID of the slot that holds the card. |
Virtual circuit information |
Information about the virtual circuit, such as PVC or DLCI. If the entry has no virtual circuit, this field displays N/A. |
Link head information(IP) |
Link layer header for IPv4. |
Link head information(MPLS) |
Link layer header for MPLS. |