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

Applies To:

Show Versions Show Versions


  • 14.1.2, 14.1.0, 14.0.1, 14.0.0, 13.1.3, 13.1.1, 13.1.0
Manual Chapter

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

The structure of commands for ZebOS, tmsh, 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, tmsh, and iControl REST.

Description ZebOS IMI tmsh 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 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": ""}'