Chapter 6 Cajun Campus CLI – Layer 2

Example:

To delete the route table entries using the clear ip route command:

Cajun_P330-N# clear ip route 134.12.3.0 192.1.1.1

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:

Cajun_P330-N# clear snmp trap 192.122.173.82

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:

Cajun_P330-N# 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

Cajun P332MF User’s Guide

65

Page 79
Image 79
Lucent Technologies P332MF manual Clear snmp trap Command, Clear vlan Command, Clear vlan VLANnum