[Xorp-users] BGP module deactivated
Yue Li
yueli.m at gmail.com
Sat May 10 14:22:16 PDT 2008
The following config file makes bgp module deactivated.
No bgp packets are captured by using tcpdump.
And also, I can't enter the xorpsh, the ERROR is "Failed to register
with finder".
/* This file is generated for XORP Router: 10.0.0.10*/
interfaces {
interface tun0 {
disable: false
vif tun0 {
disable: false
address 10.0.0.10 {
prefix-length: 30
disable: false
}
}
}
interface tun1 {
disable: false
vif tun1 {
disable: false
address 10.0.4.162 {
prefix-length: 30
disable: false
}
}
}
}
policy {
policy-statement bgp_in {
term 0 {
from {
neighbor: 10.0.0.9
}
then {
accept
}
}
term 1 {
from {
neighbor: 10.0.4.161
}
then {
accept
}
}
term import_last {
then {
reject
}
}
}
policy-statement bgp_out {
term 0 {
from {
protocol: "static"
network4: 194.103.154.0/24
}
to {
neighbor: 10.0.0.9
}
then {
nexthop4: 10.0.0.10
accept
}
}
term 1 {
from {
protocol: "static"
network4: 194.114.240.0/24
}
to {
neighbor: 10.0.0.9
}
then {
nexthop4: 10.0.0.10
accept
}
}
term 4 {
from {
protocol: "static"
network4: 194.103.154.0/24
}
to {
neighbor: 10.0.4.161
}
then {
nexthop4: 10.0.4.162
accept
}
}
term 5 {
from {
protocol: "static"
network4: 194.114.240.0/24
}
to {
neighbor: 10.0.4.161
}
then {
nexthop4: 10.0.4.162
accept
}
}
term export_last {
then {
reject
}
}
}
}
protocols {
static {
route 194.103.154.0/24 {
next-hop: 10.0.0.10
metric: 1
}
route 194.114.240.0/24 {
next-hop: 10.0.0.10
metric: 1
}
}
bgp {
bgp-id: 10.0.0.10
import: "bgp_in"
export: "bgp_out"
local-as: 21200
traceoptions {
flag {
all {
disable: true
}
}
}
peer 10.0.0.9 {
local-ip: 10.0.0.10
as: 3301
next-hop: 10.0.0.10
ipv4-multicast: false
ipv6-unicast: false
ipv6-multicast: false
}
peer 10.0.4.161 {
local-ip: 10.0.4.162
as: 8434
next-hop: 10.0.4.162
ipv4-multicast: false
ipv6-unicast: false
ipv6-multicast: false
}
}
}
More information about the Xorp-users
mailing list