set newaddrtrap
SecureStack C2 Configuration Guide 6-29
Parameters
Defaults
Ifport‐stringisnotspecified,thestatusofthenewMACaddressestrapfunctionwillbedisplayed
forallports.
Mode
Switchcommand,read‐only.
Usage
Bydefault,thisfunctionisdisabledgloballyandperport.
Example
ThisexampledisplaysthestatusforGigabitEthernetports1through5inslot1.
C2(ro)->show newaddrtrap ge.1.1-5
New Address Traps Globally disabled
Port Enable State
--------- ------------
ge.1.1 disabled
ge.1.2 disabled
ge.1.3 disabled
ge.1.4 disabled
ge.1.5 disabled
set newaddrtrap
UsethiscommandtoenableordisableSNMPtrapmessaging,globallyorononeormoreports,
whennewsourceMACaddressesaredetected.
Syntax
set newaddrtrap [port-string] {enable | disable}
Parameters
Defaults
Ifport‐stringisnotspecified,thetrapfunctionissetglobally.
Mode
Switchmode,read‐write.
port‐string (Op tional)DisplaysthestatusofthenewMACaddressestrapfunction
onspecificports.
port‐string (Op tional)EnableordisablethenewMAC addressestrapfunctionon
specificports.
enable|disable EnableordisablethenewMACaddressestrapfunction.Ifentered
withouttheport‐stringparameter,enablesordisablesthefunction
globally.Whenenteredwiththeport‐stringparameter,enablesor
disablesthefunction
onspecificports.