[Xorp-users] xorpsh load command
Arsi Antila
bbb999 at zerodistance.fi
Fri Jan 18 08:57:47 PST 2008
On Wed, Jan 16, 2008 at 07:53:41AM -0800, Pavlin Radoslavov wrote:
> > I have experimented switching between different configurations by using
> > the xorpsh load command. It seems to work OK, but I found one situation
> > which produces an error message. This happens when I try to convert OSPF
> > link type from broadcast to p2p, as described below.
>
> This problem seems to be different from the previous one.
> It looks like it has to do something with the OSPF internals so I
> would have to pass the debugging token to Atanu.
>
Here is something else that works differently when xorpsh-load is used,
as compared to giving configuration as parameter when starting XORP.
When I try to change BSR scope-zone from 225.0.0.1/32 to 225.0.0.2/32 by
using xorpsh-load, BSR state never goes to 'Elected' as it does when the
configuration is given as a parameter when starting XORP. Steps below:
- Start XORP with xorp1.conf
- Wait 2 minutes. BSR in 'Elected' state.
> show pim bootstrap
Active zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
12.1.0.1 1 12.1.0.1 1 Elected 58
-1
Expiring zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
Configured zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
12.1.0.1 1 12.1.0.1 1 Init -1
-1
# load xorp2.conf
[ 2008/01/18 14:16:02 INFO xorp_pimsm4 PIM ] Bootstrap mechanism stopped
[ 2008/01/18 14:16:02 INFO xorp_pimsm4 PIM ] Bootstrap mechanism started
[ 2008/01/18 14:16:02 INFO xorp_rtrmgr:11446 RTRMGR +2228 task.cc
run_task ] No more tasks to run
Load done.
[edit]
> show pim bootstrap
Active zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
Expiring zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
Configured zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
12.1.0.1 1 12.1.0.1 1 Init -1
-1
- After 2 minutes, BSR not shown in 'Elected' state
- When starting XORP with 'xorp2.conf' as parameter, BSR is shown in
'Elected' state after 2 minutes:
> show pim bootstrap
Active zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
12.1.0.1 1 12.1.0.1 1 Elected 53
-1
Expiring zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
Configured zones:
BSR Pri LocalAddress Pri State Timeout
SZTimeout
12.1.0.1 1 12.1.0.1 1 Init -1
-1
--- xorp1.conf ---
interfaces {
restore-original-config-on-shutdown: false
interface eth2 {
default-system-config
}
}
protocols {
pimsm4 {
interface eth2 {
vif eth2 {
}
}
interface register_vif {
vif register_vif {
disable: false
}
}
bootstrap {
cand-bsr {
scope-zone 225.0.0.1/32 {
cand-bsr-by-vif-name: "eth2"
cand-bsr-by-vif-addr: 12.1.0.1
}
}
}
}
}
plumbing {
mfea4 {
interface eth2 {
vif eth2 {
}
}
interface register_vif {
vif register_vif {
}
}
}
}
--- xorp2.conf ---
interfaces {
restore-original-config-on-shutdown: false
interface eth2 {
default-system-config
}
}
protocols {
pimsm4 {
interface eth2 {
vif eth2 {
}
}
interface register_vif {
vif register_vif {
disable: false
}
}
bootstrap {
cand-bsr {
scope-zone 225.0.0.2/32 {
cand-bsr-by-vif-name: "eth2"
cand-bsr-by-vif-addr: 12.1.0.1
}
}
}
}
}
plumbing {
mfea4 {
interface eth2 {
vif eth2 {
}
}
interface register_vif {
vif register_vif {
}
}
}
}
More information about the Xorp-users
mailing list