05-Layer 3—IP Services Command Reference

HomeSupportRoutersCR16000-M SeriesReference GuidesCommand ReferencesH3C CR16000-M Routers Command Reference-R8530Pxx-6W10105-Layer 3—IP Services Command Reference
06-Adjacency table commands
Title Size Download
06-Adjacency table commands 136.12 KB

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 ]

View

Any view

Predefined user roles

network-admin

network-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 a card by its slot number. If you do not specify a card, this command displays IPv4 adjacency entries on all cards.

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 10

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 10 count

 Total entries on slot 10: 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, value 0.0.0.0 represents 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:

·     PPP.

·     HDLC.

·     Tunnel.

·     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(IP)

Link layer header for IPv4.

Link head information(MPLS)

Link layer header for MPLS.

 

display adjacent-table log

Use display adjacent-table log to display brief log information for the IPv4 adjacency table.

Syntax

display adjacent-table log [ interface interface-type interface-number | ip ip-address ] [ slot slot-number ]

View

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface: Displays brief log information for the specified interface.

ip: Displays brief log information for the specified IP address.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays brief log information on the active MPU.

Examples

# Display brief log information for the IPv4 adjacency table.

<Sysname> display adjacent-table log

Operate  : ADD                 Reason   : ADDBYMSG

Mac      : 0000-0000-0000    Interface: GE2/0/1

SVLAN    : 65535               IP        : 1.1.1.2

CVLAN    : 65535               Time      : Oct 28 22:22:02 2022

 

Operate  : ADD                 Reason   : ADDBYMSG

Mac      : 0000-0000-0000    Interface: GE2/0/1

SVLAN    : 65535               IP        : 1.1.1.1

CVLAN    : 65535              Time       : Oct 28 22:22:02 2022

Table 2 Command output

Field

Description

Operate

Adjacency entry operation type.

·     ADD—Add an entry to the table.

·     MOD—Modify an existing entry in the table.

·     DEL—Delete an entry from the table.

Reason

Source of the adjacency log entry.

·     M-LAGMSG—Added in response to an ARP entry update message from the M-LAG module.

·     STATICFIX—Added in response to conversion of a dynamic ARP entry to a static one.

·     PKTLEARN—Added by learning from an ARP packet.

·     STATICMSG—Added through static configuration.

·     ADDBYRULE—Added by the IPoE or portal feature.

·     ADDBYOP—Added by the OpenFlow feature.

·     ADDBYMSG—Added through ARP entry synchronization.

·     ADDWADJ—Added in response to an IPv4 adjacency entry refresh message sent by the WAN link adjacency table module.

·     ADDWADJSYN—Added in response to an inter-card IPv4 adjacency entry synchronization message sent by the WAN link adjacency table module.

·     DRVRELOAD—Added in response to the ARP update operation done in the driver.

·     STATICEVENT—Added through ARP entry update in response to a long static entry event.

·     SYNCWITHDRV—Added in synchronization with the driver.

·     RELOADBYPW—Added in response to the PW reload operation.

·     RELOADBYMMAC—Added through ARP entry refresh triggered by the MultiMac module.

·     RELOADBYRB—Added through ARP entry refresh triggered by the RB module.

·     DELBYCFG—Manually deleted.

·     DELBYIPVRF—Deleted in bulk.

·     DELBYVSRP—Deleted by VSRP.

·     DELBYNODUMMY—Deleted due to lack of a DUMMY entry.

·     DELBYSMOOTH—Deleted upon ARP entry smoothing.

·     DELBYSMOOTHFILTER—Deleted through filtering in an ARP entry smooth operation.

·     DELCONFIGIPIF—Deleted upon an IP address or interface conflict.

·     DELARPSYN—Deleted upon an inter-card ARP entry synchronization.

·     DELWADJMSG—Deleted upon deletion of the corresponding IPv4 adjacency entry from the WAN link adjacency table.

·     DELWADJIFMSG—Deleted by interface upon deletion of the corresponding IPv4 adjacency entry from the WAN link adjacency table.

·     DELWADJBI—Deleted upon reception of the entry deletion message sent from the WAN link adjacency table module to the link layer in the kernel.

·     DELWADJDUMMY—Deleted upon deletion of the corresponding DUMMY entry by the WAN link adjacency table module.

·     DELWADJIFEVENT—Deleted upon deletion of the corresponding IPv4 adjacency entry done by the WAN link adjacency table module in response to an interface event.

·     DELWADJALL—Deleted upon deletion of all IPv4 adjacency entries from the WAN link adjacency table.

·     DELWADJ—Deleted upon deletion of the corresponding IPv4 adjacency entry from the WAN link adjacency table.

·     DELWADJSAGE—Deleted upon deletion of the corresponding IPv4 adjacency entry that had aged out from the WAN link adjacency table.

·     DELWADJIFSYN—Deleted upon deletion of the corresponding IPv4 adjacency entry from the WAN link adjacency table in response to interface entry synchronization.

