Header Only - DO NOT REMOVE - Extreme Networks

BGP fail to bind with .pol file


Userlevel 3
Bind failure when trying to add policy to bgp

Slot-1 SDC_EXT1.21 # en bgp export ospf-extern2 address-family ipv4-unicast export-policy BGP_EXPORT_FROM_OSPF
Error: Failed to bind to export policy BGP_EXPORT_FROM_OSPF

Slot-1 SDC_EXT1.22 # vi BGP_EXPORT_FROM_OSPF.pol

SDC1 BGP Policy "BGP_EXPORT_FROM_OSPF"

entry bgp-export-permit {
if match any {
nlri 1xx.2xx.133.0/24 ;
}
then {
origin igp ;
permit ;
}
}
entry bgp-export-deny {
if match all {
}
then {
deny ;
}
}

This happens with all my BGP policies so I have something fundimentally wrong

1 reply

Userlevel 3
Looked at this a bit more and teh top comment should have a # before it , as it is a note

#SDC1 BGP Policy "BGP_EXPORT_FROM_OSPF"

entry bgp-export-permit {
if match any {
nlri 1xx.2xx.133.0/24 ;
}
then {

Reply