beautypg.com

Displaying and maintaining mac address tables – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 30

background image

21

Configuring a static multicast MAC address entry in interface view

Follow these steps to configure static multicast MAC address entries in interface view

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface/Layer 2
aggregate interface view or port

group view

Enter Ethernet interface/Layer 2
aggregate interface view
interface interface-type
interface-number
Enter port group view
port-group manual
port-group-name

Required
In Ethernet interface view or Layer
2 aggregate interface view, the

configuration is effective on only
the current interface. In port group

view, the configuration is effective

on all ports in the port group.

Configure a static multicast MAC
address entry

mac-address multicast
mac-address vlan vlan-id

Required
No static multicast MAC address
entries exist by default.

NOTE:

When you configure a static multicast MAC address entry in system view, the configuration is effective
for the specified interface. When you configure a static multicast MAC address entry in interface view or

port group view, the configuration is effective only for the current interface or interfaces in the current
port group.

Any legal multicast MAC address except 0100-5Exx-xxxx (where x represents a hexadecimal number
from 0 to F) can be manually added to the multicast MAC address table. Multicast MAC addresses are

the MAC addresses whose the least significant bit of the most significant octet is 1.

Displaying and maintaining MAC address tables

To do…

Use the command…

Remarks

Display MAC address table
information

display mac-address [ mac-address [ vlan vlan-id ] |
[ [ dynamic | static ] [ interface interface-type

interface-number ] | blackhole ] [ vlan vlan-id ]

[ count ] ] [ | { begin | exclude | include }
regular-expression ]

Available in any view

Display the aging timer for
dynamic MAC address entries

display mac-address aging-time [ | { begin |
exclude | include } regular-expression ]

Available in any view

Display the multi-port unicast
MAC address table entries

display mac-address multiport [ vlan vlan-id ]
[ count ] [ | { begin | exclude | include }
regular-expression ]

Available in any view

Display MAC address
statistics

display mac-address statistics [ | { begin | exclude |
include } regular-expression ]

Available in any view