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

Applies To:

Show Versions Show Versions

BIG-IP LTM

  • 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,
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 1.1.1.1 remote-as 65002
modify net routing bgp test neighbor add { 1.1.1.1 { 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": "1.1.1.1", "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 10.10.10.0/24
modify net routing bgp test network add { 10.10.10.0/24 }
curl -sk -u admin:admin https://localhost/mgmt/tm/net/routing/bgp/~Common~test/network -H 'Content-Type: application/json' -X POST -d '{"name": "10.10.10.0/24"}'