Useful
F5 BIG-IP CLI Commands
Bigtop – shows quick summary of
stats for virtual and real servers
B interface – display interface
information and stats. Can see volumes and any error conditions
B vlan show – display vlan
information and stats
B route – display routing table
b conn server/client show –
display connections to the ip address ‘ip-addr’
b version – display F5 OS, Linux OS, and
hardware platform information
b platform – display hardware information
including serial number
b node - display
node(server) stats. Entering ‘b node’ will display all nodes
b virtual show –
display virtual-server (b virtual shows
all)
b pool - display pool-name
b load – replaces the running config with the
config in the stored config file (bigip.conf). This can be invokved at times to
reset the existing config if some odd conditions are occurring. It is
disruptive.
b load
myconfig.conf – replace the running config with the config in myconfig.conf
b config install - restore a
backed up config. Move the .ucs file (tftpdir/pub) from DMS to F5
b failover show – display failover status of
the device. Useful to understand if failover occurred and when
b config synch show – display config
synchronization status. Useful to know if config synch has occurred.
bigstart list
-lists all bigip services
bigstart restart - restarts
the specific service (e.g,. bigstart restart httpd ). This can be useful if
there is a specific issue –e.g., if http is an issue then ‘bigstart restart
httpd’ will restart just the http service.
bigstart restart – stop and restart ALL F5
functions/processes (does NOTperform a Linux/system reboot)
reboot – reboot entire BIGIP system
LTM Log files – located in var/log with a
prefix of ‘ltm’. Files are a ring that is overwritten –e.g.,. ltm.1.gz
GTM Log files – located in var/log with a
prefix of ‘gtm’. Files are a ring that is overwritten – e.g., gtm.1.gz
Configuration Files
/config/bigip.conf
|
main configuration file containing
objects for local application traffice such as pools, virtuals servers, pools
etc.
|
/config/bigip.license
|
system licenses
|
/config/bigip_base.conf
|
networking components (bigpipe base load)
not sync`d for HA setups.
|
/config/bigip_local.conf
|
stores virtuals servers for GTM
|
/config/bigip_sys.conf
|
stores the Linux/UNIX configuration
objects
|
/etc/alertd/alert.conf
|
defines custom SNMP OID`s.
|
No comments:
Post a Comment