Configuration Guide
MAC Address Configuration
1 160 6 YES
Show the maximum number of dynamic addresses for all VLANs:
Ruijie#
show mac-address-table max-dynamic-mac-count
vlan limit mac count learning
---- ------- --------- --------
1 160 6 YES
3 500 124 YES
Setting the Static MAC Addresses
Adding and Removing the Static MAC Addresses
You can add a static address to the MAC address table by specifying the
destination MAC address, the VLAN (the static address will be added to the
address table of this VLAN), and the interface (the packets to the destination
MAC address are forwarded to this interface).
To add a static address, execute the following commands:
Command
Function
Ruijie(config)#
mac-address-table
static
mac-address
vlan
vlan-id
interface
interface-id
mac-addr
: Specify the destination MAC
address to which the entry corresponds.
vlan-id
: Specify the VLAN to which this
address belongs.
interface-id:
specify the interface (physical
port or aggregate port) to which the packet
is forwarded.
Upon receiving the packets to the
destination MAC address in the VLAN, the
switch will forward them to the interface.
Ruijie(config)#
no
mac-address-table
static
mac-address
vlan
vlan-id
interface
interface-id
Remove the static MAC address entries.
The following example shows how to configure the static address
00d0.f800.073c. When a packet to this address is received in VLAN 4, it is
forwarded to Gigabitethernet 0/3.
Ruijie#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#
mac-address-table
static
00d0.f800.073c
vlan
4
interface
gigabitethernet 0/3
The following example shows how to remove the static address
00d0.f800.073c.
Ruijie#
configure terminal
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...