Layer 3 functions
9.2 OSPFv2 (IPv4)
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
521
Commands in the Global Configuration mode
This section describes commands that you can call up in the Global configuration mode.
In Privileged EXEC mode, enter the
configure terminal command to change to this mode.
Commands relating to other topics that can be called in the Global configuration mode can
be found in the relevant sections.
You exit the Global configuration mode with the
end or exit command and are then in the
Privileged EXEC mode again.
With this command, you enable routing with OSPF and change to the OSPF Router
configuration mode.
Note
This command is available only with layer 3.
● IPv4 routing is activated
● You are in the Global configuration mode.
The command prompt is as follows:
cli(config)#
Call the command without parameter assignment:
router ospf
Routing with OSPF is enabled.
You are now in the OSPF Router configuration mode.
The command prompt is as follows:
cli (config-ospf)#
You disable routing with OSPF with the no router ospf command.
You enable IPv4 routing with the
ip routing command.