[j-nsp] OSPF Export policy question

Sinan Ilkiz sinan.ilkiz at borusantelekom.com
Mon Oct 3 07:32:07 EDT 2005


Hello all,
 
I am trying to implement an OSPF export policy with the "neighbor"
statement. It seems that it does not have any effect on the distribution
of routes. Configuration is as follows;
 
lab at ST-JM7i> show configuration protocols ospf   
export OSPF-Export;
area 0.0.0.0 {
    interface fe-1/3/1.0;
}
 
[edit policy-options policy-statement OSPF-Export]
lab at ST-JM7i# show 
term fake_neighbor {
    to neighbor 1.2.3.4;
    then accept;
}
term rest {
    then reject;
}
 
OSPF neighbor state is as follows;
lab at ST-JM7i> show ospf neighbor 
  Address         Interface             State      ID              Pri
Dead
192.168.1.6      fe-1/3/1.0             Full      192.168.100.3    128
37  
 
IMO, neighbor router should not get any route updates with this policy.
But M7i does not bother "to neighbor 1.2.3.4" statement and distributes
its routes. Any thoughts or comments?
 
Thanks.
 
 
 
 
lab at ST-JM7i> show version 
Hostname: ST-JM7i
Model: m7i
JUNOS Base OS boot [7.1R1.3]
JUNOS Base OS Software Suite [7.1R1.3]
JUNOS Kernel Software Suite [7.1R1.3]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [7.1R1.3]
JUNOS Routing Software Suite [7.1R1.3]
JUNOS Online Documentation [7.1R1.3]
JUNOS Crypto Software Suite [7.1R1.3]


UYARI/NOTIFICATION:
***************************************************************************
Bu e-posta ve ekleri sadece gonderilen adres sahiplerine aittir. Bu mesajin yanlislikla tarafiniza ulasmis olmasi halinde, lutfen gondericiye derhal bilgi veriniz ve mesaji sisteminizden siliniz. BORUSAN TELEKOM bu mesajin icerigi ve ekleri ile ilgili olarak hukuksal hicbir sorumluluk kabul etmez.  Gonderen taraf hata veya unutmalardan sorumluluk kabul etmez.

The information contained in this e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed.If you received this message in error, please immediately notify the sender and delete it from your system.BORUSAN TELEKOM doesn't accept any legal responsibility for the contents and attachments of this message.The sender does not accept liability for any errors or omissions.

*************************************************************************** 


More information about the juniper-nsp mailing list