2 commands for mac address table configuration, 1 mac-address-table aging-time, 2 mac-address-table – Amer Networks SS2R48G4i V2 User Manual

Page 91: 3 mac-address-table blackhole

Advertising
background image

SS2R24G4i/SS2R48G4i

80

frame. When VLANs are configured, the switch will forward unicast frame within the same VLAN. If

the destination MAC address is found in the MAC table but belonging to different VLANs, the

switch can only broadcast the unicast frame in the VLAN it belongs to.

8.2 Commands for MAC address table configuration

8.2.1 mac-address-table aging-time

Command mac-address-table aging-time {<age> | 0}

no mac-address-table aging-time

Function

Set the aging time for address mapping entries in the MAC table dynamically learnt; the “no

mac-address-table aging-time

” command restores the aging time to the default 300 seconds.

Parameter

< age> is the aging time in seconds, the valid range is 10 to 100000; 0 for no aging.

Command mode

Global Mode

Default

The system default aging time is 300 seconds.

8.2.2 mac-address-table

Command mac-address-table static address <mac-addr> vlan <vlan-id > interface

[Ethernet|port-channel]<interface-name>

no mac-address-table [static |dynamic] [address <mac-addr>] [vlan <vlan-id>] [interface

<interface-name>]

Function

Add or modify static address entries, The “no mac-address-table [static |dynamic]

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

command deletes the

static,dynamic and mac address table entries.

Parameter static

is the static entries; <mac-addr> MAC address to be added or

deleted;<interface-name> name of the port transmitting the MAC data packet;<vlan-id> is the vlan
number.

Command Mode

Global mode

Default

When VLAN or Layer 3 interface is configured and is up, the system will generate an static

address mapping entry of which the inherent MAC address corresponds to the VLAN or Layer 3
interface.

8.2.3 mac-address-table blackhole

Command mac-address-table blackhole address <mac-addr> vlan <vlan-id >

no mac-address-table blackhole [address <mac-addr>] [vlan <vlan-id>]

Function

Add or modify filtering address entries,the “no mac-address-table blackhole [address

<mac-addr>] [vlan <vlan-id>]” deletes

filtering address entries.

Parameter <mac-addr>

MAC address to be added or deleted; <vlan-id> receives vlan number of the

MAC data packet

Advertising