Alcatel-Lucent 6850-48 Guida Di Rete
Managing Source Learning
Sample MAC Address Table Configuration
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 2-3
Sample MAC Address Table Configuration
The following steps provide a quick tutorial that will create a static MAC address and change the MAC
address aging timer for VLAN 200:
address aging timer for VLAN 200:
Note. Optional. Creating a static MAC address involves specifying an address that is not already used in
another static entry or already dynamically learned by the switch. To determine if the address is already
known to the MAC address table, enter show mac-address-table. If the address does not appear in the
show mac-address-table output, then it is available to use for configuring a static MAC address entry.
For example,
another static entry or already dynamically learned by the switch. To determine if the address is already
known to the MAC address table, enter show mac-address-table. If the address does not appear in the
show mac-address-table output, then it is available to use for configuring a static MAC address entry.
For example,
-> show mac-address-table
Legend: Mac Address: * = address not valid
Vlan Mac Address Type Protocol Operation Interface
------+-------------------+--------------+-----------+------------+-----------
1 00:00:00:00:00:01 learned
0800
bridging 8/ 1
1 00:d0:95:6a:73:9a learned aaaa0003
bridging 10/23
Total number of Valid MAC addresses above = 2
The show mac-address-table command is also useful for monitoring general source learning activity and
verifying dynamic VLAN assignments of addresses received on mobile ports.
verifying dynamic VLAN assignments of addresses received on mobile ports.
1 Create VLAN 200, if it does not already exist, using the following command:
-> vlan 200
2 Assign switch ports 2 through 5 on slot 3 to VLAN 200–if they are not already associated with VLAN
200–using the following command:
200–using the following command:
-> vlan 200 port default 3/2-5
3 Create a static MAC address entry using the following command to assign address 002D95:5BF30E to
port 3/4 associated with VLAN 200 and to specify a permanent management status for the static address:
port 3/4 associated with VLAN 200 and to specify a permanent management status for the static address:
-> mac-address-table permanent 00:2d:95:5B:F3:0E 3/4 200
4 Change the MAC address aging time to 1200 seconds (the default is 300 seconds) using the following
command:
command:
-> mac-address-table aging-time 1200
Note. Optional. To verify the static MAC address configuration, enter show mac-address-table. For
example:
example:
-> show mac-address-table
Legend: Mac Address: * = address not valid
Vlan Mac Address Type Protocol Operation Interface
------+-------------------+--------------+-----------+------------+-----------
1 00:00:00:00:00:01 learned
0800
bridging
8/1
1 00:d0:95:6a:73:9a learned aaaa0003
bridging
10/23
200
00:2d:95:5b:f3:0e
delontimeout
0
bridging
3/4
Total number of Valid MAC addresses above = 3