05-Layer 3 - IP Services Configuration Guide

HomeSupportSwitchesH3C S12500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500 Configuration Guide-Release7128-6W71005-Layer 3 - IP Services Configuration Guide
06-Adjacency table configuration
Title Size Download
06-Adjacency table configuration 73.4 KB

The adjacency table stores information about directly connected neighbors for IP forwarding. The command output only displays adjacency entries for Tunnel interfaces. For information about Tunnel interfaces, see Layer 3—IP Services Configuration Guide.

The neighbor information is generated, updated, and deleted by link layer protocols (such as PPP or ATM) through negotiation (such as PPP dynamic negotiation) or configuration (such as ATM static configuration). An adjacency entry contains the neighbor network layer address (next hop), output interface, link layer protocol type, and link layer address (PVC for ATM, unavailable for PPP).

During IP forwarding, a device checks the FIB to find the output interface and next hop, uses the output interface and next hop address to obtain the link layer forwarding information including the link layer protocol (such as PPP or HDLC), the media type (P2P or NBMA), and the link layer header information in the adjacency table, and encapsulates and forwards the packet.

 

 

NOTE:

·       Ethernet neighbor information and non-Ethernet neighbor information are stored and managed together. The adjacency table described in this chapter only manages non-Ethernet neighbor information.

·       The device operates in IRF or standalone (the default) mode. For information about IRF mode, see IRF Configuration Guide.

 

Adjacency table

Use the display adjacent-table command to display adjacency table entries. For example, 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

An adjacency entry mainly contains the following items:

·           IP address—IP address of the next hop in FIB table for packet forwarding. This address is used for adjacency table look up.

·           Routing interfaceOutput interface in the matching route entry. This interface may be logical or physical.

·           Physical interface—Output physical interface that sends matching packets. If the routing interface is a physical one, the routing interface and physical interface are the same. If the routing interface is a logical one, the routing interface and physical interface are different.

·           Logical interface—Logical interface for sending packets, such as a VLAN interface or an aggregate interface.

·           Service type—Link layer protocol type, such as PPP or HDLC.

·           Action typeAction to be taken on the matching packet, forward or drop.

·           Link media typeRelated to the link layer protocol used by the routing interface. P2P indicates a point-to-point link and NBMA indicates a non-broadcast muti-access link.

·           Link head information (IP)—Link layer header for IP forwarding.

·           Link head information (MPLS)—Link layer header for MPLS forwarding.

Displaying the adjacency table 

Execute display 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 ]

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网