XG2000 series User's Guide
126/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.7.7 bridge mac-address-table
Function
By registering static MAC addresses to the MAC address table, frames with specific destination MAC addresses can be
forwarded to a specified port.
When a unicast static MAC address is registered, dynamic MAC addresses will not be learned, even when frames sent from
the same MAC address are received from a different port. Also, by registering multicast static MAC addresses, frames to be
sent to specific multicast nodes can be assigned so that they will be forwarded only to the port specified. In this case, set the
multicast forwarding mode to "forward-unregistered-mac" or "filter-unregistered-mac" using the "multicast-forwarding"
command.
Use the no form to delete registered static MAC addresses.
Prompt
xg(config)#
Command syntax
bridge mac-address-table static MAC [ vlan <1-4094> ] [ port <1-20> [ <1-20> ] ]
[ agg-port <1-10> [ <1-10> ] ]
no bridge mac-address-table static MAC [ vlan <1-4094> ]
Parameter
z static MAC
Specifies static MAC addresses. When a frame with this destination address is received, it
will be forwarded to the port specified.
The MAC address format is "HHHH.HHHH.HHHH," a 12-digit hexadecimal number with a period (.)
inserted between every four digits.
z A unicast MAC address can register the information for only one port in the MAC address table. (As
for IVL, one port per VLAN) Therefore, if the same unicast MAC address is already assigned to a
different port, the entry will be replaced if the same MAC address and different port are specified in a
subsequent “mac-address-table static” command.
z A multicast MAC address can registered for multiple ports in the MAC address table. If the same
multicast MAC address is already set to a port, subsequent assignments of the MAC address to
additional ports will be appended to the address table.
z A broadcast address (FFFF.FFFF.FFFF) can be registered to multiple ports. However, the entry will be
replaced with subsequent commands registering non-broadcast addresses to the ports previously
assigned.
z The following reserved multicast addresses, prescribed in IEEE802.1D, cannot be registered.
− In the range of 0180.C200.0000 - 0180.C200.0010
− In the range of 0180.C200.0020 - 0180.C200.002F
z vlan <1-4094>
Specifies a VLAN to register with the MAC address. Specify a VLAN in the range of 1 to 4094.
This parameter is valid only when the learning mode of the MAC address table is IVL (Independent
Vlan Learning). For SVL (Shared Vlan Learning), this parameter is not necessary.
z port <1-20> [ <1-20> ]
Specifies the port number for the forwarded frame. This parameter is specified in the range
of 1 to the maximum number of ports (=20).
Additionally, when static multicast MAC addresses are registered (including broadcast
addresses), multiple ports can be specified by separating the port numbers with a " " (space).
z agg-port <1-10> [ <1-10> ]
Specifies the aggregation group number for the forwarded frame. This parameter is specified
in the range of 1 to 10.
Additionally, when static multicast MAC addresses are registered (including broadcast
addresses), multiple aggregation groups can be specified by separating the aggregation group
numbers with a " " (space).
Command type
Configuration command
Default
Only broadcast address (FFFF.FFFF.FFFF) is registered.
Message
% Unable to translate mac address %1$
Explanation
The specified format of the MAC address is incorrect.
[[Inserted string]]%1$: specified MAC address
Solution
After reviewing the specified format of the MAC address, execute the command again.
% Can't set vlan in case of shared-vlan-learning.
Explanation
When the bridge learn-mode is SVL, VLANs cannot be specified.
Solution
Omit the vlan parameter, and execute the command again.