Allied Telesis BGP4 Route-map rmap1 permit, Redistribute ospf route-map rmap1, Set metric-type

Models: BGP4 VERSION 5.4.3-2.6

1 350
Download 350 pages 8.81 Kb
Page 296
Image 296

BGP and BGP4+ Commands

Examples [BGP/BGP+]

The following example shows the configuration of a route-map named rmap1, which is then applied using the redistribute route-mapcommand.

awplus#

configure terminal

awplus(config)#

route-map rmap1 permit 1

awplus(config-route-map)#

match origin incomplete

awplus(config-route-map)#

set metric

100

awplus(config-route-map)#

exit

 

awplus(config)#

router bgp

12

awplus(config-router)#

redistribute ospf route-map rmap1

To apply the above example to a specific VRF instance named blue, use the following commands:

awplus(config)#

router bgp 12

awplus(config-router)#

address-family ipv4 vrf blue

awplus(config-router-af)#

redistribute ospf route-map rmap1

The following example shows the configuration of a route-map named rmap2, which is then applied using the redistribute route-mapcommand.

awplus#

configure terminal

awplus(config)#

route-map rmap2

permit 3

awplus(config-route-map)#

match interface

vlan1

awplus(config-route-map)#

set metric-type

1

awplus(config-route-map)#

exit

 

awplus(config)#

router ospf 100

 

awplus(config-router)#

redistribute bgp route-map rmap2

Note that configuring a route-map and applying it with the redistribute route-map command allows you to filter which router are distributed from another routing protocol (such as OSPF with BGP). A route-map can also set the metric, tag, and metric-type of the redistributed routes.

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.198

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 296
Image 296
Allied Telesis BGP4 Route-map rmap1 permit, Redistribute ospf route-map rmap1, Address-family ipv4 vrf blue, Router ospf