1-4
When using the
mac-address
command to add a MAC address entry, the interface specified by the
interface
keyword must belong to the VLAN specified by the
vlan
keyword, and the VLAN must already
exist. Otherwise, you will fail to add this MAC address entry.
Follow these steps to add, modify, or remove entries in the MAC address table on an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet
interface view
interface interface-type
interface-number
Enter Layer 2
aggregate
interface view
interface bridge-aggregation
interface-number
Enter
Ethernet
interface view,
Enter Layer 2
aggregate
interface view,
or ONU port
view
Enter ONU
port view
interface onu
interface-number
Required
Use any of the three
commands.
The configuration you make in
Ethernet interface view or
Layer 2 aggregate interface
view or ONU port view takes
effect on the current interface
only
Add/modify MAC address
entries under the specified
interface view
mac
-
address
{
dynamic
|
static
}
mac
-
address
vlan
vlan
-
id
Required
z
When using the mac-address command to add a MAC address entry, the current interface must
belong to the VLAN specified by the vlan keyword, and the VLAN must already exist. Otherwise,
you will fail to add this MAC address entry.
z
When using the mac-address command to add a static MAC address for a VLAN, if this VLAN
configured the Isolate-user-vlan function, you must add this static MAC address for the
Isolate-user-vlan and the Secondary VLAN.
Disabling MAC Address Learning
You may need to disable MAC address learning sometimes to prevent the MAC address table from
being saturated, for example, when your device is being attacked by a large amount of packets with
different source MAC addresses.
Disabling global MAC address learning
Disabling global MAC address learning disables the learning function on all ports.
Follow these steps to disable MAC address learning:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...