Thursday, March 8, 2012

F5 Bigip 10.2.x 'den 11.x ' geçişteki komut değişiklikleri bigpipe yerin tmsh

Source :  " https://devcentral.f5.com/wiki/tmsh.BigpipeMappings.ashx "

Bigpipe to tmsh integration From 10.2.x to 11.x passing

bigpipe command tmsh CommandComment
b arp showshow /net arp all
b arp all deletetmsh delete /net arp all
b class DATA-GROUP mode readmodify ltm data-group DATA-GROUP access-mode read-only
b class showshow running-config /ltm data-group
b cluster showshow /sys cluster all-properties
b config load file.ucsload /sys ucs file.ucs
b config save file.ucssave /sys ucs file.ucs
b config syncrun /cm config-sync from-group/to-group DEVICEGROUPNAME
b conn showshow /sys connection
b conn show allshow /sys connection all-propertiesShow all connection table properties
b conn ss server node-ip:node-port deletedelete /sys connection ss-server-addr node-ip ss-server-port node-portDelete connection table entries for node-ip node-port
b daemon listlist /sys daemon-ha all-properties
b db < key name > < value >modify /sys db < key name > value < value >Modify database values
b db Platform.PowerSupplyMonitor disabletmsh modify sys db platform.powersupplymonitor value disableDisables PSU alert if only one PSU in use on Dual PSU system
b db showshow running-config /sys db -hidden all-properties
b export my.config.scfsave /sys scf my.config.scfv10.x only
b export my.config.scfsave /sys config file my.config.scf tar-file my.config.tarv11.0+
b failover standbyrun /sys failover standbyv11+
b fo showshow /sys failover
b fo standbyrun /util bigpipe fo standbyv10+
b ha tableshow /sys ha-status all-properties
b ha table showshow /sys ha-status all-properties
b httpd listlist /sys httpdTo list httpd configuration.
b import my.config.scfload /sys scf my.config.scfv10.x only
b import my.config.scfload /sys config file my.config.scf tar-file my.config.tarv11.0+
b interface show -jshow /net interface -hidden all-properties-hidden is not tab completable, but should be shown in the command output on iHealth.
b loadload sys config partitions all
b mergeload /sys config mergeAdded in v11. In v10 use bigpipe
b merge /path/to/file.txttmsh load /sys config file /path/to/file.txt mergeMerge a file into the BIG-IP configuration. Added in v11. In v10, use bigpipe
b mgmt showshow running-config /sys management-ip
b monitor showshow running-config /ltm monitor (?)
b nat showshow /ltm nat all or list /ltm nat all-propertiesThe two tmsh commands are required here since b nat show will list the unit preference and ARP status. Statistical information is shown via "show" while configuration information is shown via "list".
b node all monitor show

b node showshow /ltm node
b packet filter all showshow /net packet-fliter
b partitionlist auth partitionno "show" command yet, list will only show written partitions
b platformshow /sys hardware
b pool listlist /ltm pool
b pool showshow /ltm pool members
b profile access all stats

b profile auth all show allshow /ltm auth profile allThe tmsh auth command does not display associated OCSP information shown by bigpipe.
b profile http ramcache showshow /ltm profile http
b profile http statsshow /ltm profile http
b profile ssl statsshow /ltm profile ssl
b profile tcp showshow /ltm profile tcp
b profile tcp statsshow /ltm profile tcp
b profile udp showshow /ltm profile udp
b profile udp statsshow /ltm profile udp
b profile xml showshow /ltm profile xml
b route showshow /net route all
b rule < rule > show allshow /ltm rule < rule >
b rule showshow /ltm rule all
b rule stats resetreset-stats /ltm rule < rule >
b savesave sys config partitions all
b self showshow running-config /net self
b snatshow /ltm snat
b snatpool showshow /ltm snatpool
b softwareshow sys software
b software desiredinstall sys software image NAME volume HDX.Y reboot
b software desiredinstall sys software image IMAGE create-volume volume HD1.Xv11.0+ : Creates volume and installs software. (Cannot create empty volumes in v11)
b stp showshow running-config /net stp all-properties
b syslog list alllist sys syslog all-properties
b syslog remote server nonemodify sys syslog remote-servers none
b syslog remote server test-srv host 192.168.206.47modify sys syslog remote-servers add {test-srv{host 192.168.206.47}}You can append "remote-port 517" for example to the end of the command to specify the port
b syslog remote server test-srv local ip 172.28.72.90modify sys syslog remote-servers modify {test-srv{local-ip 172.28.72.90}}The self ip must be non-floating
b system hostnamemodify sys global-settings hostname NEWHOST.EXAMPLE.COM
b trunk show -jshow /net trunk -hidden all
b trunk all lacp showshow /net trunk detail
b unit show

