Example Configuring MAC Address Aging
Device> enable
Device# configure terminal
Device(config)# interface gigabitethernet 4/0/1
Device(config-if)# service instance 100 ethernet
Device(config-if-srv)# encapsulation dot1q 100
Device(config-if-srv)# bridge-domain 100
Device(config-if-srv)# mac security aging time 10
Device(config-if-srv)# mac security
Device(config-if-srv)# end
Example Configuring a Sticky MAC Address
Device> enable
Device# configure terminal
Device(config)# interface gigabitethernet 3/0/1
Device(config-if)# service instance 100 ethernet
Device(config-if-srv)# encapsulation dot1Q 100
Device(config-if-srv)# bridge-domain 100
Device(config-if-srv)# mac security sticky
Device(config-if-srv)# mac security
Example Displaying the MAC Addresses on a Specific Secure Service Instance
Device# show ethernet service instance id 10 inter gig 0/0/3 mac security
address Bridge-domain 10
MAC Address Type
0000.00ac.ef02 static
0000.00ac.ef03 static
0001.0001.aaaa dynamic 100
0001.0001.aaab dynamic 100
Example Displaying the Last Violation on a Specific Service Instance
Device# show bridge-domain 100 mac security last violation Te0/0/3 ServInst 200
Last violation at: 15:54:25 IST Fri Jun 5 2015
Source MAC address: 0000.1111.1111
Reason: Re-learn attempt
Total violation count: 321
Example Displaying the MAC Security Status of a Specific Service Instance
Device# show ethernet service instance id 100 interface te0/0/3 mac security
Bridge-domain 100
MAC Security enabled: yes
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
117
Configuring MAC Address Limiting on Service Instances Bridge Domains and EVC Port Channels
Example Configuring MAC Address Aging