- Table of Contents
-
- 06-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 forwarding basics commands
- 07-Fast forwarding commands
- 08-Flow classification commands
- 09-Adjacency table commands
- 10-IRDP commands
- 11-IP performance optimization commands
- 12-UDP Helper commands
- 13-IPv6 basics commands
- 14-DHCPv6 commands
- 15-IPv6 fast forwarding commands
- 16-Tunneling commands
- 17-GRE commands
- 18-ADVPN commands
- 19-AFT commands
- 20-WAAS commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Adjacency table commands | 43.31 KB |
Contents
IPv4 adjacency table commands
display adjacent-table
Use display adjacent-table to display IPv4 adjacency entries.
Syntax
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number } [ count | verbose ]
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 ]
View
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
all: Displays all IPv4 adjacency entries.
physical-interface interface-type interface-number: Displays IPv4 adjacency entries about the specified physical interface.
routing-interface interface-type interface-number: Displays IPv4 adjacency entries about the specified routing interface.
slot slot-number: Specifies the slot number of the device, which is fixed at 0. Alternatively, you can execute the command without specifying this option. The command execution results are the same. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the device, which is fixed at 0. If you do not specify an IRF member device, this command displays IPv4 adjacency entries for all member devices. (In IRF mode.)
count: Displays the number of IPv4 adjacency entries.
verbose: Displays detailed information about IPv4 adjacency entries.
Examples
# Display detailed information about all IPv4 adjacency entries.
<Sysname> display adjacent-table all verbose
IP address : 0.0.0.0
Routing interface : Pos2/2/0
Physical interface : Pos2/2/0
Logical interface : N/A
Service type : PPP
Action type : Forwarding
Link media type : P2P
Slot : 1
Cpu : 0
VPN index : 0
Virtual circuit information : N/A
Link head information(IP) : ff030021
Link head information(MPLS) : ff030281
# Display the IPv4 adjacency entries on slot 1.
<Sysname> display adjacent-table slot 1
IP address Routing interface Physical interface Type
0.0.0.0 Pos2/2/0 Pos2/20 PPP
# Display the number of IPv4 adjacency entries on slot 1.
<Sysname> display adjacent-table slot 1 count
Total entries on slot 1: 1
Table 1 Command output
Field |
Description |
IP address |
IP address of the next hop. · For a P2P link, the IP address of the next hop is not needed. This field displays 0.0.0.0. · For an NBMA link, the value 0.0.0.0 indicates the default adjacency entry. Packets are forwarded through the default virtual circuit. |
Routing interface |
Output interface of the matching route entry. |
Physical interface |
Physical interface of which the outgoing packets are sent out. |
Logical interface |
Logical interface for sending the packets. If the entry has no logical interface, this field displays N/A. |
Service type/Type |
Link layer protocol type, such as PPP, HDLC, Tunnel, and MTunnel. |
Action type |
Packet processing type, Forwarding or Drop. |
Link media type |
Link media type: · P2P—Point-to-point link. · NBMA—Non-broadcast multi-access link. |
Slot |
ID of the slot. |
Cpu |
Number of the CPU. |
VPN index |
Index of the VPN. |
Virtual circuit information |
Information about the virtual circuit, such as PVC or DLCI. If the entry has no virtual circuit, this field displays N/A. |
Link head information(IP) |
Link layer header for IPv4. |
Link head information(MPLS) |
Link layer header for MPLS. |
IPv6 adjacency table commands
display ipv6 adjacent-table
Use display ipv6 adjacent-table to display IPv6 adjacency entries.
Syntax
In standalone mode:
display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number } [ count | verbose ]
In IRF mode:
display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | chassis chassis-number slot slot-number } [ count | verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
all: Displays all IPv6 adjacency entries.
physical-interface interface-type interface-number: Displays IPv6 adjacency entries about the specified physical interface.
routing-interface interface-type interface-number: Displays IPv6 adjacency entries about the specified routing interface.
slot slot-number: Specifies the slot number of the device, which is fixed at 0. Alternatively, you can execute the command without specifying this option. The command execution results are the same. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the device, which is fixed at 0. If you do not specify an IRF member device, this command displays IPv6 adjacency entries for all member devices. (In IRF mode.)
count: Displays the total number of IPv6 adjacency entries.
verbose: Displays detailed information about IPv6 adjacency entries.
Examples
# Display detailed information about all IPv6 adjacency entries.
<Sysname> display ipv6 adjacent-table all verbose
IPv6 address : N/A
Routing interface : Pos2/2/0
Physical interface : Pos2/2/0
Logical interface : N/A
Service type : PPP
Action type : Forwarding
Link media type : P2P
Slot : 0
VPN index : 0
Virtual circuit information : N/A
Link head information(IPv6) : ff030057
# Display the IPv6 adjacency entries for slot 1.
<Sysname> display ipv6 adjacent-table slot 1
IPv6 address Routing interface Physical interface Type
N/A Pos2/2/0 Pos2/2/0 PPP
# Display the total number of IPv6 adjacency entries for slot 1.
<Sysname> display ipv6 adjacent-table slot 1 count
Total entries on slot 1: 1
Table 2 Command output
Field |
Description |
IPv6 address |
IPv6 address of the next hop. · For a P2P link, the IPv6 address of the next hop is not needed. This field has the value 0::0, and displays N/A. · For an NBMA link, the value 0.0.0.0 indicates a default adjacency table. Packets are forwarded through the default virtual circuit. |
Routing interface |
Output interface of the matching route entry. |
Physical interface |
Physical interface of which the outgoing packets are sent out. |
Logical interface |
Logical interface that sends the packets. If the entry has no logical interface, this field displays N/A. |
Service type/Type |
Link layer protocol type, such as PPP, HDLC, Tunnel, and MTunnel. |
Action type |
Packet processing type, Forwarding or Drop. |
Link media type |
Link media type: · P2P—Point-to-point link. · NBMA—Non-broadcast multi-access link. |
Slot |
ID of the slot. |
Cpu |
Number of the CPU. |
VPN index |
Index of the VPN. |
Virtual circuit information |
Information about the virtual circuit, such as PVC or DLCI. If the entry has no virtual circuit, this field displays N/A. |
Link head information(IPv6) |
Link layer header for IPv6. |