Motorola P120 ユーザーズマニュアル

ページ / 129
Chapter 7
Cajun Campus CLI (Command Line Interface)
Cajun P120 User’s Guide
97
Clear SNMP Trap Command
Use the 
clear snmp trap
 command to clear an entry from the SNMP trap 
receiver table.
The syntax for this command is:
 clear snmp trap <rcvr_addr | all>
Example:
Console>(enable) clear snmp trap 192.122.173.82
SNMP trap receiver deleted.
Console>(enable)
Clear Vlan Command
Use the 
clear vlan
 command to delete an existing VLAN from a management 
domain and return to its default. When you clear a VLAN, all ports assigned to that 
VLAN are assigned to the default VLAN # 1.
The syntax for this command is:
 clear vlan [vlan_num]
Example:
This example shows how to clear an existing VLAN (VLAN 4) from a management 
domain:
Console>(enable) clear vlan 4
This command will assign all ports on vlan 4 to their default 
in the entire management domain
Do you want to continue (y/n) [n]? y
VLAN 4 deletion successful
Console>(enable)
rcvr_addr
IP address or IP alias of the trap receiver (the SNMP management 
station) to clear.
all
Keyword that specifies every entry in the SNMP trap receiver table
vlan_num
Number of the VLAN (range is 2 to 3071).