·     DELWADJSYNMSG—Deleted upon deletion of the corresponding IPv4 adjacency entry from the WAN link adjacency table in response to inter-card entry synchronization.

·     DELWADJSMOOTH—Deleted upon deletion of the corresponding IPv4 adjacency entry because of entry smoothing done by the WAN link adjacency table module.

·     DELWADJPULLFINISH—Deleted upon deletion of the corresponding IPv4 adjacency entry after the WAN link adjacency table module successfully obtained entries in bulk.

·     DELPORTLVLAN—Deleted upon removal of the port from the VLAN.

·     DELVLANMODCHG—Deleted upon VLAN mode change.

·     DELLIMIT—Deleted because the number of ARP entries has reached the limit.

·     DELARPBYOPIF—Deleted upon deletion of the interface.

·     DELARPVLANEVENT—Deleted upon a VLAN event.

·     DELARPSTATUS—Deleted upon ARP entry status change.

·     DELARPBYIPIF—Deleted by specifying the IPv4 address or interface.

·     DELARPBYIFMAP—Deleted upon an interface mapping operation.

·     DELARPBYIFDOWN—Deleted because the interface went down.

·     DELARPBYIFAGG—Deleted because the interface was added to a link aggregation group.

·     DELARPBYNODE—Deleted upon deletion of ARP entries by slot.

·     DELARPBYALL—Deleted upon deletion of all ARP entries.

·     DELARPBYALLEM—Deleted upon deletion of all ARP entries from non-management interfaces.

·     DELARPBYPW—Deleted upon deletion of ARP entries from a PW.

·     DELARPBYPWVSI—Deleted upon deletion of ARP entries done by PWVSI.

·     DELARPBYMACNOTIFY—Deleted upon reception of ARP entries from MAC.

·     DELARPBYRB—Deleted upon an RB action.

·     DELARPBYTCPKEEP—Deleted because of the topology change notification (TCN) flag.

·     DELARPBYSTATICFIX—Deleted upon conversion of a dynamic entry to a static entry.

·     DELBYPULLFINISH—Deleted upon a successful batch data pull.

·     DELSTATICCONFLICT—Deleted upon a static configuration conflict.

IP

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, value 0.0.0.0 represents the default adjacency entry. Packets are forwarded through the default virtual circuit.

Mac

MAC address of the next hop.

Interface

Output interface of the next hop.

SVLAN

Service VLAN.

CVLAN

Customer VLAN.

Time

Time when the log was generated.

 


IPv6 adjacency table commands

display ipv6 adjacent-table

Use display ipv6 adjacent-table to display IPv6 adjacency entries.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-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 a card by its slot number. If you do not specify a card, this command displays IPv6 adjacency entries for all cards.

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 10

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 10 count

 Total entries on slot 10: 1

Table 3 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. The value 0::0 is encapsulated in the packet, and this field displays N/A.

·     For an NBMA link, the value 0.0.0.0 represents 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 that sends the packets. If the entry has no logical interface, this field displays N/A.

Service type/Type

Link layer protocol type:

·     PPP.

·     HDLC.

·     Tunnel.

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

Link head information(MPLS)

Link layer header for MPLS.

 

display ipv6 adjacent-table log

Use display ipv6 adjacent-table log to display brief log information for the IPv6 adjacency table.

Syntax

display ipv6 adjacent-table log [ interface interface-type interface-number | ip ip-address ] [ slot slot-number ]

View

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface: Displays brief log information for the specified interface.

ip: Displays brief log information for the specified IP address.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays brief log information on the active MPU.

Examples

# Display brief log information for the IPv6 adjacency table.

<Sysname> system-view

[Sysname] probe

[System-probe] display ipv6 adjacent-table log

Operate  : ADD                 Reason   : ADDBYMSG       

Mac      : 0000-0000-0000    Interface: GE2/0/1

SVLAN    : 65535               IP        : 1::2

CVLAN    : 65535               Time     : Oct 28 22:22:02 2022

 

Operate  : ADD                 Reason   : ADDBYMSG       

Mac      : 0000-0000-0000    Interface: GE2/0/1

SVLAN    : 65535               IP        : 1::1

CVLAN    : 65535               Time     : Oct 28 22:22:02 2022

Table 4 Command output

Field

Description

Operate

Adjacency entry operation type.

·     ADD—Add an entry to the table.

·     MOD—Modify an existing entry in the table.

·     DEL—Delete an entry from the table.

Reason

Source of the adjacency log entry.

·     DRNIMSG—Added in response to an ND entry update message from the M-LAG module.

·     PKTLEARN—Added by learning from an IPv6 packet.

·     STATICMSG—Added through static configuration.

·     ADDBYRULE—Added by the IPoE or portal feature.

·     ADDBYOP—Added by the OpenFlow feature.

·     ADDBYMSG—Added through ND entry synchronization.

·     ADDWADJ—Added in response to an IPv6 adjacency entry refresh message sent by the WAN link adjacency table module.

·     ADDWADJSYN—Added in response to an inter-card IPv6 adjacency entry synchronization message sent by the WAN link adjacency table module.

·     DRVRELOAD—Added in response to the ND update operation done in the driver.

·     ADDBYVSRP—Added by VSRP.

·     STATICEVENT—Added through ND entry update in response to a long static entry event.

·     SYNCWITHDRV—Added in synchronization with the driver.

·     RELOADBYPW—Added in response to the PW reload operation.

·     DELBYLINKLOCAL—Deleted upon deletion of an unassociated link-local address from the driver.

·     DELBYVSRP—Deleted by VSRP.

·     DELBYNODUMMY—Deleted due to lack of a DUMMY entry.

·     DELBYSMOOTH—Deleted upon ND entry smoothing.

·     DELBYRULE—Deleted by the IPoE or portal feature.

·     DELBYSTATIC—Deleted through static configuration.

·     DELBYBEFORESMOOTH—Deleted upon deletion of invalid ND entries before smoothing.

·     DELCONFIGIPIF—Deleted upon an IPv6 address or interface conflict.

·     DELNDSYN—Deleted upon an inter-card ND entry synchronization.

·     DELWADJMSG—Deleted upon deletion of the corresponding IPv6 adjacency entry from the WAN link adjacency table.

·     DELWADJIFMSG—Deleted by interface upon deletion of the corresponding IPv6 adjacency entry from the WAN link adjacency table.

·     DELWADJBI—Deleted upon reception of the entry deletion message sent from the WAN link adjacency table module to the link layer in the kernel.

·     DELWADJDUMMY—Deleted upon deletion of the corresponding DUMMY entry by the WAN link adjacency table module.

·     DELWADJIFEVENT—Deleted upon deletion of the corresponding IPv6 adjacency entry done by the WAN link adjacency table module in response to an interface event.

·     DELWADJALL—Deleted upon deletion of all IPv6 adjacency entries from the WAN link adjacency table.

·     DELWADJ—Deleted upon deletion of the corresponding IPv6 adjacency entry from the WAN link adjacency table.

·     DELWADJSAGE—Deleted upon deletion of the corresponding IPv6 adjacency entry that had aged out from the WAN link adjacency table.

·     DELWADJIFSYN—Deleted upon deletion of the corresponding IPv6 adjacency entry from the WAN link adjacency table in response to interface entry synchronization.

·     DELWADJSYNMSG—Deleted upon deletion of the corresponding IPv6 adjacency entry from the WAN link adjacency table in response to inter-card entry synchronization.

·     DELWADJSMOOTH—Deleted upon deletion of the corresponding IPv6 adjacency entry because of entry smoothing done by the WAN link adjacency table module.

·     DELWADJPULLFINISH—Deleted upon deletion of the corresponding IPv6 adjacency entry after the WAN link adjacency table module successfully obtained entries in bulk.

·     DELPORTLVLAN—Deleted upon removal of the port from the VLAN.

·     DELVLANMODCHG—Deleted upon VLAN mode change.

·     DELLIMIT—Deleted because the number of ND entries has reached the limit.

·     DELNDBYIPIF—Deleted by specifying the IPv6 address or interface.

·     DELNDBYIFAGG—Deleted because the interface was added to a link aggregation group.

·     DELNDBYNODE—Deleted upon deletion of ND entries by slot.

·     DELNDBYALL—Deleted upon deletion of all ND entries.

·     DELNDBYALLEM—Deleted upon deletion of all ND entries from non-management interfaces.

·     DELNDBYPW—Deleted upon deletion of ND entries from a PW.

·     DELNDBYTCPKEEP—Deleted because of the TCN flag.

·     DELBYPULLFINISH—Deleted upon a successful batch data pull.

·     DELSTATICCONFLICT—Deleted upon a static configuration conflict.

·     DELBYSPANSEG—Deleted upon deletion of cross-segment ND entries.

·     DELBYSPANSEGBYIPIF—Deleted upon deletion of cross-segment ND entries by specifying the IPv6 address or interface.

·     DELINCOMBYALL—Deleted upon deletion of all ND entries in Incomplete state.

·     DELINCOMBYIF—Deleted upon deletion of ND entries in Incomplete state by interface.

·     DELINCOMBYNODE—Deleted upon deletion of ND entries in Incomplete state by slot.

·     DELNDBYNETDOWN—Deleted because the network layer went down.

·     DELNDBYLINKDOWN—Deleted because the data link layer went down.

IP

IPv6 address of the next hop.

·     For a P2P link, the IPv6 address of the next hop is not needed. The value for this field is 0::0 and the field displays N/A.

·     For an NBMA link, value 0::0 represents the default adjacency entry. Packets are forwarded through the default virtual circuit.

Mac

MAC address of the next hop.

Interface

Output interface of the next hop.

SVLAN

Service VLAN.

CVLAN

Customer VLAN.

Time

Time when the log was generated.

 

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