mac-map

To configure VLAN- MAC address mapping that is used only for MAC-based VLAN membership classification, use the command mac-map in Interface Configuration Mode. The no form of the command deletes the specified VLAN- MAC address mapping entry.

mac-map

mac-map { <aa:aa:aa:aa:aa:aa> } { vlan } { <vlan-id/vfi_id> } { [mcast-bcast } { {discard } { | allow}] }

no mac-map

no mac-map { <aa:aa:aa:aa:aa:aa> }

Parameters

Parameter Type Description
<aa:aa:aa:aa:aa:aa>   Enter an unicast MAC address for to the specified VLAN and used for MAC based VLAN membership classification.
vlan   Enter to map the MAC Address to the specified VLAN / VFI ID.
<vlan-id/vfi_id>   Enter to map the MAC Address to the specified VLAN / VFI ID.
  • <vlan –id> - VLAN ID is a unique value that represents the specific VLAN. This value ranges from 1 to 4094.
  • <vfi-id>- VFI ID is a VLAN created in the system which contains Pseudo wires and Attachment Circuits as member ports . This creates a logical LAN for the VPLS service. This value ranges from 4096 to 65535.
Note:

The VLAN ID 4095 is reserved and may be used to indicate a wildcard match for the VID in management operations or Filtering Database entries.

Note:

VFI IDs 4096 and 4097 are reserved identifiers used in MPLS PW.

Note:

The theoretical maximum for the maximum number of VFI is 65535 but the actual number of VFI supported is a sizing constant. Based on this, the maximum number of VFI ID accepted in the management interface is restricted. For example if 100 VFIs are supported, the maximum number of VFI supported will be restricted to maximum number of VLANs + 100. An error message is displayed for any value beyond this range.

mcast-bcast   Enter to configure the way of handling of broadcast and multicast traffic for packets received from source.
discard   Enter to process all multicast / broadcast untagged frames that contain the specified MAC address as the source address.
allow   Enter to drops all multicast / broadcast untagged frames that contain the specified MAC address as the source address. This is the default option.

Mode

Interface Configuration Mode

Default

mcast-bcast - allow

Prerequisites

Examples

iS5Comm(config-if)# mac-map 00:11:22:33:44:55 vlan 1 mcast-bcast discard