A neat feature to find files.
first update the database
ubuntu$ sudo updatedb
ubuntu$ sudo updatedb
[sudo] password for user:
Now you can run the locate command to find any key word you want.
ubuntu:$ locate dynamips
/usr/bin/dynamips
/usr/lib/pymodules/python2.6/dynamips_lib.py
/usr/lib/pymodules/python2.6/dynamips_lib.pyc
/usr/share/doc/dynamips
/usr/share/doc/dynamips/README.Debian
/usr/share/doc/dynamips/README.gz
/usr/share/doc/dynamips/README.hypervisor.gz
Author: admin
F5 software upgrade.
Install the new version 11.4.1 to HD1.3 then run the following command.
cpcfg –source=HD1.2 HD1.3
[root@LTM05:Active:In Sync] config # cpcfg –source=HD1.2 HD1.3
info: Getting configuration from HD1.2
info: Copying configuration to HD1.3
info: Applying configuration to HD1.3
[root@LTM05:Active:In Sync] config # tmsh
root@(LTM05)(cfg-sync In Sync)(Active)(/Common)(tmos)# reboot ?
Options:
volume Reboot into the specified volume
root@(LTM05)(cfg-sync In Sync)(Active)(/Common)(tmos)# reboot volume HD1.3
The system will be rebooted momentarily
root@(LTM05)(cfg-sync In Sync)(Active)(/Common)(tmos)#
Oct 28 12:31:11 LTM05 emerg overdog[6522]: 01140043:0: Ha feature software_update reboot requested.
Standby)(/Common)(tmos)# quit
[root@LTM05:Standby:In Sync] config # exit
logout
Notes for F5 Big IP
https://ihealth.f5.com/qkview-analyzer/qv/76241
http://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip9_0cli/BIG_IP9_0XCLIGuide2-4-1.html
http://support.f5.com/kb/en-us/products/big-ip_ltm/versions.11-4-0.html
Qkview is
like show tech-support
app that we should look in to.
http watch
F5 troubleshooting
tcpdump -ni VLAN_211 host 172.22.211.13
tcpdump -ni VLAN_211
tcpdump -ni 0.0:nnn
ssldump -r -k
man ssldump
bigtop
b virtual www.mywebsite.com-ssl
b virtual www.mywebsite.com-ssl show all
top
can look for pim virtual (just running on one
processor)
in top look for mcpd make sure it is under 100m
failover
b fo show
b ha table
vi /var/log/ltm
less /var/log/ltm
cd /var/log
less tnm
cd /shared/core/
b memory
look at conn flows to see number of connections
tmstat
b interface
b interface -j show all
b interface -j
b trunk show all
b stp
man b
tmsh takes you to (tmos)
ltm
asm
quit
b save writes to disk
b load reads from disk
b db | grep -i big3d
b db Log.Big3d.Level
b db Log.Big3d.Level debug
b db Log.Big3d.Level notice
cd /var/log
bigstart status
Windows tracetcp
Tracetcp
http://tracetcp.sourceforge.net
download:
http://sourceforge.net/projects/tracetcp/files/tracetcp/
http://www.winpcap.org
WinPcap must be installed for tracetcp to work.
From a cmd prompt run the path cmd and put winmtr.exe in one of the locations listed.
C:\Windows should be listed as a path.
copy tracetcp.exe to C:\Windows
C:\Users>tracetcp www.ccie23050.com
Tracing route to 98-65-222-189 [98-65-222-189] on port 80
Over a maximum of 30 hops.
1 2 ms 2 ms 2 ms 10.3.3.3 [di.di.net]
2 4 ms 3 ms 6 ms 122.9.58.12
3 2 ms 2 ms 2 ms 95.20.125.209 [eam.net]
4 4 ms 2 ms 3 ms 95.20.125.181 [eam.net]
5 10 ms 9 ms 10 ms 123.186.240.32 [eam.net]
6 10 ms 9 ms 13 ms 151.55.254.138 [eam.net]
7 10 ms 18 ms 9 ms 4.71.198.25 [xe-8-3-0.edge3.dallas1.level3.net]
8 14 ms 10 ms 9 ms 4.69.145.254 [vlan90.csw4.dallas1.level3.net]
9 10 ms 9 ms 9 ms 4.69.151.158 [ae-83-83.ebr3.dallas1.level3.net]
10 42 ms 42 ms 41 ms 4.69.132.77 [ae-3-3.ebr2.losangeles1.level3.net]
11 41 ms 42 ms 44 ms 4.69.137.22 [ae-72-72.csw2.losangeles1.level3.net]
12 42 ms 41 ms 41 ms 4.69.144.10 [ae-1-60.edge1.losangeles9.level3.net]
13 43 ms 42 ms 42 ms 4.68.63.190 [sbc-level3-xe-1.losangeles1.level3.net]
14 123 ms 166 ms 136 ms 12.83.48.54
15 * * * Request timed out.
16 58 ms 57 ms 55 ms 75.29.128.9
17 58 ms 57 ms 57 ms 98.65.222.189 [98-65-222-189]
18 Destination Reached in 66 ms. Connection established to 98.65.222.189
Trace Complete.
C:\Users>tracetcp www.ccie23050.com:443
C:\Users>tracetcp -?
Usage: tracetcp host [options]
where host = hostName|ipAddress[:portNumber|serviceName]
if portNumber or serviceName is not present then port 80 (http) is assumed.
Options:
-? Displays help information.
-F Disables the Anti-flood timer.
-R Use Raw Sockets to send packets.
-c Select condensed output mode.
-g address Send to remote host using specified gateway.
-h start_hop Starts trace at hop specified.
-m max_hops Maximum number of hops to reach target.
-n No reverse DNS lookups for each node.
-p num_pings # of pings per hop (default 3).
-r p1 p2 Multiple traces from port p1 to p2.
-s p1 p2 Scan ports p1 to p2. Eqiv of: -cnr p1 p2 -h 128 -m 1 -p 1
-t timeout Wait timeout milliseconds for each reply.
-v Displays version information.
Examples:
tracetcp www.microsoft.com:80 -m 60
tracetcp post.sponge.com:smtp
tracetcp 192.168.0.1 -n -t 500
C:\Users>
Windows WinMTR
http://winmtr.net/
http://winmtr.net/winmtr_download/
From a cmd prompt run the path cmd and put winmtr.exe in one of the locations listed.
C:\Windows should be listed as a path.
copy winmtr.exe to C:\Windows
To run double click on the winmtr.exe or from the cmd line execute the following.
C:\Users\chrisk>winmtr.exe www.ccie23050.com
|——————————————————————————————|
| WinMTR statistics |
| Host – % | Sent | Recv | Best | Avrg | Wrst | Last |
|————————————————|——|——|——|——|——|——|
| xe-8-3-0.edge3.dallas1.level3.net – 0 | 24 | 24 | 8 | 10 | 33 | 9 |
| vlan70.csw2.dallas1.level3.net – 0 | 24 | 24 | 9 | 10 | 33 | 9 |
| ae-73-73.ebr3.dallas1.level3.net – 0 | 24 | 24 | 8 | 9 | 12 | 11 |
| ae-3-3.ebr2.losangeles1.level3.net – 0 | 24 | 24 | 40 | 41 | 45 | 43 |
| ae-92-92.csw4.losangeles1.level3.net – 0 | 24 | 24 | 40 | 41 | 45 | 41 |
| ae-4-90.edge1.losangeles9.level3.net – 0 | 24 | 24 | 40 | 48 | 105 | 40 |
| 4.68.62.202 – 0 | 24 | 24 | 41 | 45 | 97 | 97 |
| 12.83.48.54 – 0 | 24 | 24 | 52 | 52 | 55 | 53 |
|________________________________________________|______|______|______|______|______|______|
WinMTR v0.92 GPL V2 by Appnor MSP – Fully Managed Hosting & Cloud Provider
Windows ipconfig /displaydns
To view a Windows host DNS cache.
ipconfig /displaydns
To clear a Windows host DNS cache.
ipconfig /flushdns
Windows getmac
You can use the Windows getmac command to get a MAC address from any Windows box if you have the hostname or IP.
C:\>getmac /s 11.11.11.50
Physical Address Transport Name
=================== ==========================================================
00-13-8B-3E-43-D0 \Device\Tcpip_{EE7D131B-C172-411B-7F12-E81F82057FEC}
N/A Hardware not present
C:\>
Router1#sh arp | i 43d0
Internet 11.11.11.50 0 0013.8b3e.43d0 ARPA Vlan777
If you are on the same IP subnet as a device use the arp command from a windows device.
C:\>ping 11.11.11.50
C:\>arp -a
Interface: 10.11.11.116 — 0xb
Internet Address Physical Address Type
11.11.11.50 00-13-8B-3E-43-D0 dynamic
Windows tracert
C:\>tracert www.yahoo.com
Tracing route to any-fp.wa1.b.yahoo.com [209.191.122.70]
over a maximum of 30 hops:
1 2 ms 3 ms 3 ms home [192.168.35.254]
2 8 ms 8 ms 7 ms 88.97.225.3.lightspeed.ltrkar.sbcglobal.net [88.97.225.3]
3 8 ms 6 ms 6 ms 20.33.128.50
4 6 ms 6 ms 5 ms 150.164.90.174
5 17 ms 17 ms 16 ms ppp-151-164-52-65.rcsntx.swbell.net [151.164.52.65]
6 18 ms 16 ms 17 ms asn10310-11-yahoo.eqdltx.sbcglobal.net [151.164.250.202]
7 27 ms 18 ms 19 ms ae-2-d100.msr1.mud.yahoo.com [216.115.104.105]
8 18 ms 19 ms 18 ms te-6-1.fab1-a-gdc.mud.yahoo.com [209.191.78.129]
9 19 ms 18 ms 17 ms te-8-2.bas-c2.mud.yahoo.com [209.191.78.175]
10 19 ms 17 ms 18 ms ir1.fp.vip.mud.yahoo.com [209.191.122.70]
Trace complete.
-d option for no names.
C:\>tracert -d www.yahoo.com
Tracing route to any-fp.wa1.b.yahoo.com [209.191.122.70]
over a maximum of 30 hops:
1 3 ms 1 ms 2 ms 192.168.35.254
2 8 ms 5 ms 6 ms 88.97.225.3
3 14 ms 10 ms 6 ms 20.33.128.50
4 7 ms 6 ms 7 ms 150.164.90.174
5 19 ms 17 ms 17 ms 151.164.52.65
6 16 ms 17 ms 16 ms 151.164.250.202
7 19 ms 19 ms 18 ms 216.115.104.101
8 18 ms 19 ms 18 ms 209.191.78.159
9 19 ms 18 ms 18 ms 68.142.193.7
10 19 ms 19 ms 19 ms 209.191.122.70
Trace complete.
C:\>
Windows ping
ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS] [-r Count] [-s Count] [{-j HostList | -k HostList}] [-w Timeout] [TargetName]
Parameters
-t : Sends echo request messages to the destination until interrupted by CTRL-C.
-a : Preforms reverse name resolution for the destination IP address.
-n Count : Specifies the number of Echo Request messages sent. The default is 4.
-l Size : Specifies the length, in bytes, of the Data field in the Echo Request messages sent. The default is 32. The maximum size is 65,527.
-f : Specifies that Echo Request messages are sent with the Don’t Fragment flag in the IP header set to 1.
-i TTL : Specifies the value of the TTL field in the IP header for Echo Request messages sent. The default TTL value for the host is typically 128. The maximum TTL is 255.
-v TOS : Specifies the value of the Type of Service (TOS) field in the IP header for Echo Request messages sent. The default is 0. TOS is specified as a decimal value from 0 to 255.
-r Count : Specifies that the Record Route option in the IP header is used to record the path taken by the Echo Request message and corresponding Echo Reply message.
-s Count : Specifies that the Internet Timestamp option in the IP header is used to record the time of arrival for the Echo Request message and corresponding Echo Reply message for each hop. The Count must be a minimum of 1 and a maximum of 4.
-j HostList : Specifies that the Echo Request messages use the Loose Source Route option in the IP header with the set of intermediate destinations specified in HostList.
-k HostList : Specifies that the Echo Request messages use the Strict Source Route option in the IP header with the set of intermediate destinations specified in HostList.
-w Timeout : Specifies the amount of time, in milliseconds, to wait to receive echo reply. The default time-out is 4000 (4 seconds).
TargetName : Specifies the destination, which is identified either by IP address or host name.
Windows pathping
You can use pathping for latency and connectivity testing.
C:\>pathping www.yahoo.com
over a maximum of 30 hops:
0 gateway.2wire.net [192.168.99.5]
1 home [192.168.35.254]
2 88-97-225-3.lightspeed.ltrkar.sbcglobal.net [88.97.225.3]
3 20.33.128.50
4 150.164.90.174
5 ppp-151-164-52-65.rcsntx.swbell.net [151.164.52.65]
6 asn10310-11-yahoo.eqdltx.sbcglobal.net [151.164.250.202]
7 ae-1-d100.msr1.mud.yahoo.com [216.115.104.97]
8 te-8-1.fab2-a-gdc.mud.yahoo.com [209.191.78.141]
9 te-8-1.bas-c2.mud.yahoo.com [68.142.193.7]
10 ir1.fp.vip.mud.yahoo.com [209.191.122.70]
Use the -n for no names.
C:\>pathping -n www.yahoo.com
Tracing route to any-fp.wa1.b.yahoo.com [209.191.122.70]
over a maximum of 30 hops:
0 192.168.99.5
1 192.168.35.254
2 88.97.225.3
3 20.33.128.50
4 150.164.90.174
5 151.164.52.65
6 151.164.250.202
7 216.115.104.97
8 209.191.78.159
9 68.142.193.7
10 209.191.122.70
Computing statistics for 250 seconds…
Source to Here This Node/Link
Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address
0 192.168.99.5
0/ 100 = 0% |
1 2ms 0/ 100 = 0% 0/ 100 = 0% 192.168.35.254
0/ 100 = 0% |
2 10ms 0/ 100 = 0% 0/ 100 = 0% 88.97.225.3
0/ 100 = 0% |
3 6ms 0/ 100 = 0% 0/ 100 = 0% 20.33.128.50
0/ 100 = 0% |
4 7ms 44/ 100 = 44% 44/ 100 = 44% 150.164.90.174
0/ 100 = 0% |
5 — 100/ 100 =100% 100/ 100 =100% 151.164.52.65
0/ 100 = 0% |
6 25ms 0/ 100 = 0% 0/ 100 = 0% 151.164.250.202
0/ 100 = 0% |
7 22ms 0/ 100 = 0% 0/ 100 = 0% 216.115.104.97
0/ 100 = 0% |
8 19ms 0/ 100 = 0% 0/ 100 = 0% 209.191.78.159
0/ 100 = 0% |
9 19ms 0/ 100 = 0% 0/ 100 = 0% 68.142.193.7
0/ 100 = 0% |
10 18ms 0/ 100 = 0% 0/ 100 = 0% 209.191.122.70