CISCO交换机命令全集加说明2

【CISCO交换机命令全集加说明2】
Default
180 seconds
Command Mode
Global configuration
Example
This example shows how to set the CDP holdtime to 15 seconds.
hostname(config)# cdp holdtime 15
Related Commands
cdp (advertise-v2)
cdp (enable)
cdp (timer)
show cdp (interface)
show cdp (neighbors)
cdp (timer)
Use the cdp timer global configuration command to specify the rate at which Cisco Discovery Protocol (CDP) packets are sent. Use the no cdp timer command to reset the CDP rate to the default value.
cdp timer timer
no cdp timer
Syntax Description
timer Number between 5 and 900 seconds.

Default
60 seconds
Command Mode
Global configuration
Example
This example shows how to set the CDP packet rate to once in 5 seconds.
hostname(config)# cdp timer 5
Related Commands
cdp (advertise-v2)
cdp (enable)
cdp (holdtime)
show cdp (interface)
show cdp (neighbors)
cgmp
Use the cgmp global configuration command to enable Cisco Group Management Protocol (CGMP) functionality on a switch. Use the no cgmp command to disable CGMP.
cgmp
no cgmp
Syntax Description
This command has no arguments or keyWords.
Default
CGMP is enabled.
Command Mode
Global configuration
Example
This example shows how to enable CGMP on a switch.
hostname(config)# cgmp
Related Commands
cgmp (hold-time)
cgmp (leave-processing)
cgmp (remove)
clear (cgmp)
show (cgmp)
cgmp (hold-time)
Use the cgmp hold-time global configuration command to set the Cisco Group Management Protocol (CGMP) hold time. Use the no cgmp hold-time command to reset the default hold time.
cgmp hold-time hold_time
no cgmp hold-time
Syntax Description
holdtime Number between 5 and 900 seconds.

Defaults
Default hold time is 600 seconds.
Command Mode
Global configuration
Example
This example shows how to set the CGMP hold time to 40 seconds.
hostname(config)# cgmp hold-time 40

This example shows how to reset the CGMP hold time to its default value.
hostname(config)# no cgmp hold-time
Related Commands
cgmp
cgmp (leave-processing)
cgmp (remove)
clear (cgmp)
show (cgmp)
cgmp (leave-processing)
Use the cgmp (leave-processing) global configuration command to enable Cisco Group Management Protocol (CGMP) Fast Leave processing. The no form of the command disables CGMP Fast Leave processing.
cgmp leave-processing
no cgmp leave-processing
Syntax Description
This command has no arguments or keywords.
Default
The default configuration is disabled.
Command Mode
Global configuration
Usage Guidelines

Fast Leave processing optimizes the use of network bandwidth by redUCing the delay between members of a multicast group leaving the group and the actual pruning of multicast traffic to that segment.
This command is available only if CGMP is enabled. Otherwise, the command is not recognized.
Example
This command enables CGMP Fast Leave processing.
hostname(config)# cgmp leave-processing
Related Commands
cgmp
cgmp (hold-time)
cgmp (remove)
clear (cgmp)
show (cgmp)
cgmp (remove)
Use the cgmp remove global configuration command to remove an address that has been added to the system by Cisco Group Management Protocol (CGMP) activity.
cgmp remove mac-address
Syntax Description
mac-address MAC address.

Default
None
Command Mode
Global configuration
Example
This example shows how to remove the address 0100.5e00.0203 from the system.
hostname(config)# cgmp remove 0100.5e00.0203
Related Commands
cgmp
cgmp (hold-time)
cgmp (leave-processing)
clear (cgmp)
show (cgmp)
cgmp (reserved)
Use the cgmp reserved global configuration command to permit Cisco Group Management Protocol (CGMP) reserved addresses (from 0100.5E00.0000 to 0100.5E00.00FF) to join as Group Destination Addresses. The no form of the command excludes these reserved addresses.

推荐阅读