Notes
Notes - notes.io |
Switch#config t
Switch(config)#interface vlan 1
Služi za pristupanje vlanu 1
Switch(config-if)#ip address 10.10.11.11 255.255.255.0
Postavljamo managmeni ip i subnet masku ovo su vrijednosti za primjer
Switch(config-if)#exit
Switch(config)#ip default-gateway 10.10.11.1
Postavljamo default gateway za switch
Switch(config)#hostname PepperAndEggSwitch
Postavljamo ime switcha
PepperAndEggSwitch(config)#ip domain-name cafeJohnny.local
Postavljamo ime domene switcha
PepperAndEggSwitch(config)#line vty 0 15
Pristupamo svih 16 virtual terminal lines (VTY)
PepperAndEggSwitch(config-line)#password BigSecretDon'tT3ll@ny1
Postavljamo lozinku na njih
PepperAndEggSwitch(config-line)#exit
PepperAndEggSwitch(config)#line console 0
Pristupamo pristupnoj konzoli 0
PepperAndEggSwitch(config-line)#password BigSecretForConsoleDon'tT3ll@ny1
Dajemo joj drukčiju lozinku
PepperAndEggSwitch(config-line)#exit
PepperAndEggSwitch(config)#enable secret Top$ecretPrivEXECpassWORD
Dajemo lozinku za Privileged EXEC mod
PepperAndEggSwitch(config)#crypto key generate rsa
2048
Postavljamo SSH kako bi switch mogli konfigurirati bežićno i postavljamo da ima 2048 bitova
PepperAndEggSwitch(config)#ip ssh version 2
Postavljamo 2 verziju SSH-a
PepperAndEggSwitch(config)#line vty 0 5
Pristupamo vty linijama od 0 do 5
PepperAndEggSwitch(config-line)#transport input ssh
Postavljamo na njih SSH
PepperAndEggSwitch(config-line)#login local
Tu govorimo switchu da provjerava korisnika
PepperAndEggSwitch(config-line)#vlan 2
Kreiramo drugi vlan
PepperAndEggSwitch(config-vlan)#name cafe
Postavljamo mu ime
PepperAndEggSwitch(config-vlan)#exit
PepperAndEggSwitch(config)#interface range fastEthernet 0/5-7
Pristupamo fastEtherenet portovima od 5 do 7
PepperAndEggSwitch(config-if-range)#switchport mode access
Prelazimo u access mod
PepperAndEggSwitch(config-if-range)#switchport access vlan 2
Dodajemo te switcheve u vlan 2
PepperAndEggSwitch(config-if-range)#exit
PepperAndEggSwitch(config)#interface fastEthernet 0/2
Odabiremo drugi port switcha
PepperAndEggSwitch(config-if)#switchport mode trunk
Postavljamo mod na trunk
PepperAndEggSwitch(config-if)#exit
PepperAndEggSwitch(config)#exit
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team