Administrator Guide

Layer 2 Switching Commands 581
console(config)#interface gi1/0/1
console(config-if-Gi1/0/1)#no keepalive
keepalive (Global Config)
Use the keepalive command in Global Configuration mode to enable
keepalive or to configure the loop protection timer and packet count. Use the
no form of the command to return the configuration to the defaults.
Syntax
keepalive [ period [ count ] ]
no keepalive
period – Configures the interval for the transmission of keepalive packets.
Default: 10 seconds
countConfigures the number of consecutive CTP packets addressed to
and received by the local switch before the interface is error disabled.
Default: 3 packets.
Default Configuration
Loop protection is disabled globally by default.
The default period is 10 seconds.
The default count is 3 packets.
Command Mode
Global Configuration mode
User Guidelines
Loop protect must be enabled individually on a physical interface as well as
globally.
If only the period parameter is specified, the count parameter remains
unchanged.
Loop protection may only be enabled on physical interfaces, not on port
channels or any virtual interfaces.