IPv4 adjacency table commands -- display adjacent-table

Use display adjacent-table to display IPv4 adjacency entries.

Syntax

Centralized devices:Distributed devices in standalone mode:Centralized IRF devices:

display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number [ cpu cpu-number ] } [ count | verbose ]

Distributed devices 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 [ cpu cpu-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: The value is fixed at 0 and the command displays IPv4 adjacency entries for the device. (Centralized devices.)

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv4 adjacency entries for all cards. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays IPv4 adjacency entries for all member devices. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. On an IRF fabric, this command displays IPv4 adjacency entries for all member devices if you do not specify a member device. On an IRF 3 system, this command displays IPv4 adjacency entries for all IRF member devices and PEXs if you do not specify an IRF member device or PEX. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on 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 card. If you do not specify a card, this command displays IPv4 adjacency entries for all cards. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. On an IRF fabric, this command displays IPv4 adjacency entries for all cards if you do not specify a card. On an IRF 3 system, this command displays IPv4 adjacency entries for all cards and PEXs if you do not specify a card or PEX. (Distributed devices in IRF mode.) (IRF 3 capable.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.

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 : Tunnel1

Physical interface : Tunnel1

Logical interface : N/A

Service type : Tunnel

Action type : Forwarding

Link media type : P2P

Slot : 0

Cpu : 0

VPN Index : 0

Virtual circuit information : N/A

Link head information(IP) : 4500000000000000ff2f000002020201020202020000

0800

Link head information(MPLS) : 4500000000000000ff2f000002020201020202020000

0800

# Display IPv4 adjacency entries for the specified slot.

<Sysname> display adjacent-table slot 1

IP address Routing interface Physical interface Type

0.0.0.0 Tun1 Tun1 Tunnel

# Display the number of IPv4 adjacency entries for the specified slot.

<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.
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

Centralized devices:Distributed devices in standalone mode:Centralized IRF devices:

display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number [ cpu cpu-number ] } [ count | verbose ]

Distributed devices 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 [ cpu cpu-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: The slot number is fixed at 0, and the command displays the IPv6 adjacency entries for the device. (Centralized devices.)

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays IPv6 adjacency entries for all cards. (Distributed devices in standalone mode.)

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays IPv6 adjacency entries for all member devices. (Centralized IRF devices.) (IRF 3 incapable.)

slot slot-number: Specifies an IRF member device by its member ID or specifies a PEX by its virtual slot number. On an IRF fabric, this command displays IPv6 adjacency entries for all member devices if you do not specify a member device. On an IRF 3 system, this command displays IPv6 adjacency entries for all IRF member devices and PEXs if you do not specify an IRF member device or PEX. (Centralized IRF devices.) (IRF 3 capable.)

chassis chassis-number slot slot-number: Specifies a card on 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 card. If you do not specify a card, this command displays IPv6 adjacency entries for all cards. (Distributed devices in IRF mode.) (IRF 3 incapable.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a PEX. The chassis-number argument represents the member ID of the IRF member device or the virtual chassis number of the PEX. The slot-number argument represents the slot number of the card or PEX. On an IRF fabric, this command displays IPv6 adjacency entries for all cards if you do not specify a card. On an IRF 3 system, this command displays IPv6 adjacency entries for all cards and PEXs if you do not specify a card or PEX. (Distributed devices in IRF mode.) (IRF 3 capable.)

cpu cpu-number: Specifies a CPU by its number. This option is available only if multiple CPUs are available on the specified slot.

count: Displays the 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 : Tunnel1

Physical interface : Tunnel1

Logical interface : N/A

Service type : Tunnel

Action type : Forwarding

Link media type : P2P

Slot : 1

Cpu : 0

VPN index : 0

Virtual circuit information : N/A

Link head information(IPv6) : 4500000000000000ff2f000002020201020202020000

86dd

Link head information(MPLS) : 4500000000000000ff2f000002020201020202020000

86dd

# Display IPv6 adjacency entries for the specified slot.

<Sysname> display ipv6 adjacent-table slot 1

IPv6 address Routing interface Physical interface Type

N/A Tun1 Tun1 Tunnel

# Display the number of IPv6 adjacency entries for the specified slot.

<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.
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.