EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 177

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals