[Xorp-users] Problem with bgp and policy
Eric Aversa
eaversa at gmail.com
Mon Jan 4 20:35:01 PST 2010
I encounter the following error when trying to restrict locally
connected subnets exported via bgp. I am trying release 1.6 of xorp.
Command failed Export of bgp failed: sem_error from line 106 of
visitor_semantic.cc: No protocol specified in source match of export
policy
I am trying to use the config below. Am I doing something wrong with
my network4 policy?
> protocols {
> bgp {
> bgp-id: 192.168.3.1
> local-as: "64512"
> enable-4byte-as-numbers: false
> import: "bgp-in"
> export: "REDIST_STATIC"
> }
> }
policy {
policy-statement "REDIST_STATIC" {
term 1 {
from {
network4: 192.168.3.0/24
}
}
}
> policy-statement "bgp-in" {
> term 0 {
> from {
> neighbor: 192.168.1.28
> }
> }
> }
}
fea {
unicast-forwarding4 {
disable: false
}
}
interfaces {
restore-original-config-on-shutdown: false
interface eth0 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth0 {
disable: false
address 192.168.1.40 {
prefix-length: 24
disable: false
}
}
}
interface eth1 {
description: ""
disable: false
discard: false
unreachable: false
management: false
vif eth1 {
disable: false
address 192.168.3.1 {
prefix-length: 24
disable: false
}
}
}
}
More information about the Xorp-users
mailing list