4 clear ip route static – CANOGA PERKINS 9175 Command Reference User Manual

Page 185

Advertising
background image

CanogaOS Command Reference

12-3

mode. To let switch select the router ID automatically, use the no form of this command.


Command Syntax

router-id ip-address

ip-address

Router ID in IP address format.


Default

No router ID is defined.


Command Mode

Global configuration


Usage

You can configure an arbitrary value in the IP address format for each switch. However, each router ID

must be unique.


Examples

The following example specifies a fixed router-id:

Switch(config)# router-id 1.1.1.1


Related Commands

router-id (router)

12.4 clear ip route static

To clear all static IP routes, use the clear ip route static command in privileged EXEC configuration

mode.


Command Syntax

clear ip route [vrf name] static

vrf name VRF instance name.


Command Mode

Privileged EXEC


Usage

You can specify a VRF instance to clear the static routes in this VRF instance only.


Examples

The following is sample output from the clear ip route static command:

Switch# clear ip route static


Related Commands

ip route

Advertising