Allied Telesis Patch 89262-08 manual set ospf, Command Reference

Models: Patch 89262-08

1 32
Download 32 pages 8.67 Kb
Page 30
Image 30
set ospf

30

set ospf

Patch Release Note

Configuration This example supposes that you want to import the route 192.168.72.0 into the example OSPF routing domain, but no other routes. This route is received on the

gateway router as a BGP route. The following steps show the sequence of commands to use in this scenario.

1.Set up the IP filter:

add ip filter=300 source=192.168.72.0 smask=255.255.255.255 action=include

2.Set up OSPF BGP import parameters:

set ospf bgpimport=on bgpfilter=300 bgplimit=1

3.Check that BGP has added the route to the IP route table: show ip route=192.168.72.0

The route should be visible in the output of the command.

4.Check that OSPF has imported the route: show ospf lsa=192.168.72.0

The output should show that there is an AS external LSA with this ID.

Command Reference

This section contains details about the commands used to configure the BGP route import feature.

Only the syntax for the BGP route import feature is shown here. For the full syntax of these commands, see the Software Reference on the Documentation and Tools CD-ROM bundled with your switch, or at www.alliedtelesyn.co.nz/documentation/manuals.

set ospf

Syntax SET OSPF [BGPFilter={NOne300...399}] [BGPImport={ONOFFTrueFalseYESNO}] [BGPLimit=1...300] [other-parameters]

Description This command sets general OSPF routing configuration parameters. Use this command to configure the importing of BGP routes into OSPF. See Table 10 on page 30 for details about each parameter.

Table 10: Parameters for the BGP route import feature in the set ospf command.

Parameter

 

Option/Range

Description

 

 

 

 

BGPFilter

NOne

No filters are defined so all routes from BGP will be imported into OSPF. The default

 

 

 

is none.

 

 

 

 

 

300...399

The route filter that will be used when importing BGP routes into OSPF. Route filters

 

 

 

are created with the add ip filter command. If a route filter is defined, the entries

 

 

 

for the filter will include or exclude routes for importation. If routes have not been

 

 

 

included by a previous entry, they will be excluded from the import.

 

 

 

BGPImport

ONTrueYES

Importing BGP routes into OSPF is enabled.

 

 

 

 

 

 

OFFFalseNO

Importing BGP routes into OSPF is disabled. The default is off.

Patch 89262-08 for Software Release 2.6.2 C613-10402-00 REV H

Page 30
Image 30
Allied Telesis Patch 89262-08 manual set ospf, Command Reference