06-Layer 3 - IP Services Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release1828P04-6W18206-Layer 3 - IP Services Command Reference
07-Adjacency Table Commands
Title Size Download
07-Adjacency Table Commands 63.63 KB

Adjacency table configuration commands

The adjacency table feature only applies to hardware forwarding, but not software forwarding.

The adjacency table feature does not apply to Ethernet networks that use ARP for storing and managing neighbor information.

You can only view adjacency tables of tunnel interfaces. For more information about tunnel interfaces, see Layer 3—IP Services Configuration Guide.

display adjacent-table

Syntax

display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-id } [ count | verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

all: Displays all IPv4 adjacency table entries.

physical-interface interface-type interface-number: Displays IPv4 adjacency table entry information for the specified physical interface.

routing-interface interface-type interface-number: Displays IPv4 adjacency table entry information for the specified routing interface.

slot slot-id: Displays IPv4 adjacency table entry information for the specified slot.

count: Displays the number of IPv4 adjacency table entries.

verbose: Displays detailed IPv4 adjacency table entry information.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display adjacent-table to display IPv4 adjacency table entries.

Examples

# Display detailed information about all IPv4 adjacency table entries.

<Sysname> display adjacent-table all verbose

 IP Address                       : 0.0.0.0

 Routing Interface              : Tunnel1

 Physical Interface             : Tunnel1

 Logical Interface              : N/A

 Service Type                    : TUNNEL

 Action Type                     : FORWARDING

 Link Media Type                : P2P

 Slot                             : 1

 Virtual Circuit Information : 0

 Link Head Information(IP)    : 4500000000000000402f00000c0000020d00000300000800

# Display the IPv4 adjacency table entries in slot 1.

<Sysname> display adjacent-table slot 1

IP Address       Routing Interface     Physical Interface    Type     Slot     

0.0.0.0          Tun1                  Tun1                  TUNNEL   1        

0.0.0.0          Tun2                  Tun2                  TUNNEL   1        

0.0.0.0          Tun3                  Tun3                  TUNNEL   1        

0.0.0.0          Tun4                  Tun4                  TUNNEL   1        

0.0.0.0          Tun5                  Tun5                  TUNNEL   1        

0.0.0.0          Tun6                  Tun6                  TUNNEL   1        

0.0.0.0          Tun7                  Tun7                  TUNNEL   1        

0.0.0.0          Tun8                  Tun8                  TUNNEL   1        

0.0.0.0          Tun9                  Tun9                  TUNNEL   1        

0.0.0.0          Tun10                 Tun10                 TUNNEL   1        

0.0.0.0          Tun11                 Tun11                 TUNNEL   1        

0.0.0.0          Tun12                 Tun12                 TUNNEL   1        

0.0.0.0          Tun13                 Tun13                 TUNNEL   1        

0.0.0.0          Tun14                 Tun14                 TUNNEL   1        

0.0.0.0          Tun15                 Tun15                 TUNNEL   1        

0.0.0.0          Tun16                 Tun16                 TUNNEL   1        

0.0.0.0          Tun17                 Tun17                 TUNNEL   1        

0.0.0.0          Tun18                 Tun18                 TUNNEL   1        

0.0.0.0          Tun19                 Tun19                 TUNNEL   1        

0.0.0.0          Tun20                 Tun20                 TUNNEL   1        

0.0.0.0          Tun21                 Tun21                 TUNNEL   1        

0.0.0.0          Tun22                 Tun22                 TUNNEL   1         

0.0.0.0          Tun23                 Tun23                 TUNNEL   1        

0.0.0.0          Tun24                 Tun24                 TUNNEL   1        

0.0.0.0          Tun25                 Tun25                 TUNNEL   1        

0.0.0.0          Tun26                 Tun26                 TUNNEL   1        

0.0.0.0          Tun27                 Tun27                 TUNNEL   1        

0.0.0.0          Tun28                 Tun28                 TUNNEL   1        

0.0.0.0          Tun29                 Tun29                 TUNNEL   1        

0.0.0.0          Tun30                 Tun30                 TUNNEL   1        

0.0.0.0          Tun31                 Tun31                 TUNNEL   1        

# Display the number of IPv4 adjacency table entries of slot 1.

<Sysname> display adjacent-table slot 1 count

 Total ADJ entries on slot 1 : 31

Table 1 Command output

Field

Description

IP Address

Next hop IP address.

Routing Interface

Adjacency table routing interface, namely, output interface in the route forwarding entry.

Physical Interface

Adjacency table physical interface.

Logical Interface

Adjacency table logical interface: An abstract interface that does not correspond to any physical entity and is used for adjacency table implementation.

Service Type

Adjacency table service type.

Action Type

Action to take on the packet that matches the entry, forward or drop.

Link Media Type

Link media type, which is related to the link layer protocol used by the output interface. P2P indicates point-to-point, such as PPP.

Slot

Slot number of the physical device.

Virtual Circuit Information

Virtual circuit information for the adjacency table entry.

Link Head Information(IP)

Information about the link layer header corresponding to the IPv4 protocol.

Link Head Information(MPLS)

Information about the link layer header corresponding to the MPLS protocol.

 

display ipv6 adjacent-table

Syntax

display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-id } [ count | verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

all: Displays all IPv6 adjacency table entries.

physical-interface interface-type interface-number: Displays IPv6 adjacency table entry information for the specified physical interface.

routing-interface interface-type interface-number: Displays IPv6 adjacency table entry information for the specified routing interface.

slot slot-id: Displays IPv6 adjacency table entries about the specified slot.

count: Displays the number of IPv6 adjacency table entries.

verbose: Displays detailed IPv6 adjacency table entry information.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ipv6 adjacent-table to display IPv6 adjacency table entries.

Examples

# Display detailed information about all IPv6 adjacency table entries.

<Sysname> display ipv6 adjacent-table all verbose

 IPv6 Address                    : N/A

 Routing Interface             : Tunnel1022

 Physical Interface            : Tunnel1022

 Logical Interface             : N/A

 Service Type                   : TUNNEL

 Action Type                    : FORWARDING

 Link Media Type               : P2P

 Slot                             : 0

 Virtual Circuit Information : 0

 Link Head Information(IPv6) : 450000000000000040290000c0000c0200000000

Time Stamp                  : 141225

# Display the IPv6 adjacency table entries in slot 1.

<Sysname> display ipv6 adjacent-table slot 1

N/A                   Tun1                  Tun1                  TUNNEL   1   

N/A                   Tun2                  Tun2                  TUNNEL   1   

N/A                   Tun3                  Tun3                  TUNNEL   1   

N/A                   Tun4                  Tun4                  TUNNEL   1   

N/A                   Tun5                  Tun5                  TUNNEL   1   

N/A                   Tun6                  Tun6                  TUNNEL   1   

N/A                   Tun7                  Tun7                  TUNNEL   1   

N/A                   Tun8                  Tun8                  TUNNEL   1   

N/A                   Tun9                  Tun9                  TUNNEL   1   

N/A                   Tun10                 Tun10                 TUNNEL   1   

N/A                   Tun11                 Tun11                 TUNNEL   1   

N/A                   Tun12                 Tun12                 TUNNEL   1   

N/A                   Tun13                 Tun13                 TUNNEL   1   

N/A                   Tun14                 Tun14                 TUNNEL   1   

N/A                   Tun15                 Tun15                 TUNNEL   1   

N/A                   Tun16                 Tun16                 TUNNEL   1   

N/A                   Tun17                 Tun17                 TUNNEL   1   

N/A                   Tun18                 Tun18                 TUNNEL   1   

N/A                   Tun19                 Tun19                 TUNNEL   1    

N/A                   Tun20                 Tun20                 TUNNEL   1   

N/A                   Tun21                 Tun21                 TUNNEL   1   

N/A                   Tun22                 Tun22                 TUNNEL   1   

N/A                   Tun23                 Tun23                 TUNNEL   1   

N/A                   Tun24                 Tun24                 TUNNEL   1   

N/A                   Tun25                 Tun25                 TUNNEL   1   

N/A                   Tun26                 Tun26                 TUNNEL   1   

N/A                   Tun27                 Tun27                 TUNNEL   1   

N/A                   Tun28                 Tun28                 TUNNEL   1   

N/A                   Tun29                 Tun29                 TUNNEL   1   

N/A                   Tun30                 Tun30                 TUNNEL   1   

N/A                   Tun31                 Tun31                 TUNNEL   1   

# Display the number of IPv6 adjacency table entries in slot 1.

<Sysname> display ipv6 adjacent-table slot 1 count

 Total IPv6 ADJ entries on slot 1 : 31

Table 2 Command output

Field

Description

IPv6 Address

Next hop IPv6 address.

Routing Interface

Adjacency table routing interface, namely, output interface in the route forwarding entry.

Physical Interface

Adjacency table physical interface.

Logical Interface

Adjacency table logical interface: An abstract interface that does not correspond to any physical entity and is used for adjacent table implementation.

Service Type

Adjacency table service type.

Action Type

Action to take on the packet that matches the entry, forward or drop.

Link Media Type

Link media type, which is related to the link layer protocol used by the output interface. P2P indicates point-to-point, such as PPP.

Slot

Slot number of the physical device.

Virtual Circuit Information

Virtual circuit information for the adjacency table entry.

Link Head Information(IPv6)

Information about the link layer header corresponding to the IPv6 protocol.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
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
新华三官网