DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
439
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
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
(Optional) Specifies to remove all routes of one VRF.
*
Specifies to remove all static routes.
network
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.
net-mask
(Optional) Specifies the network mask of the destination network.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 8
Usage Guideline
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.
Example
This example shows how to remove the static route 33.3.3.0/24.
DXS-3600-32S#clear ip route 33.3.3.0 255.255.255.0
DXS-3600-32S#
Example
This example shows how to remove all static routes.
DXS-3600-32S#clear ip route *
DXS-3600-32S#
Example
This example shows how to remove the static route 33.3.3.0/24 in VRF VPN-A:
DXS-3600-32S#clear ip route vrf VPN-A 33.3.3.0 255.255.255.0
DXS-3600-32S#
vrf
vrf-name
(Optional) Specifies to set the route preference of VRF routing table.
value
Specifies the preference of the static default route. The value range is 1-999.
Default
The default value of the static default route’s preference is 1.
Command Mode
Global Configuration Mode.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...