Protocol Independent Commands - D-Link DXS-3600-16S Manual

Dxs-3600 series layer 2/3 managed 10gbe switch
Hide thumbs Also See for DXS-3600-16S:
Table of Contents

Advertisement

Protocol Independent Commands

46-1 clear ip route
This command is used to remove all or specified static routes from the IP routing table.
clear ip route [vrf vrf-name] {* | network [net-mask]}
Parameters
vrf vrf-name
*
network
net-mask
Default
Command Mode
Command Default Level
Usage Guideline
Example
DXS-3600-32S#clear ip route 33.3.3.0 255.255.255.0
DXS-3600-32S#
Example
DXS-3600-32S#clear ip route *
DXS-3600-32S#
Example
DXS-3600-32S#clear ip route vrf VPN-A 33.3.3.0 255.255.255.0
DXS-3600-32S#
46-2 route-preference default
This command is used to set the preference of the static default route. Use no form of this command to restore it to the
default setting.
route-preference [vrf vrf-name] default value
no route-preference [vrf vrf-name] default
Parameters
vrf vrf-name
value
Default
Command Mode
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
(Optional) Specifies to remove all routes of one VRF.
Specifies to remove all static routes.
Specifies that the IP address and network address are both accepted. If net-mask is
not specified, the longest prefix matched route will be removed.
(Optional) Specifies the network mask of the destination network.
None.
Privileged EXEC Mode.
Level: 8
Use this command to remove all the static routes or the specified static routes from
the IP routing table. If there area multi-paths to one destination, all these static
routes will be removed.
Users can verify the settings by entering the show ip route static command.
This example shows how to remove the static route 33.3.3.0/24.
This example shows how to remove all static routes.
This example shows how to remove the static route 33.3.3.0/24 in VRF VPN-A:
(Optional) Specifies to set the route preference of VRF routing table.
Specifies the preference of the static default route. The value range is 1-999.
The default value of the static default route's preference is 1.
Global Configuration Mode.
439

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents