beautypg.com

Assigning interfaces to an area, Configuring virtual links – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 593

background image

range addresses. For example, to define an area range for subnets on 0.0.0.10 and 0.0.0.20, do the
following:

1. In privileged EXEC mode, issue the configure command to enter global configuration mode.
2. Issue the rbridge-id command followed by the RBridge ID to enter RBridge configuration mode.
3. Issue the router ospf command to enable OSPF on the router.
4. Issue the area operand followed by the area ID, then enter the range, and repeat as necessary.

switch# configure

switch(config)# rbridge-id 101

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

switch(config-router-ospf-vrf-default-vrf)# area 0.0.0.10 range 192.45.0.0 255.255.0.0

switch(config-router-ospf-vrf-default-vrf)# area 0.0.0.20 range 192.45.0.0 255.255.0.0

Assigning interfaces to an area

Once you define OSPF areas, you can assign interfaces to the areas. All router ports must be assigned
to one of the defined areas on an OSPF router. When a port is assigned to an area, all corresponding
subnets on that port are automatically included in the assignment.

For example, to assign a tengigabitethernet interface 101/0/1 to a router area whose IP address is
192.5.0.0, do the following:

1. In privileged EXEC mode, issue the configure command to enter global configuration mode.
2. Issue the rbridge-id command followed by the RBridge ID to enter RBridge sub-configuration mode.
3. Issue the interface command followed by the interface ID to enter interface configuration mode.
4. Issue the ip ospf area command followed by the IP address of the area.

switch# configure

switch(config)# rbridge-id 101

switch(config-rbridge-id-101)# int te 101/0/1

switch(conf-if-te-101/0/1)# ip ospf area 192.5.0.0

If you want to set an interface to passive mode, use the ip ospf passive command. If you want to
block flooding of outbound LSAs on specific OSPF interfaces, use the ip ospf database-filter all out
command.(Refer to the Network OS Command Reference for details.)

Configuring virtual links

Refer to

Virtual links

on page 588.

Do the following to configure virtual links. To define the virtual link on Device A:

1. In privileged EXEC mode, issue the configure command to enter global configuration mode.
2. Enter the rbridge-id command followed by the RBridge ID to enter RBridge configuration mode.
3. Enter the router ospf command to enable OSPF on the router.
4. Enter the area operand followed by the area ID, and repeat as necessary.
5. 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 A# configure

Device A(config)# rbridge-id 101

Device A(config-rbridge-id-101)# router ospf

Device A(config-router-ospf-vrf-default-vrf)# area 2

Device A(config-router-ospf-vrf-default-vrf)# area 1

Device A(config-router-ospf-vrf-default-vrf)# area 1 virtual-link 209.157.22.1

To configure the virtual link on Device C:

6. In privileged EXEC mode, issue the configure command to enter global configuration mode.
7. Enter the rbridge

id command followed by the RBridge ID to enter RBridge configuration mode.

8. Enter the router ospf command to enable OSPF on the router.

Assigning interfaces to an area

Network OS Administrator’s Guide

593

53-1003225-04