Allied Telesis Patch 89262-08 manual Set ospf, Parameter Option/Range Description

Page 30

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

Image 30
Contents Patch For AT-8900 Series Switches IntroductionPCR 40573 Module LOG Level FeaturesPCR Module IP6 Level PCR 40591 Module Swmx LevelPCR Module IPG Level PCR 40596 Module Swmx LevelPCR 40601 Module Swmx Level PCR 40603 Module SWI, Swmx LevelPatch file details are listed in Table PCR Module BGP LevelPCR Module STP Level PCR Module OSPF, IPG LevelPCR Module BGP, IGP Level PCR 40460 Module Swmx LevelPCR Module Ospf Level PCR 40487 Module Core LevelPCR 40496 Module Dhcp Level PCR 40520 Module Dvmrp Level PCR Module Vrrp LevelPCR 40516 Module Dhcp Level PCR Module Classifier LevelPCR 40550 Module Swmx Level PCR 40543 Module Swmx LevelPCR 40544 Module Vlan Level PCR Module QoS LevelPCR 40574 Module Swmx Level PCR 40592 Module Bootp LevelPCR 40571 Module Swmx Level PCR 40586 Module Swmx LevelPCR 40525 Module SWI, SWX Level PCR Module RstpPCR 40521 Module TACACS+ PCR Module Ipsec Level PCR Module NTP LevelPCR Module PIM4 Level PCR Module PIM LevelPCR 40405 Module Enco Level PCR Module PPP LevelPCR Module IPv6 Level PCR Module SWMX,SWI LevelPCR 40418 Module Swmx Level PCR 40413 Module QOS LevelPCR 40416 Module QOS Level PCR Module Firewall LevelPCR 40440 Module CLASSIFIERLevel PCR 40431 Module SWMXLevelPCR 40433 Module VLANLevel PCR 40441 Module IPG, VRRPLevelPCR 40509 Module Swmx Level PCR 40371 Module Vlan LevelPCR 40409 Module Swnp Level PCR 40352 Module Swnp Level PCR 40313 Module Swnp LevelPCR 40351 Module Vlan Level PCR 40363 Module Swnp LevelPCR 40376 Module QOS Level PCR 40365 Module EZDRV, IPv6, Swnp LevelPCR 40367 Module Swmx Level PCR 40396 Module Swmx LevelPCR Module IGMP, SWI Level PCR 40382 Module Swmx LevelPCR Module IPG, SWI Level PCR Module IPGPCR 40274 Module VLAN, Rmon Level PCR 40249 Module SWI, SwmxPCR Module PIM6 PCR Module IPG, IPV6 LevelPCR 40338 Module Vlan Level PCR Module TM LevelPCR 40334 Module Vlan Level PCR 40341 Module SWMX, SWIPCR 40224 Module Ezdrv PCR 40196 Module SWNP, EzdrvPCR 40213 Module QOS PCR 40245 Module SwnpPCR Module Ospf PCR Module IPV6Igmp Snooping All-Group Entry Show ip igmpEnable ip igmp allgroup Enable ip igmp allgroupDisable ip igmp allgroup Igmp SnoopingAdd igmpsnooping routeraddress Description whereSet igmpsnooping routermode Delete igmpsnooping routeraddressShow igmpsnooping routeraddress Icmp Redirect Messages for IPv6Importing BGP routes into Ospf ImportSet ospf Parameter Option/Range DescriptionExample output from the show ospf command Show ospfAdd ip filter Availability