Skip to content

Commit bf4ca89

Browse files
committed
cheat sheet updates
1 parent 5e2c439 commit bf4ca89

File tree

5 files changed

+87
-43
lines changed

5 files changed

+87
-43
lines changed

agile-automation/azure-cli.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
az login
33

44
# Set subscription
5-
az account set --subscription "Name here"
5+
az account set -s "subscription name here"
6+
7+
# validate template deployment
8+
az group deployment validate --template-file ./template.json --parameters ./parameters.json -g my-resource-group --debug
9+
10+
# new template deployment
11+
az group deployment create --template-file ./template.json --parameters ./parameters.json -g my-resource-group --debug
612

713
# ansible play
814
ansible-playbook -i localhost ./playfile.yaml

agile-automation/git-cheat-sheet.txt

+4
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ git config --global credential.helper 'cache --timeout=28800'
1313

1414
# git add username for https login
1515
git config remote.origin.url https://[email protected]/thelantamer/notes.git
16+
17+
# git merge two branches
18+
git checkout BRANCH1
19+
git merge BRANCH2

lab-strategies.txt

+69-42
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,31 @@
66
point-to: no DR/BDR election
77
- Printout(s) to have present during travels, in lobby
88

9-
/ SOURCES /
10-
Tim McConnaughy: https://carpe-dmvpn.com
11-
Chris Miles: https://thecontrolplane.com/2019/06/21/ccie-strategy-config-section/
12-
13-
149
*** IN GENERAL ***
1510
/ OVERALL STRATEGY /
1611
- Cherry pick, get most points possible, e.g. redistribution, ppp, etc.
17-
- Validate to guarantee points
12+
- Validate to guarantee points, final read of requirements before marking done
1813
- avoid rabbit holes, get connectivity/functionality and move on
1914
- verify state, not configs
20-
- re-read instructions
15+
- consolidate work when connecting into devices when possible
16+
- watch for broken underlays and discontiguous areas, if can't fix mend yourself
17+
PIM interfaces
18+
OSPF interfaces/areas
19+
use virtual-links or multi-areas unless prohibited
20+
LDP/MPLS interfaces
21+
IGP discontiguous areas with BGP 'bridges'
22+
bgp redistribute-internal
23+
- MPLS filters
24+
vrf def and 'import-map'
25+
ext-community lists and rt 1:1
26+
2127

2228
/ COMMON MISTAKES /
2329
- Not reading instructions in full sentences (don't try to speed read instructions)
2430
- access-lists for policies should cover all potential listening IPs
2531
- verify time-range ACLs by changing clock
2632

27-
- traps
33+
- requirement verbiage 'traps'
2834
don't configure network type on SPOKES
2935
must ONLY receive a default route
3036
should never become a transit device (stub routing)
@@ -34,34 +40,49 @@ Chris Miles: https://thecontrolplane.com/2019/06/21/ccie-strategy-config-section
3440
- care of ospf area boundaries
3541

3642
**** TSHOOT ****
43+
44+
[LEFT monitor] [RIGHT monitor]
45+
diagrams ticket window putty screens long notepad
46+
launch window
47+
3748
- Keep track of points, go for 60-80% (miss 1 4-pointer, 2 2-pointers)
3849
- read guidelines first, that's where most restrictions are
3950
- 5 minutes per task, extend 5 as needed, then take notes and move on
40-
- wr mem after a solve
41-
- 'logging console', 'no logging console', debug as needed
42-
- save interesting configs to desktop for reference in config
51+
- after a solve, re-read requirements before a 'wr mem'
52+
- line outputs
53+
sh term | i lines
54+
term mon
4355

44-
- RIGHT monitor
45-
putty screens window for launching terminals long notepad (saving cfgs)
46-
- LEFT monitor
47-
diagram ticket window
56+
sh logg | i Console logg
57+
logg con
58+
no logg con
4859

60+
- watch for common faults
61+
sh run | i policy|access
62+
- save interesting configs to desktop for reference in config
63+
- debug and u all as needed
64+
debug ip ospf adj
65+
debug ppp negot
66+
debug ip bgp updates
4967

5068
**** DIAG ****
51-
1. open (and keep open) exam diagram and review
69+
70+
[LEFT monitor] [RIGHT monitor]
71+
diagrams - configs/emails questions/answers
72+
73+
- 'traps'
74+
where is request 'received' vs where is it sent
75+
how many answers for question
76+
don't just diagnose, hone in on what's being asked
77+
- open (and keep open) exam diagram and review
5278
routing protocols
5379
device/interface types
54-
2. email exchange
80+
- email exchange
5581
tells problem to be resolved
56-
3. review range of possible answers
57-
4. Don't scroll so much, use links to jump to sections
58-
5. Need 2 of 3
59-
60-
- RIGHT monitor
61-
questions/answers
62-
- LEFT monitor
63-
diagrams configs/emails
64-
82+
- review range of possible answers
83+
- Don't scroll so much, use links to jump to sections
84+
- Need 2 of 3
85+
- Keep each section under 10 mins, then move on
6586

6687
**** CONFIG ****
6788
1. Prepare task paper
@@ -72,11 +93,9 @@ Chris Miles: https://thecontrolplane.com/2019/06/21/ccie-strategy-config-section
7293
review addressing scheme on diagram(s)
7394
fill out task numbers, mark verification milestones with ___ in task index
7495

75-
3. Setup screens
76-
- RIGHT monitor
77-
putty screens window for launching terminals long notepad
78-
- LEFT monitor
79-
diagram window task window
96+
[LEFT monitor] [RIGHT monitor]
97+
diagrams task window putty screens long notepad
98+
launch window
8099

81100
4. Begin tasks
82101

@@ -85,24 +104,32 @@ general building strategy
85104
Network bulid task order:
86105
- L2
87106
- check direct neighbor reachability (ping 255.255.255.255, in blocks)
88-
- sw to router, rely on CDP?
89-
- service provider routes
90-
links
91-
bgp
92-
- DMVPNs
93-
- MPLS core PE/CE
107+
- cdp
108+
- check for switch SVIs
94109
- IGPs IPv4
95110
main office(s)
96111
branches
112+
- IGPs IPv6
113+
main office(s)
114+
branches
115+
- SP peering (Internet, MetroE)
116+
links
117+
bgp
118+
- MPLS core PE/CE
119+
- DMVPNs
120+
- Services
121+
- Security
97122

98-
- prior to redistribution, save config!
123+
- prior to redistribution show route tables, save config!
99124
- all redistribution config in notepad
100125
- redistributing connected, careful of 'metric-type' and clauses
101126

102-
guidelines
103-
- consolidate work when connecting into devices
104-
105127
workstation
106128
- shift+insert for paste in putty
107129
- cascading windows
108-
- mouse-click on putty windows bar at top, not in window
130+
- mouse-click on putty windows bar at top, not in window
131+
132+
/ SOURCES /
133+
Tim McConnaughy: https://carpe-dmvpn.com
134+
Chris Miles: https://thecontrolplane.com/2019/06/21/ccie-strategy-config-section/
135+

linux/gnu-linux-cheat-sheet.txt

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ sudo mkntfs /dev/sdb1 -f
4848

4949
CHECK DISK SPACE
5050
du -h disk usage from current folder, human-readable format
51+
du -hc -d 1 disk size, show largest folder
5152
df -h disk usage on all drives, human-readable
5253

5354
BACKGROUND TERMINALS, DISCONNECT AND RECONNECT
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Troubleshooting NAT issues:
2+
1. Write out NAT statements at each point, IL, IG, OL, OG
3+
2. Verify NAT statements match
4+
3. Test end-to-end NAT
5+
4. Verify service running over NAT using correct addressing
6+
5. Test service

0 commit comments

Comments
 (0)