- Table of Contents
-
- 06-Layer 3 - IP Services Configuration Guide
- 00-Preface
- 01-ARP configuration
- 02-IP addressing configuration
- 03-DHCP configuration
- 04-DNS configuration
- 05-NAT configuration
- 06-IP forwarding basics configuration
- 07-Fast forwarding configuration
- 08-Flow classification configuration
- 09-Adjacency table configuration
- 10-IRDP configuration
- 11-IP performance optimization configuration
- 12-UDP Helper configuration
- 13-IPv6 basics configuration
- 14-DHCPv6 configuration
- 15-IPv6 fast forwarding configuration
- 16-Tunneling configuration
- 17-GRE configuration
- 18-ADVPN configuration
- 19-AFT configuration
- 20-WAAS configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Adjacency table configuration | 34.69 KB |
Displaying the adjacency table
The adjacency table stores information about directly connected neighbors for IP forwarding. The neighbor information in this chapter refers to non-Ethernet neighbor information.
This table is not user configurable. The neighbor information is generated, updated, and deleted by link layer protocols through negotiation (such as PPP dynamic negotiation) or through manual configuration. An adjacency entry includes the following information:
· Neighbor network layer address (next hop).
· Output interface.
· Link layer protocol type.
· Link layer address.
When forwarding an IP packet, the device performs the following tasks:
· Searches the FIB to find the output interface and next hop.
· Uses the output interface and next hop address to search the adjacency table for link layer forwarding information.
|
NOTE: Ethernet and non-Ethernet neighbor information are stored and managed together. |
The following table shows the items in an adjacency table output:
Item |
Description |
IP address |
IP address of the next hop in the FIB table. This address is used for adjacency table lookup. |
IPv6 address |
IPv6 address of the next hop in the FIB table. This address is used for adjacency table lookup. |
Routing interface |
Output interface in the matching route entry. This interface is used for adjacency table lookup, and it can be logical or physical. |
Physical interface |
Output physical interface that sends matching packets. · If the routing interface is physical, the routing interface and physical interface are the same. · If the routing interface is logical, the routing interface and physical interface are different. |
Logical interface |
Logical interface for sending packets, such as a Virtual-Template interface for MP. |
Service type |
Link layer protocol type, such as PPP or HDLC. |
Action type |
Action to be taken on the matching packet: Forwarding or Drop. |
Link media type |
Related to the link layer protocol used by the routing interface. · P2P—Point-to-point link. · NBMA—Non-broadcast multi-access link. |
Link head information(IP) |
Link layer header for IP forwarding. |
Link head information(IPv6) |
Link layer header for IPv6 forwarding. |
Link head information(MPLS) |
Link layer header for MPLS forwarding. |
To display adjacency table entries, use one of the following commands in any view:
Task |
Command |
Display IPv4 adjacency table information (in standalone mode). |
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number } [ count | verbose ] |
Display IPv4 adjacency table information (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 ] |
Display IPv6 adjacency table information (in standalone mode). |
display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number } [ count | verbose ] |
Display IPv6 adjacency table information (in IRF mode). |
display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | chassis chassis-number slot slot-number } [ count | verbose ] |