![HP FlexNetwork 5130 HI series Скачать руководство пользователя страница 64](http://html.mh-extra.com/html/hp/flexnetwork-5130-hi-series/flexnetwork-5130-hi-series_command-reference-manual_165888064.webp)
56
MAC address table commands
This document covers the configuration of unicast MAC address entries, including static, dynamic,
blackhole, and multiport unicast MAC address entries. For more information about configuring static
multicast MAC address entries, see
IP Multicast Configuration Guide
.
display mac-address
Use
display mac
-
address
to display MAC address entries.
Syntax
display mac-address
[
mac
-
address
[
vlan
vlan-id
] | [ [
dynamic
|
static
] [
interface interface-type
interface-number
] |
blackhole
|
multiport
] [
vlan
vlan-id
] [
count
] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
mac
-
address
: Specifies a MAC address in the format of H-H-H. When entering a MAC address, you
can omit the leading zeros in each H section. For example, enter f-e2-1 for 000f-00e2-0001.
vlan vlan
-
id
: Specifies a VLAN by its ID in the range of 1 to 4094.
dynamic
: Displays dynamic MAC address entries.
static
: Displays static MAC address entries.
interface interface
-
type interface
-
number
: Specifies an interface by its type and number.
blackhole
: Displays blackhole MAC address entries.
multiport
: Displays multiport unicast MAC address entries.
count
: Displays only the number of MAC address entries that match all entry attributes you specify in
the command. Detailed information about MAC address entries is not displayed. For example, you
can use the
display mac-address
vlan 20 dynamic count
command to display the number of
dynamic entries for VLAN 20. If you do not specify an entry attribute, the command displays the
number of entries in the MAC address table. If you do not specify this keyword, the command
displays detailed information about the specified MAC address entries.
Usage guidelines
A MAC address entry includes a destination MAC address, an outgoing interface, and a VLAN ID.
If you do not specify any parameters, the command displays all MAC address entries.
This command displays dynamic MAC address entries for an aggregate interface only when the
aggregate interface has at least one Selected member port.
Examples
# Display MAC address entries for VLAN 100.
<Sysname> display mac-address vlan 100
MAC Address VLAN ID State Port/NickName Aging
0001-0101-0101 100 Multiport GE1/0/1 N
GE1/0/2
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...