SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
285
Network protocols
7
This part contains the sections that describe the commands for working with the various
network protocols.
7.1
IPv4 protocol
This section describes commands of the Internet Protocol (IP) version 4.
7.1.1
The "show" commands
This section describes commands with which you display various settings.
7.1.1.1
show ip route
Description
This command shows the routes currently being used.
Requirement
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli>
or
cli#
Syntax
Call up the command with the following parameters:
show ip route[{<ip-address>[<mask>]|connected|ospf|static|summary}]
The parameters have the following meaning:
Parameter
Description
Range of values / note
ip-address
The destination address of the route.
Enter a valid IPv4 address
mask
Defines an address range using the
subnet mask.
/8, /16 or /24
connected
Shows the network routes with a direct
connection.
-
ospf
Shows the OSPF entries in the routing
table.
-