Administrator Guide

Layer 2 Switching Commands 600
Example
The following example configures the CTP transmit interval to transmit CTP
packets every 5 seconds.
console(config)#keepalive 5
This example configures the CTP transmit interval to 5 seconds. If an
interface receives two CTP packets, it error disables the interface.
console(config)#keepalive 5 2
In 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 keepalive
keepalive action
Use the keepalive action command to configure the action taken when a loop
is detected on an interface. Use the no form of the command to return the
action to the default.
Syntax
keepalive action {error-disable | log-only}
no keepalive action
error-disable
— When a loop is detected, the interface is disabled and a
log message is issued.
error-disable
— When a loop is detected, a log message is issued and the
interface is not error disabled.
Default Configuration
The default is to error disable the interface when a loop is detected.
Command Mode
Interface Configuration mode
2CSNXXX_SWUM204.book Page 600 Monday, January 25, 2016 1:25 PM