Layer 2 Switching Commands 576ExampleThe following example configures the CTP transmit interval to transmit CTPpackets every 5 seconds.console(config)#keepalive 5This example configures the CTP transmit interval to 5 seconds. If aninterface receives two CTP packets, it error disables the interface.console(config)#keepalive 5 2In the next example, if the CTP transmit interval is configured to 5 seconds,if an interface receives three CTP packets, it will error disable the interface.console(config)#no keepalivekeepalive actionUse the keepalive action command to configure the action taken when a loopis detected on an interface. Use the no form of the command to return theaction to the default.Syntaxkeepalive action {error-disable | log-only}no keepalive action• error-disable — When a loop is detected, the interface is disabled and alog message is issued.• log-only— When a loop is detected, a log message is issued and theinterface is not error disabled.Default ConfigurationThe default is to error disable the interface when a loop is detected.Command ModeInterface Configuration mode