5
The MAC address watch characteristic install - I -

11 mac address table characteristic configuration

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: 11 mac address table characteristic configuration

The MAC address watch characteristic install

- I -

Page 2: 11 mac address table characteristic configuration

Catalogue

Chapter 1 Install a MAC address.......................................................................................................................................... 1 1.1 The MAC address installs mission row form ......................................................................................................... 1 1.2 The MAC address installs mission ........................................................................................................................ 1

1.2.1 Install static state MAC an address........................................................................................................... 1 1.2.2 Install aging time of MAC address............................................................................................................. 1 1.2.3 Show a MAC address form ....................................................................................................................... 2 1.2.4 The clearance dynamic state MAC address.............................................................................................. 2

- II -

Page 3: 11 mac address table characteristic configuration

MAC address list characteristic configuration

Chapter 1 Install a MAC address

1.1 The MAC address installs mission row form

Install static state MAC an address.

Install aging time of MAC address

Show a MAC address form

The clearance dynamic state MAC address

1.2 The MAC address installs mission

1.2.1 Install static state MAC an address

The static state MAC address form item point of is those can't be exchanged machine enough aging drop of the MAC address form item, it can be drop by the deletion of artificial.According to exchange machine usage effective demand within process, can add and delete static state MAC an address. Get into the bottom of the privilege mode presses a row step to add and delete a static state MAC an address.

Command purpose

configure In global configuration

[no] mac address-table static mac-addr vlan vlan-id interface interface-id

Add/delete a static state MAC address form an item.

The mac-addr is a MAC address;

The vlan-id is a VLAN number, valid scope 1~4094;

The interface-id is a port name.

exit Back to EXEC.

write Preserve configuration 。

1.2.2 Install aging time of MAC address

When a MAC address of dynamic state wasn't use in appointedly of aging time, exchange machine will delete that MAC address from the MAC address the form.Aging time which exchanges machine MAC an address can according to need to carry on an allocation, recognize tacitly of aging time is 300.

Get into the bottom of the privilege mode presses a row step to install aging time of MAC address:

- 1 -

Page 4: 11 mac address table characteristic configuration

MAC address list characteristic configuration

Command purpose

configure In global configuration。

mac address-table aging-time [0 | 10-1000000]

Install aging time of MAC address.

0 mean that the MAC address isn't aging;

10 - s 1000000 the MAC address that regards second as the unit aging time.

exit Back to EXEC.

write Reserve configuration.

1.2.3 Show a MAC address form

In the process of using to exchange machine, because of adjusting to try or the demand for manage, we want to know the commutation machine MAC address the contents of the form.Pass a show order can exchange the machine MAC address form of the contents manifestation come out.

Command purpose

show mac address-table {dynamic [interface interface-id | vlan vlan-id] | static}

Show the MAC address form contents.

?The dynamic is the MAC address of dynamic state study;

The vlan-id is a VLAN number, valid scope 1~4094;

The interface-id is a port name;

The static is the static state MAC address form;

1.2.4 The clearance dynamic state MAC address

Under some circumstances need the clearance drops to exchange the machine has been already study of MAC address.

The order which gets into privilege mode to descend the underneath of the usage deletes a dynamic state MAC an address:

Command purpose

clear mac address-table dynamic [address mac-addr | interface interface-id | vlan vlan-id]

Delete a dynamic state MAC address form an item.

The dynamic is the MAC address of dynamic state study;

- 2 -

Page 5: 11 mac address table characteristic configuration

MAC address list characteristic configuration

The mac-addr is a MAC address;

The interface-id is a port name;

The vlan-id is a VLAN number, valid scope 1~4094.

- 3 -