[Xorp-hackers] Does anybody have some suggesstion about SNMP?

Li Zhao lizhaous2000 at yahoo.com
Fri Jan 8 06:55:53 PST 2010


That is not easy to do in Xorp.  I had a silmilar experience 
to create a static route from one module directly, but that static route 
can not be seen in cli "configuration mode" via "show -all". On the other hand in 
cli "operational mode" you can see these static routes via "show route table ipv4 unicast static".
It is legally beneficial to separate these two sets of configuration.

But in case of SNMP that would be another story. I worked in other routing suites before, in that case, SNMP and cli
can see each other's config. It seems to me that they are functionally redundant except that snmp is used by some application.

--- On Thu, 1/7/10, wancheng82 <wancheng82 at gmail.com> wrote:

> From: wancheng82 <wancheng82 at gmail.com>
> Subject: Re: Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP?
> To: "Li Zhao" <lizhaous2000 at yahoo.com>, "xorp-hackers" <xorp-hackers at icir.org>
> Date: Thursday, January 7, 2010, 7:58 PM
> 
> 
>  
>  
>  _filtered #yiv650091993 {
> font-family:宋体;
> }
>  _filtered #yiv650091993 {
> font-family:Verdana;
> }
>  _filtered #yiv650091993 {
> 
> }
>  _filtered #yiv650091993 {margin:72.0pt 90.0pt 72.0pt
> 90.0pt;}
> #yiv650091993 P.MsoNormal {
> TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm
> 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;}
> #yiv650091993 LI.MsoNormal {
> TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm
> 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;}
> #yiv650091993 DIV.MsoNormal {
> TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm
> 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;}
> #yiv650091993 A:link {
> COLOR:blue;TEXT-DECORATION:underline;}
> #yiv650091993 SPAN.MsoHyperlink {
> COLOR:blue;TEXT-DECORATION:underline;}
> #yiv650091993 A:visited {
> COLOR:purple;TEXT-DECORATION:underline;}
> #yiv650091993 SPAN.MsoHyperlinkFollowed {
> COLOR:purple;TEXT-DECORATION:underline;}
> #yiv650091993 SPAN.EmailStyle17 {
> FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;}
> #yiv650091993 DIV.Section1 {
> }
> #yiv650091993 UNKNOWN {
> FONT-SIZE:10pt;}
> #yiv650091993 BLOCKQUOTE {
> MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;}
> #yiv650091993 OL {
> MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}
> #yiv650091993 UL {
> MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}
> 
> 
>  
> CLI and
> SNMP consistency means if 
> we use snmp set to change a configuration,
> if this configuration is at CLI
> command tree, this CLI 
> node should be changed too.
> It is not easy to to this based
> on xorpsh and rtrmgr 
> architecture.
>  
> Thank you.
> Robin
>  
>  
> 2010-01-08 
> 
> 
> wancheng82 
> 
> 
> 
> 发件人: Li Zhao
> 
> 发送时间: 2010-01-08 
> 00:04:03 
> 
> 收件人: xorp-hackers;
> wancheng82 
> 
> 抄送: 
> 主题: Re: [Xorp-hackers] Does
> 
> anybody have some suggesstion about SNMP? 
>  
> 
> If you need to make cli set and snmp set consistent, you probably need
> to make call the same xrl interfaces. But what you set in cli can not be cleared
> through snmp, probably.
> 
> --- On Wed, 1/6/10, wancheng82 <wancheng82 at gmail.com> wrote:
> 
> > From: wancheng82 <wancheng82 at gmail.com>
> > Subject: Re: [Xorp-hackers] Does anybody have some suggesstion about SNMP?
> > To: "xorp-hackers" <xorp-hackers at icir.org>
> > Date: Wednesday, January 6, 2010, 8:07 PM
> > 
>> >  
> >  
> >  _filtered #yiv559616460 {
> > font-family:宋体;
> > }
> >  _filtered #yiv559616460 {
> > font-family:Verdana;
> > }
> >  _filtered #yiv559616460 {
>> > }
> >  _filtered #yiv559616460 {margin:72.0pt 90.0pt 72.0pt
> > 90.0pt;}
> > #yiv559616460 P.MsoNormal {
> > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm
> > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;}
> > #yiv559616460 LI.MsoNormal {
> > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm
> > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;}
> > #yiv559616460 DIV.MsoNormal {
> > TEXT-JUSTIFY:inter-ideograph;FONT-SIZE:10.5pt;MARGIN:0cm
> > 0cm 0pt;FONT-FAMILY:"Times New Roman";TEXT-ALIGN:justify;}
> > #yiv559616460 A:link {
> > COLOR:blue;TEXT-DECORATION:underline;}
> > #yiv559616460 SPAN.MsoHyperlink {
> > COLOR:blue;TEXT-DECORATION:underline;}
> > #yiv559616460 A:visited {
> > COLOR:purple;TEXT-DECORATION:underline;}
> > #yiv559616460 SPAN.MsoHyperlinkFollowed {
> > COLOR:purple;TEXT-DECORATION:underline;}
> > #yiv559616460 SPAN.EmailStyle17 {
> > FONT-WEIGHT:normal;COLOR:windowtext;FONT-STYLE:normal;FONT-FAMILY:Verdana;TEXT-DECORATION:none;}
> > #yiv559616460 DIV.Section1 {
> > }
> > #yiv559616460 UNKNOWN {
> > FONT-SIZE:10pt;}
> > #yiv559616460 BLOCKQUOTE {
> > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;MARGIN-LEFT:2em;}
> > #yiv559616460 OL {
> > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}
> > #yiv559616460 UL {
> > MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}
>>> >  
> > Our team
> > is developing 
> > one Layer2 switch stack based on xorp.
> > We want to support
> > SNMP.
> > But it
> > seems not easy to do 
> > these:
> > 1)If we add SNMP SET,how
> > to make sure CLI 
> > and SNMP configuration consistent
> > 2)How to make the development
> > easizer?
> >    I saw the
> > implementation of 
> >  BGP-MIB, and it is not easy to understand(May be
> > I need to learn more 
> > about NET-SNMP api).
> > 3)How to make the efficency
> > better?
> >    Also the
> > efficiency is not good, 
> > because BGP-MIB module maintains a timer to get info from
> > BGP 
> > target.
> >    
> > My idea is to integrated agent++
> > as one module, but I 
> > have not begin to think about it.
> >  
> > Thank you.
> >  
> > Robin.
> > 2010-01-07 
>>> > wancheng82 
>>>> > 发件人: Ben Greear
>> > 发送时间: 2010-01-07 
> > 04:22:15 
>> > 收件人: cheng wan
>> > 抄送: xorp-hackers
>> > 主题: Re: [Xorp-hackers] Does
>> > anybody have some suggesstion about SNMP? 
> >  
>> > On 01/06/2010 02:20 AM, cheng wan wrote:
> > > Xorp removes SNMP after version 1.6.
> > > I went through the SNMP part code and found it was not easy to read/write.
> > > How about this:
> > > Add agent++ as agent process to Xorp system.
> > > Modify agent++ to support xrl IPC.
> > > Agent++ is written in C++ and more lightwight than NET-SNMP.
> > > Thank you.
> > > Robin
>> > Out of curiosity, what do you need from Xorp that isn't supported by the OS
> > already?
>> > Thanks,
> > Ben
>> > -- 
> > Ben Greear <greearb at candelatech.com>
> > Candela Technologies Inc  http://www.candelatech.com
> >  
>> > -----Inline Attachment Follows-----
>> > _______________________________________________
> > Xorp-hackers mailing list
>Xorp-hackers at icir.org
>http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>> 
> 
>       
> 
> 


      



More information about the Xorp-hackers mailing list