Load control
10.2 Static MAC filtering
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
785
Syntax
Call up the command with the following parameters:
mac-address-table static unicast <aa:aa:aa:aa:aa:aa>
vlan <vlan-id(1-4094)>
interface ([<interface-type> <interface-id>]
[<interface-type> <0/a-b, 0/c,...>]
[port-channel <interface-list>])
The parameters have the following meaning:
Parameter
Description
Range of values / note
aa:aa:aa:aa:aa:aa
MAC address of the interface
-
vlan
Keyword for a VLAN connection
-
vlan-id
Number of the addressed VLAN
1 ... 4094
interface
Keyword for a an interface description -
interface-type
Type or speed of the interface
Enter a valid interface.
interface-id
Module no. and port no. of the interface
port-channel
Keyword for a port channel connection Enter a valid port channel connec-
tion.
interface-list
Number of the addressed port channel
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
Result
The entry in the forwarding database is generated.
Further notes
With the
show mac-address-table static unicast
command, you display the list of
configured entries.
With the
no mac-address-table static unicast
command, you delete an entry.
10.2.1.5
no mac-address-table static unicast
Description
With this command, you delete a static unicast MAC address entry from the forwarding
database.
Requirement
You are in the Global configuration mode.
The command prompt is as follows:
cli(config)#