Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP Outbound Route Filter (ORF) Configuration

I am new to BGP and recently come across the Outbound Route Filter (ORF) functionality of BGP, which is used to minimize the number of BGP updates sent to a neighbor.

I have tried to configure this on my router as follows:

!

router bgp 64582

neighbor 10.40.1.222 capability orf prefix-list send

!

But, when I check the running config this command does not appear in the output;

!

sh run

Building configuration...

Current configuration : 6311 bytes

!

version 12.3

!

router bgp 64582

no synchronization

bgp log-neighbor-changes

neighbor 10.40.1.222 remote-as 64581

neighbor 10.40.1.222 update-source Loopback0

neighbor 10.40.1.222 route-map RECEIVE in

neighbor 10.40.1.222 route-map ADVERTISE out

auto-summary

!

However, the output of the bgp neighbors command below would suggest that the ORF config is active. Is this correct?

If so, will this configuration allow me to send my inbound filter (route-map RECEIVE) to my neighbor as the outbound policy that it should apply?

!

sh bgp neighbors

BGP neighbor is 10.40.1.222, remote AS 64581, external link

BGP version 4, remote router ID 0.0.0.0

BGP state = Idle

Last read 00:00:04, hold time is 180, keepalive interval is 60 seconds

Message statistics:

InQ depth is 0

OutQ depth is 0

Sent Rcvd

Opens: 0 0

Notifications: 0 0

Updates: 0 0

Keepalives: 0 0

Route Refresh: 0 0

Total: 0 0

Default minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast

BGP table version 1, neighbor version 0

Index 1, Offset 0, Mask 0x2

AF-dependant capabilities:

Outbound Route Filter (ORF) type (128) Prefix-list:

Send-mode: advertised

Inbound path policy configured

Outbound path policy configured

Route map for incoming advertisements is RECEIVE

Route map for outgoing advertisements is ADVERTISE

Sent Rcvd

Prefix activity: ---- ----

Prefixes Current: 0 0

Prefixes Total: 0 0

Implicit Withdraw: 0 0

Explicit Withdraw: 0 0

Used as bestpath: n/a 0

Used as multipath: n/a 0

Outbound Inbound

Local Policy Denied Prefixes: -------- -------

Total: 0 0

Number of NLRIs in the update sent: max 0, min 0

Connections established 0; dropped 0

Last reset never

External BGP neighbor not directly connected.

No active TCP connection

!

Please let me know if I have understood the BGP ORF feature correctly.

I am running the following version of IOS;

!

sh version

Cisco Internetwork Operating System Software

IOS (tm) 7200 Software (C7200-JS-M), Version 12.3(1a), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Thu 05-Jun-03 20:57 by dchih

Image text-base: 0x60008954, data-base: 0x61F8C000

ROM: System Bootstrap, Version 12.2(8r)B, RELEASE SOFTWARE (fc1)

BOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.2(15)B, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

nws-tmo-tt-01 uptime is 4 days, 27 minutes

System returned to ROM by power-on

System image file is "disk2:c7200-js-mz.123-1a.bin"

cisco 7204VXR (NPE-G1) processor (revision A) with 245760K/16384K bytes of memory.

Processor board ID 30464548

SB-1 CPU at 700Mhz, Implementation 1, Rev 0.2, 512KB L2 Cache

4 slot VXR midplane, Version 2.7

Last reset from power-on

Bridging software.

X.25 software, Version 3.0.0.

SuperLAT software (copyright 1990 by Meridian Technology Corp).

TN3270 Emulation software.

3 Gigabit Ethernet/IEEE 802.3 interface(s)

1 Packet over SONET network interface(s)

509K bytes of non-volatile configuration memory.

125440K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).

16384K bytes of Flash internal SIMM (Sector size 256K).

Configuration register is 0x2102

!

Thanks in advance for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: BGP Outbound Route Filter (ORF) Configuration

Hi!

Unfortunelly, you're seeing CSCdz89384: orf config is taken but not saved in running config (I'll update it internally in a couple of minutes so you can track it externally). This is just cosmetic: the capability is enabled, it's just not showing up in the config.

For ORF to work, you need your neighbor to be willing to receive the filter. You're all set to send it, but you're peer has to advertise the willingness to receive the filter when the session is established.

You should then see something like this in the output of 'sh ip bgp nei x.x.x.x':

Outbound Route Filter (ORF) type (128) Prefix-list:

Send-mode: received

Receive-mode: advertised

Alvaro.

1 REPLY
Cisco Employee

Re: BGP Outbound Route Filter (ORF) Configuration

Hi!

Unfortunelly, you're seeing CSCdz89384: orf config is taken but not saved in running config (I'll update it internally in a couple of minutes so you can track it externally). This is just cosmetic: the capability is enabled, it's just not showing up in the config.

For ORF to work, you need your neighbor to be willing to receive the filter. You're all set to send it, but you're peer has to advertise the willingness to receive the filter when the session is established.

You should then see something like this in the output of 'sh ip bgp nei x.x.x.x':

Outbound Route Filter (ORF) type (128) Prefix-list:

Send-mode: received

Receive-mode: advertised

Alvaro.

296
Views
0
Helpful
1
Replies