Manual Chapter : Routing commands for BGP in ZebOS, tmsh, and iControl REST

Applies To:

Show Versions Show Versions


  • 17.1.1, 17.1.0, 17.0.0, 16.1.4, 16.1.3, 16.1.2, 16.1.1, 16.1.0, 16.0.1, 16.0.0, 15.1.9, 15.1.8, 15.1.7, 15.1.6, 15.1.5, 15.1.4, 15.1.3, 15.1.2, 15.1.1, 15.1.0, 15.0.1, 15.0.0, 14.1.5, 14.1.4, 14.1.3, 14.1.2, 14.1.0, 14.0.1, 14.0.0
Manual Chapter

Routing commands for BGP in ZebOS, tmsh, and iControl REST

The structure of commands for ZebOS,
, and iControl REST are different, and users who are familiar with ZebOS will want to understand the basic rules underlying these differences between commands. Here you can compare the same advanced routing command in ZebOS IMI,
, and iControl REST.
iControl REST
Create BGP instance
router bgp 65001
create net routing bgp test local-as 65001
curl -sk -u admin:admin https://localhost/mgmt/tm/net/routing/bgp -H 'Content-Type: application/json' -X POST -d '{"name":"test","localAs":"65001"}'
Create BGP Neighbor
neighbor remote-as 65002
modify net routing bgp test neighbor add { { remote-as 65002 } }
curl -sk -u admin:admin https://localhost/mgmt/tm/net/routing/bgp/~Common~test/neighbor -H 'Content-Type: application/json' -X POST -d '{"name": "", "remoteAs": "650012"}'
Show BGP Status
show bgp neighbor
show net routing bgp
curl -sk -u admin:admin https://localhost/mgmt/tm/net/routing/bgp/stats
Delete BGP instance
no router bgp 65001
delete net routing bgp test
curl -sk -u admin:admin https://localhost/mgmt/tm/net/routing/bgp/~Common~test -X DELELE
Add BGP Network
modify net routing bgp test network add { }
curl -sk -u admin:admin https://localhost/mgmt/tm/net/routing/bgp/~Common~test/network -H 'Content-Type: application/json' -X POST -d '{"name": ""}'