The following show commands display the switch configuration:
* (debug) BD-12804.7 # show log con fil Log Filter Name: DefaultFilter I/ Severity E Component SubComponent Condition CEWNISVD - ----------- ------------ ----------------------- -------- I All ******** Log Filter Name: macMoveFilter I/ Severity E Component SubComponent Condition CEWNISVD - ----------- ------------ ----------------------- -------- I FDB MACTracking MACMove ---N---- * (debug) BD-12804.14 # sh fdb mac-tracking configuration SNMP trap notification : Disabled MAC address tracking table (5 entries): 00:01:02:03:04:01 00:01:02:03:04:02 00:01:02:03:04:03 00:01:02:03:04:04 00:01:02:03:04:05 * (debug) BD-12804.15 # * (debug) BD-12804.27 # show meter -------------------------------------------------------------------------------- Name Committed Rate(Kbps) Peak Rate(Kbps) Burst Size(Kb) -------------------------------------------------------------------------------- m1 -- 250000 -- m2 -- 500000 -- Total number of Meter(s) : 2 * (debug) BD-12804.28 #
The following show commands display the switch status after a MAC address move:
================================== (debug) BD-12804.7 # show log 05/14/2009 11:33:54.89 <Noti:ACL.Policy.bind> MSM-A: Policy:bind:egress_limit:vlan:*:port:*: 05/14/2009 11:33:54.89 <Info:pm.config.loaded> MSM-A: Loaded Policy: egress_limit number of entries 1 05/14/2009 11:33:54.89 <Info:pm.config.openingFile> MSM-A: Loading policy egress_limit from file /config/egress_limit.pol 05/14/2009 11:33:54.89 <Noti:ACL.Policy.bind> MSM-A: Policy:bind:ingress_limit:vlan:*:port:1:18: 05/14/2009 11:33:54.88 <Noti:ACL.Policy.bind> MSM-A: Policy:bind:ingress_limit:vlan:v1:port:*: 05/14/2009 11:33:54.87 <Info:pm.config.loaded> MSM-A: Loaded Policy: ingress_limit number of entries 1 05/14/2009 11:33:54.87 <Info:pm.config.openingFile> MSM-A: Loading policy ingress_limit from file /config/ingress_limit.pol 05/14/2009 11:33:54.72 <Noti:UPM.Msg.upmMsgExshLaunch> MSM-A: Launched profile macMove for the event log-message A total of 8 log messages were displayed. * (debug) BD-12804.8 # show upm history -------------------------------------------------------------------------------- Exec Event/ Profile Port Status Time Launched Id Timer/ Log filter -------------------------------------------------------------------------------- 1 Log-Message(macMoveF macMove --- Pass 2009-05-14 11:33:54 -------------------------------------------------------------------------------- Number of UPM Events in Queue for execution: 0 * (debug) BD-12804.9 # sh upm history detail UPM Profile: macMove Event: Log-Message(macMoveFilter) Profile Execution start time: 2009-05-14 11:33:54 Profile Execution Finish time: 2009-05-14 11:33:54 Execution Identifier: 1 Execution Status: Pass Execution Information: 1 # enable cli scripting 2 # configure cli mode non-persistent 3 # set var EVENT.NAME LOG_MESSAGE 4 # set var EVENT.LOG_FILTER_NAME "macMoveFilter" 5 # set var EVENT.LOG_DATE "05/14/2009" 6 # set var EVENT.LOG_TIME "11:33:54.72" 7 # set var EVENT.LOG_COMPONENT_SUBCOMPONENT "FDB.MACTracking" 8 # set var EVENT.LOG_EVENT "MACMove" 9 # set var EVENT.LOG_SEVERITY "Notice" 10 # set var EVENT.LOG_MESSAGE "The MAC address %0% on VLAN '%1%' has moved from port %2% to port %3%" 11 # set var EVENT.LOG_PARAM_0 "00:01:02:03:04:05" 12 # set var EVENT.LOG_PARAM_1 "v1" 13 # set var EVENT.LOG_PARAM_2 "1:17" 14 # set var EVENT.LOG_PARAM_3 "1:18" 15 # set var EVENT.PROFILE macMove 16 # enable cli scripting 17 # create access-list dacl1 "source-address 192.168.10.0/24 " "permit ;count dacl1" 18 # create access-list dacl2 "source-address 192.168.11.0/24 " "permit ;count dacl2" 19 # create access-list dacl3 "source-address 192.168.15.0/24 " "deny ;count dacl3" 20 # create access-list dacl4 "source-address 192.168.16.0/24 " "deny ;count dacl4" 21 # create access-list dacl5 "source-address 192.168.17.0/24 " "deny ;count dacl5" 22 # configure access-list add dacl1 first ports $(EVENT.LOG_PARAM_3) done! 23 # configure access-list add dacl2 first ports $(EVENT.LOG_PARAM_3) done! 24 # configure access-list add dacl3 first ports $(EVENT.LOG_PARAM_3) done! 25 # configure access-list add dacl4 first ports $(EVENT.LOG_PARAM_3) done! 26 # configure access-list add dacl5 first ports $(EVENT.LOG_PARAM_3) done! 27 # conf access-list ingress_limit vlan v1 done! 28 # conf access-list ingress_limit ports $(EVENT.LOG_PARAM_3) done! 29 # conf access-list egress_limit any done! -------------------------------------------------------------------------------- Number of UPM Events in Queue for execution: 0 * (debug) BD-12804.10 # * (debug) BD-12804.7 # show fdb mac-tracking statistics MAC Tracking Statistics Thu May 14 11:41:10 2009 Add Move Delete MAC Address events events events ===================================================== 00:01:02:03:04:01 0 0 0 00:01:02:03:04:02 0 0 0 00:01:02:03:04:03 0 0 0 00:01:02:03:04:04 0 0 0 00:01:02:03:04:05 1 1 0 ===================================================== 0->Clear Counters U->page up D->page down ESC->exit (debug) BD-12804.5 # show access-list Vlan Name Port Policy Name Dir Rules Dyn Rules =================================================================== * * egress_limit ingress 1 0 * 1:18 ingress_limit ingress 1 5 v1 * ingress_limit ingress 1 0 * (debug) BD-12804.6 # show access-list dynamic Dynamic Rules: ((*)- Rule is non-permanent ) (*)dacl1 Bound to 1 interfaces for application Cli (*)dacl2 Bound to 1 interfaces for application Cli (*)dacl3 Bound to 1 interfaces for application Cli (*)dacl4 Bound to 1 interfaces for application Cli (*)dacl5 Bound to 1 interfaces for application Cli (*)hclag_arp_0_4_96_1e_32_80 Bound to 0 interfaces for application HealthCheckLAG * (debug) BD-12804.7 # * (debug) BD-12804.7 # =====================================================================================