EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 178

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
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#no mac-address-table static 00d0.f800.073c vlan 4 interface
gigabitethernet 0/3
Viewing Configurations
Command
Function
Ruijie# show mac-address-table static
Show the information of all the static
MAC addresses.
The following example shows how to view the information of all the static MAC
addresses:
Vlan MAC Address Type Interface
---------- -------------------- -------- -------------------
4 00d0.f800.073c STATIC GigabitEthernet 0/3
Setting the Filtering MAC
Addresses
Adding and Removing the Filtering Addresses
To add a filtering address, specify the MAC address to be filtered and the VLAN
that the MAC address belongs to. The device will directly discard the packets
from the MAC address in the VLAN.
To add a filtering address, execute the following command:
Command
Function
Ruijie(config)# mac-address-table
filtering mac-addr vlan vlan-id
mac-addr: Specify the MAC address to
be filtered by the device.
vlan-id: Specify the VLAN to which this
address belongs.
Ruijie(config)# no mac-address-table
filtering mac-addr vlan vlan-id
Remove the filtering MAC address
entries.
The following example shows how to configure the filtering address
00d0.f800.073c. When a packet to or from this address is received in VLAN 4, it
will be discarded.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# mac-address-table filtering 00d0.f800.073c vlan 4
The following example shows how to remove the filtering address
00d0.f800.073c.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Table of Contents

Related product manuals