
Chapter 5 | CLI – Layer 2 |
|
|
Clear ip route Command
Use the clear ip route command to delete IP routing table entries.
The syntax for this command is:
clear ip route <destination> <gateway>
destination | IP address of the network, or specific host to be added |
gateway | IP address of the router. |
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.
79 |