4 show mac-address-table, 4 show mac-address-table -88 – PLANET XGS3-24042 User Manual

Page 242

Advertising
background image

13-88

When VLAN interface is configured and is up, the system will generate a static address mapping

entry of which the inherent MAC address corresponds to the VLAN number.

Usage Guide:

In certain special applications or when the switch is unable to dynamically learn the MAC address,

users can use this command to manually establish mapping relation between the MAC address and

port and VLAN.

no mac-address-table command is for deleting all dynamic, static, filter MAC address entries

existing in the switch MAC address list, except application, system entries. MAC address entries can

be classified according to the different source, the types are as follows: DYNAMIC, STATIC,

APPLICATION, SYSTEM. DYNAMIC is the dynamic MAC address entries learned by switch, it can

be aged by switch automatically. STATIC is the static MAC address entries (including blackhole

entries) added by user. APPLICATION is the static MAC address entries added by application

protocol (such as dot1x, security port…). SYSTEM is the additive static MAC address entries

according to VLAN interface. When adding STATIC entries, it can cover the conflictive DYNAMIC,

except APPLICATION, SYSTEM entries.

After configure the static multicast MAC by this command, the multicast MAC traffic will be forwarded

to the specified port of the specified VLAN.

Example:

Port 1/0/1 belongs to VLAN200, and establishes address mapping with MAC address

00-30-4f-f0-00-18.

Switch(config)#mac-address-table static address 00-03-0f-f0-00-18 vlan 200 interface ethernet

1/0/1

Configure a static multicast MAC 01-00-5e-00-00-01, the egress is ehernet 1/0/1.

Switch(config)#mac-address-table static-multicast address 01-00-5e-00-00-01 vlan 1 interface

ethernet1/0/1

13.1.4 show mac-address-table

Command:

show mac-address-table [static | blackhole | multicast | aging-time <aging-time> | count]

[address <mac-addr>] [vlan <vlan-id>] [count] [interface <interface-name>]

Function:

Show the current MAC table.

Parameter:

static static entries; blackhole filter entries; aging-time <aging-time> address aging time; count

entry’s number, multicast multicast entries; <mac-addr> entry’s MAC address; <vlan-id> entry’s

Advertising
This manual is related to the following products: