Verifying That Allowed MAC Addresses Are Working Correctly
Purpose
Verify that allowed MAC addresses are working on the switch.
Action
Display the MAC cache information after allowed MAC addresses have been configured
on an interface. The following sample shows the MAC cache after 5 allowed MAC
addresses had been configured on interface
ge/0/0/2
. In this instance, the interface was
also set to a dynamic MAC limit of
4
with action
drop
.
user@switch>
show ethernet-switching table
Ethernet-switching table: 5 entries, 4 learned
VLAN MAC address Type Age Interfaces
employee-vlan 00:05:85:3A:82:80 Learn 0 ge-0/0/2.0
employee-vlan 00:05:85:3A:82:81 Learn 0 ge-0/0/2.0
employee-vlan 00:05:85:3A:82:83 Learn 0 ge-0/0/2.0
employee-vlan 00:05:85:3A:82:85 Learn 0 ge-0/0/2.0
employee-vlan * Flood - ge-0/0/2.0
Meaning
Because the MAC limit value for this interface had been set to
4
, only four of the five
configured allowed addresses were learned and thus added to the MAC cache. Because
the fifth address was not learned, an asterisk (*) rather than an address appears in the
MAC address
column in the last line of the sample output.
Verifying Results of Various Action Settings When the MAC Limit Is Exceeded
Purpose
Verify the results provided by the various action settings for MAC limits—
drop
,
log
,
none
,
and
shutdown
—when the limits are exceeded.
Action
Display the results of the various action settings.
NOTE:
You can view log messages by using the show log messages command.
You can also have the log messages displayed by configuring the monitor
start messages with the monitor start messages command.
•
drop
action—For MAC limiting configured with a
drop
action and with the MAC limit
set to
5
:
user@switch>
show ethernet-switching table
Ethernet-switching table: 6 entries, 5 learned
VLAN MAC address Type Age Interfaces
employee—vlan * Flood - ge-0/0/2.0
employee—vlan 00:05:85:3A:82:80 Learn 0 ge-0/0/2.0
employee—vlan 00:05:85:3A:82:81 Learn 0 ge-0/0/2.0
Copyright © 2010, Juniper Networks, Inc.
2938
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...