3Com Switch 7700 Configuration Manual page 339

Switch
Hide thumbs Also See for Switch 7700:
Table of Contents

Advertisement

Perform the following configuration in system view.
Table 15 Setting MAC Address Table Entries
Operation
Add or modify an address entry
Delete an address entry
Disabling or Enabling Global MAC Address Learning
With the address learning function, an Ethernet switch can learn new MAC
addresses. When it receives a packet destined for a MAC address it has already
learned, the switch forwards the packet directly, instead of flooding all ports.
Sometimes, for the sake of security, it is necessary to disable the address learning
function. A common threat is from hackers who attack the switch with packets
from different source MAC addresses, thereby exhausting the address table
resources and making it impossible for the switch to update the MAC address
table to reflect network changes. Such an attack can be avoided by disabling the
MAC address learning function.
You can use the following commands to disable or enable the MAC address
learning globally.
Perform the following configuration in system view.
Table 16 Disabling or Enabling the MAC Address Learning
Operation
Disable the MAC address learning
Enable the MAC address learning
By default, the MAC address learning function is enabled.
Disabling or Enabling MAC Address Learning on a Port
After the MAC address learning has been enabled globally, you can disable it on
individual ports.
Use the following commands to disable the MAC address learning on a specified
port.
Perform the following configurations in the Ethernet port view.
Table 17 Disable/Enable the MAC Address Learning
Operation
Disable the MAC address learning
Enable the MAC address learning
By default, the MAC address learning function is enabled.
Managing the MAC Address Table
Command
mac-address { static | dynamic } hw-addr
interface { interface-name | interface-type
interface-num }
undo mac-address [ { static | dynamic }
mac-address interface { interface-name |
interface-type interface-num } vlan-id]
Command
mac-address mac-learning disable
undo mac-address mac-learning disable
Command
mac-address mac-learning disable
undo mac-address mac-learning disable
331

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents