diff --git a/notes/.obsidian/app.json b/notes/.obsidian/app.json index 337aa7f..a86dffd 100644 --- a/notes/.obsidian/app.json +++ b/notes/.obsidian/app.json @@ -11,5 +11,6 @@ "cs" ], "spellcheck": true, - "showInlineTitle": false + "showInlineTitle": false, + "showLineNumber": false } \ No newline at end of file diff --git a/notes/.obsidian/plugins/obsidian-activity-history/data.json b/notes/.obsidian/plugins/obsidian-activity-history/data.json index 0e2b340..60eece7 100644 --- a/notes/.obsidian/plugins/obsidian-activity-history/data.json +++ b/notes/.obsidian/plugins/obsidian-activity-history/data.json @@ -13,7 +13,7 @@ { "path": "/", "date": "2022-11-24", - "size": 935255 + "size": 937478 } ], "activityHistory": [ @@ -926,7 +926,7 @@ }, { "date": "2022-11-24", - "value": 3201 + "value": 5424 } ] } diff --git a/notes/.obsidian/plugins/various-complements/data.json b/notes/.obsidian/plugins/various-complements/data.json index db62ee2..6195fc6 100644 --- a/notes/.obsidian/plugins/various-complements/data.json +++ b/notes/.obsidian/plugins/various-complements/data.json @@ -302,6 +302,34 @@ "lastUpdated": 1669199405571 } } + }, + "EtherChannel": { + "EtherChannel": { + "internalLink": { + "count": 1, + "lastUpdated": 1669309232254 + }, + "currentFile": { + "count": 2, + "lastUpdated": 1669309797225 + } + } + }, + "moderní": { + "moderní": { + "internalLink": { + "count": 1, + "lastUpdated": 1669309782046 + } + } + }, + "Desirable": { + "Desirable": { + "currentFile": { + "count": 1, + "lastUpdated": 1669309866833 + } + } } } } \ No newline at end of file diff --git a/notes/.obsidian/workspace.json b/notes/.obsidian/workspace.json index ac8f420..2fdb096 100644 --- a/notes/.obsidian/workspace.json +++ b/notes/.obsidian/workspace.json @@ -4,20 +4,75 @@ "type": "split", "children": [ { - "id": "b9c2bc58accbe4b0", + "id": "ff9bf127de8a5639", "type": "tabs", + "dimension": 88.63636363636364, "children": [ { - "id": "a257ab9f498baece", + "id": "359b9500ac271bb2", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "ONA/Úvaha - Rasismus.md", + "file": "psi/CCNA2/vlan.md", "mode": "source", "source": false } } + }, + { + "id": "ce4e4d89a8ec0eb2", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "psi/CCNA2/Spanning Tree Protocol.md", + "mode": "source", + "source": false + } + } + }, + { + "id": "1276d0e9da6b1165", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "psi/CCNA2/EtherChannel.md", + "mode": "source", + "source": false + } + } + }, + { + "id": "3b5e644b62c08f26", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "psi/CCNA2/DHCP.md", + "mode": "source", + "source": false + } + } + } + ], + "currentTab": 2 + }, + { + "id": "a7f8eb5df0ec8b2c", + "type": "tabs", + "dimension": 11.363636363636363, + "children": [ + { + "id": "f4405a69e9bff7f3", + "type": "leaf", + "state": { + "type": "outline", + "state": { + "file": "psi/CCNA2/EtherChannel.md" + } + } } ] } @@ -77,7 +132,7 @@ "state": { "type": "backlink", "state": { - "file": "ONA/Úvaha - Rasismus.md", + "file": "psi/CCNA2/EtherChannel.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -94,7 +149,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "ONA/Úvaha - Rasismus.md", + "file": "psi/CCNA2/EtherChannel.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -141,7 +196,7 @@ "state": { "type": "outline", "state": { - "file": "ONA/Úvaha - Rasismus.md" + "file": "psi/CCNA2/EtherChannel.md" } } }, @@ -193,17 +248,17 @@ "width": 300, "collapsed": true }, - "active": "a257ab9f498baece", + "active": "1276d0e9da6b1165", "lastOpenFiles": [ + "psi/CCNA2/DHCP.md", + "psi/CCNA2/EtherChannel.md", + "psi/CCNA2/Spanning Tree Protocol.md", + "psi/CCNA2/vlan.md", + "psi/psi.md", + "ONA/Úvaha - Rasismus.md", "ONA/ONA.md", "mat/mat.md", "mat/Funkce/Untitled.md", - "mat/Funkce/Logaritmus.md", - "dej/moderní/komunismus/Vylodění v zátoce Sviní.md", - "dej/moderní/komunismus/Karibská krize.md", - "dej/moderní/komunismus/Expo 58.md", - "dej/dej.md", - "cjl/cjl.md", - "cjl/literatura/slohy/Klasicismus/Klasicismus a osvícení.md" + "mat/Funkce/Logaritmus.md" ] } \ No newline at end of file diff --git a/notes/data/Pasted image 20221124180130.png b/notes/data/Pasted image 20221124180130.png new file mode 100644 index 0000000..bd39407 Binary files /dev/null and b/notes/data/Pasted image 20221124180130.png differ diff --git a/notes/data/Pasted image 20221124181111.png b/notes/data/Pasted image 20221124181111.png new file mode 100644 index 0000000..6476a7d Binary files /dev/null and b/notes/data/Pasted image 20221124181111.png differ diff --git a/notes/data/Pasted image 20221124181810.png b/notes/data/Pasted image 20221124181810.png new file mode 100644 index 0000000..5a53fc4 Binary files /dev/null and b/notes/data/Pasted image 20221124181810.png differ diff --git a/notes/data/Pasted image 20221124183300.png b/notes/data/Pasted image 20221124183300.png new file mode 100644 index 0000000..59ba04f Binary files /dev/null and b/notes/data/Pasted image 20221124183300.png differ diff --git a/notes/psi/CCNA2/CCNA2.md b/notes/psi/CCNA2/CCNA2.md new file mode 100644 index 0000000..33188e7 --- /dev/null +++ b/notes/psi/CCNA2/CCNA2.md @@ -0,0 +1,6 @@ +%% Zoottelkeeper: Beginning of the autogenerated index file list %% +- [[psi/CCNA2/DHCP|DHCP]] +- [[psi/CCNA2/EtherChannel|EtherChannel]] +- [[psi/CCNA2/Spanning Tree Protocol|Spanning Tree Protocol]] +- [[psi/CCNA2/vlan|vlan]] +%% Zoottelkeeper: End of the autogenerated index file list %% diff --git a/notes/psi/CCNA2/DHCP.md b/notes/psi/CCNA2/DHCP.md new file mode 100644 index 0000000..840cd86 --- /dev/null +++ b/notes/psi/CCNA2/DHCP.md @@ -0,0 +1,24 @@ +# DHCP + +jde jak na switch tak na router. Na větších sítích se použije Radius a pod. + +`ip dhcp excluded-address {low-address} [high-address]` +`(config)#ip dhcp pool {pool-name}` + +`(dhcp-config)#` +`network {network-number} [mask| / prefix-length]` +`default-router {address} [address2..8]` +`dns-server {address} [address2..8]` +`domain-name {domain}` +`lease {days [hours [minutes]] | infinite}` +`netbios-name-server {address} [address2..8]` + +V podstatě jenom network a default-router je třeba. + +## Příklad + +![](Pasted%20image%2020221124183300.png) + +## Klient + +`(config-if)# ip address dhcp` diff --git a/notes/psi/CCNA2/EtherChannel.md b/notes/psi/CCNA2/EtherChannel.md new file mode 100644 index 0000000..7b6200c --- /dev/null +++ b/notes/psi/CCNA2/EtherChannel.md @@ -0,0 +1,38 @@ +# EtherChannel + +- propojení switchů přes několik linek (drátů), zvýší spolehlivost a rychlost +- musí být stejná rychlost, technologie, vlan +- až 8 linek +- nelze mixovat rychlosti ani technologie (Fast Ethernet a Gigabit nejde mixovat, ani ostatní) +- defaultně [Spanning Tree Protocol](Spanning%20Tree%20Protocol.md) vypne kabel, musí se proto nastavit EtherChannel. +- konfiguruje se přes jeden interface, zařídí jednotnou konfiguraci mezi více fyzickýma interface. + +## PAgP + +- zajišťuje automatické nastavení rychlosti, STP a kontroluje že linka funguje. +- posílá pakety každých 30 vteřin +- cisco proprietární + +### Mode + +- **on** - manuální nastavení EtherChannel +- **Desirable** - Automatické nastavení přes PAgP +- **Auto** - Automatické nastavení přes PAgP, ale nezačne komunikaci (druhý switch musí být na **Desirable**) +![](Pasted%20image%2020221124181111.png) + +## LACP + +Standardizovaná verze PAgP, v rámci IEEE 802.3ad. + +## Konfigurace + +### Setup +`s1(config)# interface range FastEthernet 0/1 - 2` +`s1(config-if-range)# channel-group 1 mode active` + +### Info +`#show etherchannel summary` +`#show run | begin interface port-channel` +![](Pasted%20image%2020221124181810.png) +## Značení +![](Pasted%20image%2020221124180130.png) \ No newline at end of file diff --git a/notes/psi/CCNA2/Spanning Tree Protocol.md b/notes/psi/CCNA2/Spanning Tree Protocol.md new file mode 100644 index 0000000..aed8426 --- /dev/null +++ b/notes/psi/CCNA2/Spanning Tree Protocol.md @@ -0,0 +1,4 @@ +--- +aliases: [STP] +--- +# Spanning Tree Protocol diff --git a/notes/psi/vlan.md b/notes/psi/CCNA2/vlan.md similarity index 100% rename from notes/psi/vlan.md rename to notes/psi/CCNA2/vlan.md diff --git a/notes/psi/psi.md b/notes/psi/psi.md index 3468c41..8ba6e03 100644 --- a/notes/psi/psi.md +++ b/notes/psi/psi.md @@ -12,12 +12,12 @@ imagePrefix: 'data/' %% Zoottelkeeper: Beginning of the autogenerated index file list %% - [[psi/Adresace|Adresace]] - [[psi/CCNA1 Final PTSA|CCNA1 Final PTSA]] +- [[psi/CCNA2/CCNA2|CCNA2]] - [[psi/Data Center Tier|Data Center Tier]] - [[psi/DHCP|DHCP]] - [[psi/IPv6|IPv6]] - [[psi/Sítě|Sítě]] - [[psi/Switch|Switch]] -- [[psi/vlan|vlan]] - [[psi/Základní konfigurace|Základní konfigurace]] - [[psi/Základy komunikace|Základy komunikace]] %% Zoottelkeeper: End of the autogenerated index file list %%