From 8f8bf28eb52f0cfc89ce164219031a875a059c7f Mon Sep 17 00:00:00 2001 From: zleyyij Date: Thu, 26 Jan 2023 16:00:58 -0700 Subject: [PATCH] more things --- .obsidian/workspace.json | 156 ------------------------------ Configuring a Cisco IOS Switch.md | 128 ++++++++++++++++++++++++ Specify 1.1 Release.md | 20 ++++ 3 files changed, 148 insertions(+), 156 deletions(-) delete mode 100644 .obsidian/workspace.json create mode 100644 Configuring a Cisco IOS Switch.md create mode 100644 Specify 1.1 Release.md diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json deleted file mode 100644 index 22f9f9d..0000000 --- a/.obsidian/workspace.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "main": { - "id": "66f4b1ddd493c3b6", - "type": "split", - "children": [ - { - "id": "338f803d60cfdbe3", - "type": "tabs", - "children": [ - { - "id": "36ba594a14318b0c", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Homelabbity.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "77db69b73e314736", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Nand game.md", - "mode": "source", - "source": false - } - } - }, - { - "id": "20806f74fc1cc561", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "Deploying TechSupportBot.md", - "mode": "source", - "source": false - } - } - } - ], - "currentTab": 2 - } - ], - "direction": "vertical" - }, - "left": { - "id": "f3c19b035169a5bc", - "type": "split", - "children": [ - { - "id": "0f7ecc25e4b2fce4", - "type": "tabs", - "children": [ - { - "id": "19b91ab6f5b5c1c3", - "type": "leaf", - "state": { - "type": "file-explorer", - "state": { - "sortOrder": "alphabetical" - } - } - }, - { - "id": "6d63db4e1d9b6e93", - "type": "leaf", - "state": { - "type": "search", - "state": { - "query": "", - "matchingCase": false, - "explainSearch": false, - "collapseAll": false, - "extraContext": false, - "sortOrder": "alphabetical" - } - } - } - ] - } - ], - "direction": "horizontal", - "width": 100 - }, - "right": { - "id": "0608333cb897247b", - "type": "split", - "children": [ - { - "id": "4c76cb9ac0e6e5bb", - "type": "tabs", - "children": [ - { - "id": "4d77de4c3ab4a54e", - "type": "leaf", - "state": { - "type": "backlink", - "state": { - "file": "Deploying TechSupportBot.md", - "collapseAll": false, - "extraContext": false, - "sortOrder": "alphabetical", - "showSearch": false, - "searchQuery": "", - "backlinkCollapsed": false, - "unlinkedCollapsed": false - } - } - }, - { - "id": "bc19f0281f611b4a", - "type": "leaf", - "state": { - "type": "tag", - "state": { - "sortOrder": "frequency", - "useHierarchy": true - } - } - } - ] - } - ], - "direction": "horizontal", - "width": 300, - "collapsed": true - }, - "left-ribbon": { - "hiddenItems": { - "switcher:Open quick switcher": false, - "graph:Open graph view": false, - "canvas:Create new canvas": false, - "command-palette:Open command palette": false, - "markdown-importer:Open format converter": false - } - }, - "active": "20806f74fc1cc561", - "lastOpenFiles": [ - "Nand game.md", - "Homelabbity.md", - "Deploying pihole-docker to a brand new Debian instance.md", - "Ohm's Law.md", - "Deploying PiVPN to a debian instance.md", - "Migrating PiVPN configs to another server.md", - "Setting up SSH keys.md", - "Installing Arch.md", - "Specify Server.md", - "Writing a completely functional shell in Rust.md" - ] -} \ No newline at end of file diff --git a/Configuring a Cisco IOS Switch.md b/Configuring a Cisco IOS Switch.md new file mode 100644 index 0000000..773b798 --- /dev/null +++ b/Configuring a Cisco IOS Switch.md @@ -0,0 +1,128 @@ +## On Boot +Press **Enter** to begin + +If greeted with a prompt asking about *Initial Configuration Dialogue*, type `n` and hit enter. +- If you decide to make use of Initial Configuration, refer to [Cisco Docs](https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fundamentals/configuration/15mt/fundamentals-15-mt-book/cf-setup.html) + +You should be greeted with a prompt that has a `>` character at the end, indicating you are in user EXEC mode. This is limited and not used for configuration. + +Enable privileged EXEC mode to get access to all commands and configurations: +``` +enable +``` +Shorthand: `ena` + + +Enter configuration mode, configuring from the terminal (also possible to configure from memory or the network): +``` +configure terminal +``` +Shorthand: `conf t` + +## Create/edit a vlan +[docs](https://community.cisco.com/t5/networking-knowledge-base/how-to-configure-vlans-on-the-catalyst-switches/ta-p/3131780) +From configuration mode: +``` +vlan [vlan-id] +``` +where `[vlan-id]` is the vlan number you want to generate, this will put you into config-vlan mode + +## Assign a vlan a name +From `config-vlan` mode: +``` +name [ascii name] +``` +where `[ascii name]` is the name you want to assign (EG: `Accounting`) +## Assign interfaces to a vlan +[docs](https://community.cisco.com/t5/networking-knowledge-base/how-to-configure-vlans-on-the-catalyst-switches/ta-p/3131780) +Enter interface config mode (from conf mode): +Single port: +``` +interface [interface-to-configure] +``` +shorthand: `int [interface-to-configure]` +Range [docs](https://www.cisco.com/c/en/us/td/docs/ios/interface/configuration/guide/ir_ifrange.html): +``` +interface range fa0/st - nd +``` +where `fa` is the speed, `st` the starting port, and `nd` the end port + +From `config-if` mode: +Enter port mode configuration: +``` +switchport mode access +``` + +Link the interface(s) to a vlan: +``` +switchport access vlan [vlan-id] +``` + +interfaces are referenced in the format of `sp0/nm` where speed and port number are specified (eg: fa0) + +## Configuring trunk ports +From the `config` mode, select an interface to configure as trunk mode: +``` +interface [interface-id (sp0/nm syntaax)] +``` +shorthand: `int fa0/nm` + +Set the mode of the selected interface to trunk mode: +``` +switchport mode trunk +``` + + +Type `end` or `exit` to leave `config-if` mode + +## Limiting trunk traffic to a specific vlan +From `config` mode: +``` +interface [interface-id] +``` +shorthand: `int fa0/24` + +Change trunk config: +``` +switchport trunk allow vlan [vlan-id] +``` + +## Force vlans to be online: +From `configure` mode: +``` +vlan [vlan-id] +``` +- [ ] +``` +no shutdown +``` + +# Viewing configs +### Vlan config +From the privileged exec terminal: +``` +show vlan +``` + +### See what IP address is assigned to a vlan +From privileged exec mode: +``` +show run int vlan [vlan-id] +``` + +See what mode an interface is in: +``` +show int [interface] switchport +``` + +### interface trunk config +From privileged exec: +``` +show interface trunk +``` +## Helpful Resources +Trying to figure out where in the command hierarchy you are? +- https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_46_se/command/reference/cr1/intro.pdf +Wondering more about the Cisco IOS CLI? +- https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_46_se/command/reference/cr1/intro.pdf +- \ No newline at end of file diff --git a/Specify 1.1 Release.md b/Specify 1.1 Release.md new file mode 100644 index 0000000..2afcba8 --- /dev/null +++ b/Specify 1.1 Release.md @@ -0,0 +1,20 @@ +# New/released features +- Specify: Automatic minidump zipping +- Specify: GUI (fairly close to being done, managed by K7i) +### Handled complaints/requested features +- Specified: Doomscroll (k7i) *Wanted by don among others* +- Specified: Improved table view (drei) *wanted by tito* +- Specify: Child process handling convert to total instances and memory usage on c# side () + - Figure out SVChost parsing +- Specified: label process tables with units +- Specified: clean up routes table (drei) +- Specified: make partitions view contain some useful info +- Specified: make sure extensions work (drei) *see jim for broken test case* +- Specified: convert time as from unix time (drei) +- Specify: Clean up and add to puplist (everyone) +- Specif(ied|y): Figure out A/V view list, list all of them if we can't find the default +## Not addressed in 1.1 +- Specified: Download raw json button +- Specified: Group device managers by type +- Specified: *light mode* +- Specify: Add feedback form \ No newline at end of file