display habp table

Syntax

display habp table [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

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

Description

Use display habp table to display HABP MAC address table entries.

This command is applicable only on an HABP server to display the MAC address entries collected by the HABP server.

Examples

# On the HABP server, display HABP MAC address table entries.

<Sysname> display habp table
MAC             Holdtime  Receive Port
001f-3c00-0030  53        Ethernet1/0/1

Table 28: Command output

Field

Description

MAC

MAC address.

Holdtime

Lifetime of an entry in seconds. The initial value is three times the interval to send HABP request packets. An entry will age out if it is not updated during the period.

Receive Port

Port that learned the MAC address.