- Table of Contents
-
- 04-Layer 3 Command Reference
- 00-Preface
- 01-ARP Commands
- 02-IP Addressing Commands
- 03-DHCP Commands
- 04-DHCPv6 Commands
- 05-DNS Commands
- 06-IPv6 DNS Commands
- 07-NAT Commands
- 08-Adjacency Table Commands
- 09-Flow Classification Commands
- 10-IPv6 Basics Commands
- 11-IP Performance Optimization Commands
- 12-Basic IP Routing Commands
- 13-Static Routing Commands
- 14-IPv6 Static Routing Commands
- 15-GRE Commands
- 16-RIP Commands
- 17-RIPng Commands
- 18-Policy-Based Routing Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Adjacency Table Commands | 36.45 KB |
Adjacency table configuration commands
display adjacent-table
Use display adjacent-table to display IPv4 adjacency table entries.
Syntax
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number } [ count | verbose ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Displays all IPv4 adjacency table entries.
physical-interface interface-type interface-number: Displays IPv4 adjacency table entry information about the specified physical interface.
routing-interface interface-type interface-number: Displays IPv4 adjacency table entry information about 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.
Examples
# Display detailed information about all the IPv4 adjacency table entries.
<Sysname> display adjacent-table all verbose
IP Address : 1.1.1.1
Routing Interface : Vlan-interface1
Physical Interface : Vlan-interface1
Logical Interface : N/A
Service Type : PPP
Action Type : FORWARDING
Link Media Type : P2P
Slot : 1
Virtual Circuit Information : N/A
Link Head Information(IP) : N/A
Link Head Information(MPLS) : N/A
Table 1 Command output
Field |
Description |
IP Address |
Next hop IP address. |
Routing Interface |
Outgoing interface of the matching 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 PPP. |
Slot |
Slot number of the physical device. |
Virtual Circuit Information |
Virtual circuit information on the adjacency table entry, such as PVC and DLCI. |
Link Head Information(IP) |
Information on the link layer header corresponding to the IPv4 protocol. |
Link Head Information(MPLS) |
Information on the link layer header corresponding to the MPLS protocol. |
display ipv6 adjacent-table
Use display ipv6 adjacent-table to display IPv6 adjacency table entries.
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 ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Displays all IPv6 adjacency table entries.
physical-interface interface-type interface-number: Displays IPv6 adjacency table entry information about the specified physical interface.
routing-interface interface-type interface-number: Displays IPv6 adjacency table entry information about 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.
Examples
# Display detailed information about all the IPv6 adjacency table entries.
<Sysname> display ipv6 adjacent-table all verbose
IPv6 Address : N/A
Routing Interface : Vlan-interface1
Physical Interface : Vlan-interface1
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) : N/A
Table 2 Command output
Field |
Description |
IPv6 Address |
Next hop IPv6 address. |
Routing Interface |
Outgoing interface of the matching 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, related to the link layer protocol used by the outgoing interface. P2P indicates point-to-point, such as the PPP. |
Slot |
Slot number of the physical device. |
Virtual Circuit Information |
Virtual circuit information about the adjacency table entry. |
Link Head Information(IPv6) |
Information about the link layer header corresponding to the IPv6 protocol. |