cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

BGP fail to bind with .pol file

BGP fail to bind with .pol file

Rod_Robertson2
Contributor
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 1

Rod_Robertson2
Contributor
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 {
GTM-P2G8KFN