3Com 4500 50-PORT, 4500 PWR 50-PORT manual Undo mac-address static dynamic blackhole mac-address

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 342
Image 342

336CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS

undo mac-address [ { static dynamic blackhole } mac-address

interface { interface-name interface-type interface-num ] vlan

vlan-id ]

View

System view

Parameter

static: Static table entry, lost after resetting switch.

dynamic: Dynamic table entry, which will be aged.

blackhole: Blackhole table entry, the packet with this destination MAC address will be discarded.

mac-addr:Specify the MAC address.

interface-type:Specify the interface type.

interface-num:Specify the interface number.

interface-name:Specify the interface name.

vlan-id:Specify the VLAN ID.

Description

Use the mac-addresscommand to add/modify the MAC address table entry. Use the undo mac-addresscommand to delete MAC address table entry

If the input address has been existing in the address table, the original entry will be modified. That is, replace the interface pointed by this address with the new interface and the entry attribute with the new attribute (dynamic entry and static entry).

All the (MAC unicast) addresses on a certain interface can be deleted. User can choose to delete any of the following addresses: address learned by system automatically, dynamic address configured by user, static address configured by user.

For the related commands, see display mac-address.

Example

Configure the port number corresponding to the MAC address 00e0-fc01-0101 as

Ethernet1/0/1 in the address table, and sets this entry as static entry.

<SW4500>sys

System View: return to User View with Ctrl+Z.

[SW4500]mac-address static 00e0-fc01-0101 interface Ethernet 1/0/1

vlan 2

mac-address Syntax

max-mac-countmac-address max-mac-count count

Page 342
Image 342
3Com 4500 50-PORT Undo mac-address static dynamic blackhole mac-address, Max-mac-countmac-address max-mac-count count