Forum Discussion
Regarding CLI details for running/setting the basic networking settings
Dear Experts,
I am in need of CLI details for running the setup utility soon after deploying through command line interface. I just need to set the below details using cli.
Management interface settings such as the IP address, netmask, and default gateway Host IP address Host name High availability settings Time zone User administration settings, such as the Root and Admin account passwords Support access and password settings SSH access and IP address range settings
Thanks in Advance.
Regards, Prakash.K
5 Replies
- Vitaliy_Savrans
Nacreous
- nitass
Employee
Management interface settings such as the IP address, netmask, and default gateway
they are under sys management-ip and sys management-route.
Host name
Time zone User administration settings, such as the Root and Admin account passwordssol13369: Performing a first-time configuration from the command line (11.x)
http://support.f5.com/kb/en-us/solutions/public/13000/300/sol13369.htmlHigh availability settings
sol13639: Creating a device group using the Traffic Management Shell
http://support.f5.com/kb/en-us/solutions/public/13000/600/sol13639.htmlSSH access and IP address range settings
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys db service.ssh.allow sys db service.ssh.allow { value "ALL" } root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys db service.httpd.allow sys db service.httpd.allow { value "All" } - afedden_1985
Cirrus
Here are a few commands that might help, that were given to me for new box standup.
---------Management--------------------- create /sys management-ip 172.16.0.100/24 create /sys management-route default gateway 172.16.0.1
---------Licensing (mostly BASH)-------- run util get-dossier -b ABCDE-ABCDE-ABCDE-ABCDE-ABCDEFG bash vi /config/bigip.license bash reloadlic
---------Provisioning------------------- modify /sys provision ltm level nominal modify /sys provision gtm level nominal
---------System------------------------- modify auth user admin { password admin } modify ntp timezone "America/Los_Angeles" modify sys global-settings hostname BIGIP.agilitycloud.local modify sys dns name-servers add { 172.16.0.1 172.16.0.2 } modify ntp servers add {172.16.0.1} modify sys global-settings gui-setup disabled
---------Provider Partitioning---------- create partition Provider description "Repository for Provider objects"
---------Networking--------------------- create net vlan /Provider/ProviderVlan interfaces add 1.1 create net self /Provider/ProviderSelf address 172.16.10.100/24 allow-service default vlan ProviderVlan create net route /Provider/DefaultGateway { gw 172.16.8.1 network default} create net route /Provider/Specific_Route { gw 172.16.8.1 network 172.16.0.1/32 }
---------Authorization------------------ tmsh create auth ldap system-auth { bind-dn cn=admin,dc=agilitycloud,dc=local bind-pw meatballs login-attribute uid search-base-dn dc=agilitycloud,dc=local servers add { 10.0.21.135 } user-template uid=%s,ou=Users,dc=agilitycloud,dc=local } modify auth remote-role { role-info add { testusers { attribute memberof=ou=Users,dc=agilitycloud,dc=local console tmsh line-order 1 role manager user-partition Tenant } } }
---------Tenant Partitioning------------------- create auth user Partition_Admin { role admin partition-access all password notarealpassword shell bash } create partition Tenant1 description "Repository for Tenant1 objects"
---------Tenant Networking-------------- create net vlan /Tenant1/Tenant1Vlan interfaces add 1.2 create net self /Tenant1/Tenant1Self address 172.16.20.100/16 allow-service default vlan Tenant1Vlan
- Prakash_Krishna
Nimbostratus
Thanks a lot for all your responses. It definitely helps me.
Can i write a script which should generate the dossier for registration key, get the license key and apply to my F5 box. I just wanted to automate this process as well.
Regards, Prakash.K
- nitass
Employee
Can i write a script which should generate the dossier for registration key, get the license key and apply to my F5 box.
i think it is possible if you can find out how to send dossier to licensing server and accept license agreement. not sure if http analyzer tool, such as httpfox, helps.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com