b verify loadload sys config verify
b versionshow /sys versionTakes grep (but not "head" as in "b version |head") - for example, grep on build: tmsh show sys version |grep -i build
b virtual address showshow /ltm virtual-address all-properties"show" does not show the objects used by the virtual, and list does not show statistics.
b virtual all show allshow /ltm virtual all-properties or list /ltm virtual all-properties"show" does not show the objects used by the virtual, and list does not show statistics.
b vlan all show all -jshow /net vlan -hidden
b vlangroup all show allshow /net vlan-group all
bigstart status|start|stop|restart SERVICE_NAMEshow|start|stop|restart sys service SERVICE_NAME
bpsh (?)load sys config from-terminal mergeMerge config from interactive shell. Paste/type the config objects you want to add. Then type Ctrl+d to complete the submission or Ctrl+c to cancel the input. Added in v11.0.

Linux Commands (Commands only accessible from the CLI)

Linux CommandtmshComment
arp -anrun /util bash -c "arp -an"
crontab -lrun /util bash -c "crontab -l"
daterun /util bash -c "date"
df -hrun /util bash -c "df -h"
df -irun /util bash -c "df -i"
df -ikrun /util bash -c "df -ik"
eud_info (version)run /util bash -c "eud_info (version)"
freerun /util bash -c "free"
grub default -drun /util bash -c "grub default -d"
grub default -lrun /util bash -c "grub default -l"
halidrun /util bash -c "halid"
hsb snapshot (version)run /util bash -c "hsb snapshot (version)"
ifconfig -arun /util bash -c "ifconfig -a"
interruptsrun /util bash -c "interrupts"
ip -f dnet addr showrun /util bash -c "ip -f dnet addr show"
ip -f inet addr showrun /util bash -c "ip -f inet addr show"
ip -f inet link showrun /util bash -c "ip -f inet link show"
ip -f inet neigh showrun /util bash -c "ip -f inet neigh show"
ip -f inet route showrun /util bash -c "ip -f inet route show"
ip -f inet rule showrun /util bash -c "ip -f inet rule show"
ip -f inet tunnel showrun /util bash -c "ip -f inet tunnel show"
ip -f inet6 addr showrun /util bash -c "ip -f inet6 addr show"
ip -f inet6 link showrun /util bash -c "ip -f inet6 link show"
ip -f inet6 neigh showrun /util bash -c "ip -f inet6 neigh show"
ip -f inet6 route showrun /util bash -c "ip -f inet6 route show"
ip -f inet6 tunnel showrun /util bash -c "ip -f inet6 tunnel show"
ip -f ipx addr showrun /util bash -c "ip -f ipx addr show"
ip -f link addr showrun /util bash -c "ip -f link addr show"
ip -f link link showrun /util bash -c "ip -f link link show"
ip -f link neigh showrun /util bash -c "ip -f link neigh show"
ip -f link route showrun /util bash -c "ip -f link route show"
ls -las /var/local/ucsrun /util bash -c "ls -las /var/local/ucs"
ls -lasLR /dev/mprov/run /util bash -c "ls -lasLR /dev/mprov/"
ls -lasLR /var/corerun /util bash -c "ls -lasLR /var/core"
ls -lasR /bootrun /util bash -c "ls -lasR /boot"
ls -lasR /hotfixrun /util bash -c "ls -lasR /hotfix"
lsof -nrun /util bash -c "lsof -n"
meminforun /util bash -c "meminfo"
mountrun /util bash -c "mount"
netstat -ngerun /util bash -c "netstat -nge"
netstat -nirun /util bash -c "netstat -ni"
netstat -panrun /util bash -c "netstat -pan"
netstat -sarun /util bash -c "netstat -sa"
ntpdc -n -c peer 127.0.0.1run /util bash -c "ntpdc -n -c peer 127.0.0.1"
ntpq -pnrun /util bash -c "ntpq -pn"
pcirun /util bash -c "pci"
pstreerun /util bash -c "pstree"
qkviewrun /util qkview
rpm -qarun /util bash -c "rpm -qa"
switchboot -lrun /util bash -c "switchboot -l"Or use: /sys reboot volume < volume >
sysctlrun /util bash -c "sysctl"
toprun /util bash -c "top"
vmstatrun /util bash -c "vmstat"
who -aHrun /util bash -c "who -aH"



No comments:

Post a Comment