05-Layer 3 - IP Services Command Reference

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Switch Series Command References-Release7178-6W10005-Layer 3 - IP Services Command Reference
06-Adjacency table commands
Title Size Download
06-Adjacency table commands 52.53 KB

IPv4 adjacency table commands

Use this feature to check the adjacency entries on tunnel interfaces. For information about tunnel interfaces, see "Configuring tunneling."

display adjacent-table

Use display adjacent-table to display IPv4 adjacency entries.

Syntax

In standalone mode:

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 for the specified physical interface.

routing-interface interface-type interface-number: Displays IPv4 adjacency entries for the specified routing interface.

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. (In standalone mode.)

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

   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

   Chassis                       : 1

   Slot                          : 7

   Cpu                           : 0

   VPN Index                     : 0

   Virtual circuit information   : N/A

   Link head information(IP)     : 4500000000000000ff2f0000393939073939390500000

800

   Link head information(MPLS)   : 4500000000000000ff2f0000393939073939390500000

800

# Display the IPv4 adjacency entries on the card in slot 1.

<Sysname> display adjacent-table slot 1

IP address       Routing interface     Physical interface    Type     Slot Cpu

IP address        Routing interface         Physical interface        Type

0.0.0.0           Tun1                      Tun1                      Tunnel

# Display the number of IPv4 adjacency entries on the card in 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 Tunnel.

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 that holds the card.

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

Use this feature to check the adjacency entries on tunnel interfaces. For information about tunnel interfaces, see "Configuring tunneling."

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 for the specified physical interface.

routing-interface interface-type interface-number: Displays IPv6 adjacency entries for the specified routing interface.

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. (In standalone mode.)

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. (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             : Tunnel2

   Physical interface            : Tunnel2

   Logical interface             : N/A

   Service type                  : Tunnel

   Action type                   : Forwarding

   Link media type               : P2P

   Chassis                       : 1

   Slot                          : 7

   Cpu                           : 0

   VPN index                     : 0

   Virtual circuit information   : N/A

   Link head information(IPv6)   : 60000000000000ff00010000000000000000000000000

00100010000000000000000000000000002000086dd

# Display the IPv6 adjacency entries on the card in slot 1.

<Sysname> display ipv6 adjacent-table slot 1

IPv6 address          Routing interface        Physical interface       Type

N/A                   Tun2                     Tun2                     Tunnel

# Display the total number of IPv6 adjacency entries on the card in 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 Tunnel.

Action type

Packet processing type, Forwarding or Drop.

Link media type

Link media type:

·     P2P—Point-to-point link.

·     NBMANon-broadcast multi-access link.

Slot

ID of the slot that holds the card.

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.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网