Chapter 6 Cajun Campus CLI – Layer 2
Example:
To delete the route table entries using the clear ip route command:
Route deleted.
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}
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 |
Example:
SNMP trap receiver deleted.
Clear vlan Command
Use the clear vlan command to delete an existing VLAN and return ports from this VLAN to the default VLAN #1. 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]
VLAN_num | Number of the VLAN (range is 1to 3071). |
Example:
This example shows how you can delete an existing VLAN (VLAN 4) from a management domain:
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
Cajun P332MF User’s Guide | 65 |