route-map SAMEX-IN permit 10
match ip address SAMEX-BLOCK
set origin igp
set community 11111111111
!
ip access-list extended SAMEX-BLOCK
permit ip X.X.X.X/X any
entry SAMEX-IN_01 {
if match any {
nlri X.X.X.X/X ;
}
then {
community set "11111111111";
origin set "igp" <--------------------------Is it correct to enter here?
permit;
}
}
Please tell me if there is a way to set the IGP of origin.