2. 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 -
3. 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 Add/delete a static state MAC address form
vlan vlan-id interface interface-id 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-
4. MAC address list characteristic configuration
Command purpose
configure In global configuration。
mac address-table aging-time [0 | Install aging time of MAC address.
10-1000000]
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 Show the MAC address form contents.
[interface interface-id | vlan vlan-id] | static}
?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 Delete a dynamic state MAC address form an
mac-addr | interface interface-id | vlan item.
vlan-id]
The dynamic is the MAC address of dynamic
state study;
-2-
5. 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-