Router ospf – Brocade Network OS Command Reference v4.1.0 User Manual

Page 672

Advertising
background image

634

Network OS Command Reference

53-1003115-01

router ospf

2

router ospf

Enables and configures the Open Shortest Path First (OSPF) routing protocol over virtual forward
and routing (VRF).

Synopsis

router ospf [vrf name]

no router ospf

Operands

vrf name

The name of the non-default VRF to connect.

Defaults

Enabled

Command Modes

Global configuration mode

Description

Use this command to enable the OSPF routing protocol and enter OSPF VRF router configuration
mode. With NetworkOS4.0 and later, OSPF can run over multiple Virtual Forwarding and Routing
(VRF) mechanisms. OSPF maintains multiple instances of the routing protocol to exchange route
information among various VRF instances.

Usage Guidelines

Enter no router ospf to delete all current OSPF configuration and to block any further OSPF
configuration.

Examples

To enable OSPF on a default VRF and to enter OSPF VRF router configuration mode, run the router
ospf command in RBridge ID configuration mode, as shown in the following example:

switch# configure

switch(config)# rbridge-id 5

switch(config-rbridge-id-5)#router ospf

switch(config-router-ospf-vrf-default-vrf)

To enable OSPF on a non-default VRF and to enter OSPF VRF router configuration mode, run the
router ospf vrf name command in RBridge ID configuration mode, as shown in the following
example:

switch# configure

switch(config)# rbridge-id 5

switch(config-rbridge-id-5)#router ospf vrf vrfname

switch(config-router-ospf-vrf-vrfname)

See Also

None

Advertising