- Table of Contents
-
- 04-Layer 3 Command Reference
- 00-Preface
- 01-ARP Commands
- 02-IP Addressing Commands
- 03-DHCP Commands
- 04-DNS Commands
- 05-NAT Commands
- 06-IPv6 Basics Commands
- 07-DHCPv6 Commands
- 08-IPv6 DNS Commands
- 09-Adjacency Table Commands
- 10-Flow Classification Commands
- 11-IP Performance Optimization Commands
- 12-IPv6 Application Commands
- 13-IP Routing Basics Commands
- 14-Static Routing Commands
- 15-IPv6 Static Routing Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Adjacency Table Commands | 64.04 KB |
display adjacent-table
Syntax
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number } [ count | verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays all the IPv4 adjacency table entries.
physical-interface interface-type interface-number: Displays the IPv4 adjacency table entry information of the specified physical interface.
routing-interface interface-type interface-number: Displays the IPv4 adjacency table entry information of the specified routing interface.
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 the detailed information of all the IPv4 adjacency table entries.
<Sysname> display adjacent-table routing-interface Virtual-Template 0 verbose
IP Address : 1.1.1.1
Routing Interface : Virtual-Template0
Physical Interface : Virtual-Template0
Logical Interface : N/A
Service Type : PPP
Action Type : FORWARDING
Link Media Type : NBMA
Slot : 1
Virtual Circuit Information : N/A
Link Head Information(IP) : ff030021
Link Head Information(MPLS) : ff030281
Table 1 Command output
Field |
Description |
IP Address |
Next hop IP address |
Routing Interface |
Adjacency table routing interface, namely, outgoing 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, such as Virtual Ethernet interface and Virtual-Template interface. |
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 outgoing interface. |
Slot |
Slot number of the physical device |
Virtual Circuit Information |
Virtual circuit information of the adjacency table entry, such as PVC and DLCI. |
Link Head Information (IP) |
Information of the link layer header corresponding to the IPv4 protocol |
Link Head Information (MPLS) |
Information of 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 } [ count | verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays all the IPv6 adjacency table entries.
physical-interface interface-type interface-number: Displays the IPv6 adjacency table entry information on the specified physical interface.
routing-interface interface-type interface-number: Displays the IPv6 adjacency table entry information on the specified routing interface.
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 the detailed information of all the IPv6 adjacency table entries.
<Sysname> display ipv6 adjacent-table all verbose
IPv6 Address : N/A
Routing Interface : Pos1/0
Physical Interface : Pos1/0
Logical Interface : N/A
Service Type : PPP
Action Type : FORWARDING
Link Media Type : P2P
Slot : 0
Virtual Circuit Information : N/A
Link Head Information(IPv6) : ff030057
Table 2 Command output
Field |
Description |
IPv6 Address |
Next hop IPv6 address |
Routing Interface |
Adjacency table routing interface, namely, outgoing 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 for example, Virtual-Ethernet interface and Virtual-Template interface. |
Service Type |
Adjacency table service type, such as PPP and IP over ATM. |
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 outgoing interface. P2P indicates point-to-point, such as the point-to-point protocol (PPP). |
Slot |
Slot number of the physical device |
Virtual Circuit Information |
Virtual circuit information of the adjacency table entry. |
Link Head Information(IPv6) |
Information of the link layer header corresponding to the IPv6 protocol |