Command Reference MAC Address Commands
Usage Guide
The MAC address notification function is specific for only dynamic MAC address and secure MAC
address. No MAC address trap message is generated for static MAC addresses. In the global
configuration mode, you can use the
snmp-server enable traps mac-notification
command to
enable or disable the switch to send the MAC address trap message.
Configuration
Examples
The following example enables the MAC address notification function.
Ruijie(config)# mac-address-table notification
Ruijie(config)# mac-address-table notification interval 40
Ruijie(config)# mac-address-table notification history-size 100
Related
Commands
Command
Description
snmp-server enable traps
Sets the method of handling the MAC address trap message..
show mac-address-table
notification
Displays the MAC address notification configuration and the
MAC address trap notification table.
snmp trap mac-notification
Enables the MAC address trap notification function on the
specified interface.
Platform
Description
N/A
2.7 mac-address-table static
Use this command to configure a static MAC address. Use the
no
or
default
form of the command to
restore the default setting.
mac-address-table static
mac-addr
vlan
vlan-id
interface
interface-id
no mac-address-table static
mac-addr
vlan
vlan-id
interface
interface-id
default mac-address-table static
mac-addr
vlan
vlan-id
interface
interface-id
Parameter
Description
Parameter
Description
mac-addr
Destination MAC address of the specified entry
vlan-id
VLAN ID of the specified entry, in the range from 1 to 4094.
interface-id
Interface (physical interface or aggregate port) that packets are forwarded to
Defaults
No static MAC address is configured by default.
Command
Mode
Global configuration mode.
Usage Guide
A static MAC address has the same function as the dynamic MAC address that the switch learns.
Compared with the dynamic MAC address, the static MAC address will not be aged out. It can only be
configured and removed by manual. Even if the switch is reset, the static MAC address will not be
lost. A static MAC address shall not be configured as a multicast address. Use
show
mac-address-table static
to display the static MAC address.
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...