Junos
Junos

Netconf - BGP sessions management

‎05-21-2009 04:40 AM

Hello,

is there a possibility to clear bgp sessions using netconf or junoscript?

2 REPLIES 2
Junos

Re: Netconf - BGP sessions management

‎05-21-2009 06:21 AM

I'm unfamiliar with Netconf but you can do this with JUNOScript or with a local op script.  There is no API Element for the "clear bgp sessions" command but you can send the following element instead:

 

<command> "clear bgp session" </command>

 

Replace the string with the  full command you would enter on the CLI prompt.

Highlighted
Junos

Re: Netconf - BGP sessions management

‎05-22-2009 04:28 AM
Thanks, it works withw "<command></command>"