Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
298
Configuration Manual, 06/2016, C79000-G8976-C252-11
Further notes
You delete an entry from the IP routing table with the
no ip route
command.
You display the IP routing table with the
show ip route
command.
7.1.2.11
no ip route
Description
With this command, you delete a static entry from the IP routing table.
Requirement
You are in the Global configuration mode.
The command prompt is as follows:
cli(config)#
Syntax
Call up the command with the following parameters:
no ip route <prefix> <mask> <next-hop> [<distance(1-255)>]
The parameter has the following meaning:
Parameter
Description
Range of values / note
prefix
Specifies the IP address or the address
range
specify a valid IP address
mask
Specifies the subnet mask used for
prefix
.
Use decimal notation.
enter a valid subnet mask
next-hop
specifies the IP address to which the
selected addresses were forwarded.
specify a valid IP address
distance
The value for the administrative dis-
tance.
1 ... 255
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
Result
The entry is deleted.
Further notes
You configure an entry from the IP routing table with the
ip route
command.
You display the IP routing table with the
show ip route
command.