Инструкции По Установке для 3com S7906E
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 view
interface interface-type
interface-number
interface-number
Enter Layer 2
aggregate
interface view
aggregate
interface view
interface bridge-aggregation
interface-number
interface-number
Enter
Ethernet
interface view,
Enter Layer 2
aggregate
interface view,
or ONU port
view
Ethernet
interface view,
Enter Layer 2
aggregate
interface view,
or ONU port
view
Enter ONU
port view
port view
interface onu
interface-number
interface-number
Required
Use any of the three
commands.
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
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
entries under the specified
interface view
mac-address { dynamic |
static } mac-address vlan
vlan-id
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
—