R: Re: [Xorp-users] Is there a way to switch the e_bit value to 1?

riccardo.sciaccaluga@tin.it riccardo.sciaccaluga@tin.it" <riccardo.sciaccaluga@tin.it
Fri, 25 Nov 2005 16:28:20 +0100 (GMT+01:00)


HI
I updated my Xorp version at the latest CVS and i added to my config 
file the code lines you sent to me too;
Next i set up an ospf session 
between two Xorp router and i sniffed the traffic in between but the 
option field of network LSAs was still 0.
Checking by xorp bash command 
:"show policy policy-statement static term export then ebit" on 
configuration mode, i saw that ebit is 1 but it doesn't seem to have 
any effect on the real packet sent over the network.
 


----Messaggio 
originale----
Da: atanu@ICSI.Berkeley.EDU
Data: 24-nov-2005 7.20 PM
A: 
"riccardo.sciaccaluga@tin.it"<riccardo.sciaccaluga@tin.it>
Cc: <xorp-
users@xorp.org>
Ogg: Re: [Xorp-users] Is there a way to switch the 
e_bit value to 1? 

The way to set the E bit value is in an export 
policy statement:

policy {
    policy-statement static {
	term export 
{
	    from {
		protocol: "static"
	    }
	    then {
		ebit: true	/* 
true for type 2 , false for type 1 */
	    }
	}
    }
}

protocols {
    ospf4 {
	export "static"
...

The default setting for the E bit 
value was changed from 0 to 1 earlier
this week.
<http://www.xorp.
org/bugzilla/show_bug.cgi?id=368>

	Atanu.

>>>>> "riccardo" == 
riccardo  <riccardo.sciaccaluga@tin.it> writes:

    riccardo> Thanks 
mike for the config file you sent to me.  Does
    riccardo> anybody 
know how to change the e_bit value on xorp?  i
    riccardo> mean it 
doesn't seem possible by xorp shell but is there a
    riccardo> 
specific part of the source code to be modified to change
    riccardo> 
that value to 1?  Thanks so much

    riccardo> 
_______________________________________________ Xorp-users
    
riccardo> mailing list Xorp-users@xorp.org
    riccardo> http://mailman.
ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
_______________________________________________
Xorp-users mailing list
Xorp-users@xorp.org
http://mailman.ICSI.Berkeley.
EDU/mailman/listinfo/xorp-users