Enabling ospf over vrf, Enabling ospf in a vcs environment – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 594

9. Enter the area operand followed by the area ID, and repeat as necessary.
10.Enter the area operand followed by the area address in decimal or dotted
‐decimal format, then
enter the virtual
‐link operand followed by ID of the OSPF router at the remote end of the virtual link
Device C# configure
Device C(config)# rbridge-id 101
Device C(config-rbridge-id-101)# router ospf
Device C(config-router-ospf-vrf-default-vrf)# area 0
Device C(config-router-ospf-vrf-default-vrf)# area 1
Device C(config-router-ospf-vrf-default-vrf)# area 1 virtual-link 10.0.0.1
Enabling OSPF over VRF
Do the following to enable OSPF over VRF.
• 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)#
• OSPF show commands include the optional vrf name keyword to display data from non-default
OSPF instances.
• Router-ID calculation for an OSPF instance includes IP addresses that are attached to the same
VRF. The same subnets can coexist on multiple VRFs.
Enabling OSPF in a VCS environment
Do the following to enable OSPF in a VCS environment.
NOTE
If no RBridge ID is configured on the switch, deleting an VE interface will cause a spike in CPU usage.
To prevent this, configure an RBridge ID before deleting a VE interface.
1. On Router RB1, do the following:
a)
Enter the conf t command to enter terminal configuration mode.
b)
Enter the interface vlan command followed by the VLAN number to create a VLAN for the
router.
c)
Enter the exit command to exit interface configuration mode.
d)
Enter the rbridge-id command followed by the RBridge ID to enter RBridge configuration
mode.
e)
Enter the router ospf command to enable the OSPF routing protocol and to enter OSPF
VRF router configuration mode.
f)
Enter the area operand followed by the area ID to create this OSPF area on this router.
g)
Enter the exit command to exit OSPF VRF router configuration mode.
h)
Enter the interface ve command followed by the VLAN number to enter interface
configuration mode.
i)
Enter the ip address operand followed by the IP address/subnet of the interface.
Enabling OSPF over VRF
594
Network OS Administrator’s Guide
53-1003225-04