Clear commands, Clear port mirror command, Clear ip route command – Motorola CAJUN P120 User Manual
Page 110: Clear port mirror command clear ip route command
Chapter 7
Cajun Campus CLI (Command Line Interface)
96
Cajun P120 User’s Guide
Clear Commands
Clear Port Mirror Command
Use the
clear port mirror
command to delete one or several port mirroring
entries. The syntax of this command is:
clear port mirror
[mod_num[/port_num]]
Example:
Console>(enable)
clear port mirror 4/1
Mirroring both Rx and Tx packets from port 4/1 to port 5/12 is cleared.
Console>(enable)
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 <0.0.0.0>
gateway
IP address of the router
Example:
To delete the route table entries using the clear ip route command:
Console>(enable) clear ip route 0.0.0.0 192.1.1.1
Route deleted.
Console>(enable)
mod_num
(Optional) number of the module.
port_num
(Optional) number of the source or the destination port.