F5

From KeegansWiki
Revision as of 09:39, 9 November 2012 by Keegan (talk | contribs) (→‎tmsh)
Jump to navigation Jump to search

Command line utils

tmsh

  • Save config: save sys config partitions all
  • Create node with name 'xxx': create ltm node /ims/xxx { address 1.1.1.1 }
  • Create pool:
tmsh create ltm pool /demo-dashboard/ddsdemo-webapp02-7_http_pool members add { /demo-dashboard/ddsdemo-webapp02-7:80 } monitor http load-balancing-mode observed-node
  • Create VS:
tmsh create ltm virtual /demo-dashboard/ddsdemo-web_http_VS { destination 10.93.53.128:80 rules { automap_snat_23_network } \
pool /demo-dashboard/ddsdemo-web_http_pool ip-protocol tcp profiles add { /Common/http } }
  • Create vlans
create net vlan frm_inside interfaces add { trunk_1 { tagged } } tag 570
  • Create Self Ips:
tmsh create net self 10.93.93.$SELF { address 10.93.93.$SELF/24 allow-service all traffic-group traffic-group-local-only vlan frm_inside_beta }
tmsh create net self 10.93.93.$FLOAT { address 10.93.93.$FLOAT/24 allow-service all vlan frm_inside_beta traffic-group traffic-group-3

bigpipe

Delete pool

b pool foo_pool delete

Saving configs

  • use bigpipe load if you make a manual change to the config
  • use bigpipe save if you use the bigpipe command to make changes

Add new Parititon

  • Systems > users > Partition List

Setup F5 VE

  • username: root, password: default
  • to change the ip, run 'config' at the command line

Adding new Subnet to the Ashburn F5

Create the Vlan

  • go to Network -> VLANs on the left, then click Create
  • Scroll down to the last Available Interface (P6506-1_T1), move it to tagged

Add Self IP

  • go to Self IPs on the left, click Create
  • Assign IP based off first 3 octets, eg 10.251.28.7, add apropriate netmask
  • Select new vlan from list
  • Repeat for 10.251.28.9
    • Select Floating IP, then Unit ID 1

Create Node

  • Name EG_INSIDE_fw_gw
  • IP 10.251.28.1

Create Pool

  • Name EG_INSIDE_fw_gw_pool
  • Add gateway_icmp health check
  • Add newly created node
  • Port is All Services

Create VS

  • Name EG_INSIDE_fw_gw_fvs
  • Type Network
    • Both address and mask are 0.0.0.0
  • Type is Layer 4
  • All ports
  • Protocol is All
  • Chose vlan created in step 1