Command Reference
NSM Commands
5 NSM Commands
5.1 clear ip route
Use this command to clear the route cache.
clear ip route
{
* |
network
[
netmask
] | }
Parameter
Description
Parameter
Description
*
Clears all route cache.
network
Specifies the route cache of the network or subnet.
netmask
(Optional) Subnet mask. If no subnet mask is specified,
the longest match principle is used when you match
network
with the route. The cache of the longest match is
cleared.
Command
Mode
Privileged EXEC mode
Usage
Guide
Clearing route cache clears the corresponding routes and triggers the routing protocol relearning.
Please note that clearing all route cache leads to temporary network disconnection.
Examples
The following example clears the cache of the route which is the longest match with IP address
192.168.12.0.
clear ip route 192.168.12.0
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
5.2 ip default-gateway
Use this command to configure the default gateway IP address on 2-layer devices. Use the
no
or
default
form of this command to restore the default setting.
ip default-gateway
ip-address
no ip default-gateway
default ip default-gateway
Parameter
Description
Parameter
Description
ip-address
IPv4 address of the default gateway
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...