cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
766
Views
0
Helpful
0
Replies

restapi bgp neighbor password

Subbiah.k
Level 1
Level 1

Hi All,

I am trying to create the "bgp neighbor password" from restapi but i could not able to find any details on what details i have to place it in JSON

 

curl --insecure -v -H "Accept:application/json" -H "X-Auth-Token: xD60W9tcf4TQEBi3FzXZId7kffF7SawJgBVz4H5h7QE=" -H "content-type: application/json" -X POST https://15.40.96.21:55443/api/v1/vrf/pepsi/routing-svc/bgp/39728/neighbors -d '{"routing-protocol-id": "39728", "remote-as": "6412", "address": "152.13.25.25" , "fall-over": {"enable": true, "method": ""} }'

 

The above command i could able to use it successfully but i could not able to create the password.

 

router bgp 33728
address-family ipv4 <vrf name>
neighbor 152.13.25.25 remote-as 64512
neighbor 152.13.25.25 password <password> # could not able to find what information i have to place it in restapi
neighbor 169.254.96.5 default-originate ## same here

can you guide me...

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: