- 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-NAT Commands
- 06-IP Performance Optimization Commands
- 07-Adjacency Table Commands
- 08-UDP Helper Commands
- 09-IPv6 Basics Commands
- 10-DHCPv6 Commands
- 11-IPv6 DNS Commands
- 12-NAT-PT Commands
- 13-Tunneling Commands
- 14-GRE Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
07-Adjacency Table Commands | 61.38 KB |
display adjacent-table
Syntax
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-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.
slot slot-number: Displays the IPv4 adjacency table entry information of 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 the display adjacent-table command to display IPv4 adjacency table entries.
Examples
# Display the detailed information of all the IPv4 adjacency table entries.
<Sysname> display adjacent-table all verbose
IP Address : 0.0.0.0
Routing Interface : Pos2/1/7
Physical Interface : Pos2/1/7
Logical Interface : N/A
Service Type : PPP
Action Type : FORWARDING
Link Media Type : P2P
Slot : 2
Virtual Circuit Information : N/A
Link Head Information(IP) : ff030021
Link Head Information(MPLS) : ff030281
# Display the IPv4 adjacency table entries in slot 2.
<Sysname> display adjacent-table slot 2
IP Address Routing Interface Physical Interface Type Slot
0.0.0.0 Pos2/1/7 Pos2/1/7 PPP 2
# Display the number of IPv4 adjacency table entries of slot 2.
<Sysname> display adjacent-table slot 2 count
Total ADJ entries on slot 2 :1
This output shows that slot 2 has one IPv4 adjacency table entry.
Table 1 Output description
Field |
Description |
IP Address |
Nexthop IP address through the outgoing interface. |
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. 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, 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 | slot slot-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.
slot slot-number: Displays the IPv6 adjacency table entries in 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 the display ipv6 adjacent-table command 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 : Pos2/2/1
Physical Interface : Pos2/2/1
Logical Interface : N/A
Service Type : PPP
Action Type : FORWARDING
Link Media Type : P2P
Slot : 2
Virtual Circuit Information : N/A
Link Head Information(IPv6) : ff030057
# Display the IPv6 adjacency table entries in slot 2.
<Sysname> display ipv6 adjacent-table slot 2
IPv6 Address Routing Interface Physical Interface Type Slot
N/A Pos2/2/1 Pos2/2/1 PPP 2
# Display the number of IPv6 adjacency table entries in slot 2.
<Sysname> display ipv6 adjacent-table slot 2 count
Total IPv6 ADJ entries on slot 2 : 1
This display above shows that there is one IPv6 adjacency table entry in slot 2.
Table 2 Output description
Field |
Description |
IPv6 Address |
Nexthop IPv6 address on the outgoing interface. |
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: Type of service corresponding to the adjacency table, such as PPP. |
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. |