Mainos / Advertisement:
Vie käännöksiä
Siirry navigaatioon
Siirry hakuun
Asetukset
Ryhmä
Active Directory Domain Services
Amavis
Apache2
APT
Automysqlbackup
Backup
Bashrc
Bind9
Cachet
Cellmapper
Cellmapper/Changelog
Cellmapper/FAQ
Chmod
Cisco Catalyst C2620 reititin
Cisco Catalyst C2950T-24 kytkin
Cisco IOS peruskäyttö
Cisco Router NAT/PAT
Crontab
DDNS päivitysohjelmat
Debian
Debian verkkokonfiguraatio
Debian WLAN
DHCP Server
DNS Server
Dovecot
Drupal
Etusivu
Fail2ban
File Server Resource Manager
Fstab
Gnome
Grep
Group Policy Management
Hyper-V
Inteno DG301AL
IPsec
Iptables
Irssi
Isc-dhcp-relay
Isc-dhcp-server
Isäntänimen muuttaminen
Kali Linux
Kuuluvuuskartat
Linux AD liitos
Lm-sensors
Midnight Commander
Mobiiliverkkotekniikka
Mysql
Nano
Network Policy and Access Services
Nginx
Novell NetWare
Observium
Openssl
Openvpn
Owncloud
Php5
Phpmyadmin
Port-security
Postfix
PowerShell
Pptp-linux
PPTP-serveri
Proxmox
Qemu-kvm
Roundcube
RouterOS
RouterOS bridge
RouterOS CAPsMAN
RouterOS DHCP
RouterOS Firewall
RouterOS IPTV
RouterOS IPv6
RouterOS LTE
RouterOS NAT
RouterOS OpenVPN
RouterOS Route
RouterOS VLAN
RouterOS VPN
RouterOS WLAN
RWEverything
Samba
Serial port yhteys
Server Core
Spamassassin
Squid
Ssh
Sstp-client
Staattinen IP
Sysprep
Taisto:Tietoja
Taisto:Tietosuojakäytäntö
Teamspeak3
Telia IPTV asetukset
Ubuntu Server
USB-Asennus
Verkkokaapelointi
Vesta
Vi
Vnstat
Vsftpd
VTP
Wds&dhcpd
WDS+ADK
Web Server (IIS)
Windows 8.1
Windows Deployment Services
Windows komentoja
Windows Server 2012 R2
WLAN
Wordpress
ZTE MF823D
Kieli
aa - Qafár af
ab - Аҧсшәа
abs - bahasa ambon
ace - Acèh
ady - адыгабзэ
ady-cyrl - адыгабзэ
aeb - تونسي/Tûnsî
aeb-arab - تونسي
aeb-latn - Tûnsî
af - Afrikaans
ak - Akan
aln - Gegë
am - አማርኛ
an - aragonés
ang - Ænglisc
anp - अङ्गिका
ar - العربية
arc - ܐܪܡܝܐ
arn - mapudungun
arq - جازايرية
ary - Maġribi
arz - مصرى
as - অসমীয়া
ase - American sign language
ast - asturianu
atj - Atikamekw
av - авар
avk - Kotava
awa - अवधी
ay - Aymar aru
az - azərbaycanca
azb - تۆرکجه
ba - башҡортса
ban - Basa Bali
bar - Boarisch
bbc - Batak Toba
bbc-latn - Batak Toba
bcc - جهلسری بلوچی
bcl - Bikol Central
be - беларуская
be-tarask - беларуская (тарашкевіца)
bg - български
bgn - روچ کپتین بلوچی
bh - भोजपुरी
bho - भोजपुरी
bi - Bislama
bjn - Bahasa Banjar
bm - bamanankan
bn - বাংলা
bo - བོད་ཡིག
bpy - বিষ্ণুপ্রিয়া মণিপুরী
bqi - بختیاری
br - brezhoneg
brh - Bráhuí
bs - bosanski
btm - Batak Mandailing
bto - Iriga Bicolano
bug - ᨅᨔ ᨕᨘᨁᨗ
bxr - буряад
ca - català
cbk-zam - Chavacano de Zamboanga
cdo - Mìng-dĕ̤ng-ngṳ̄
ce - нохчийн
ceb - Cebuano
ch - Chamoru
cho - Choctaw
chr - ᏣᎳᎩ
chy - Tsetsêhestâhese
ckb - کوردی
co - corsu
cps - Capiceño
cr - Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ
crh - qırımtatarca
crh-cyrl - къырымтатарджа (Кирилл)
crh-latn - qırımtatarca (Latin)
cs - čeština
csb - kaszëbsczi
cu - словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ
cv - Чӑвашла
cy - Cymraeg
da - dansk
de - Deutsch
de-at - Österreichisches Deutsch
de-ch - Schweizer Hochdeutsch
de-formal - Deutsch (Sie-Form)
din - Thuɔŋjäŋ
diq - Zazaki
dsb - dolnoserbski
dtp - Dusun Bundu-liwan
dty - डोटेली
dv - ދިވެހިބަސް
dz - ཇོང་ཁ
ee - eʋegbe
egl - Emiliàn
el - Ελληνικά
eml - emiliàn e rumagnòl
en - English
en-ca - Canadian English
en-gb - British English
eo - Esperanto
es - español
es-419 - español de América Latina
es-formal - español (formal)
et - eesti
eu - euskara
ext - estremeñu
fa - فارسی
ff - Fulfulde
fi - suomi
fit - meänkieli
fj - Na Vosa Vakaviti
fo - føroyskt
fr - français
frc - français cadien
frp - arpetan
frr - Nordfriisk
fur - furlan
fy - Frysk
ga - Gaeilge
gag - Gagauz
gan - 贛語
gan-hans - 赣语(简体)
gan-hant - 贛語(繁體)
gcr - kriyòl gwiyannen
gd - Gàidhlig
gl - galego
glk - گیلکی
gn - Avañe'ẽ
gom - गोंयची कोंकणी / Gõychi Konknni
gom-deva - गोंयची कोंकणी
gom-latn - Gõychi Konknni
gor - Bahasa Hulontalo
got - 𐌲𐌿𐍄𐌹𐍃𐌺
grc - Ἀρχαία ἑλληνικὴ
gsw - Alemannisch
gu - ગુજરાતી
gv - Gaelg
ha - Hausa
hak - 客家語/Hak-kâ-ngî
haw - Hawaiʻi
he - עברית
hi - हिन्दी
hif - Fiji Hindi
hif-latn - Fiji Hindi
hil - Ilonggo
ho - Hiri Motu
hr - hrvatski
hrx - Hunsrik
hsb - hornjoserbsce
ht - Kreyòl ayisyen
hu - magyar
hu-formal - magyar (formal)
hy - հայերեն
hyw - արեւմտահայերէն
hz - Otsiherero
ia - interlingua
id - Bahasa Indonesia
ie - Interlingue
ig - Igbo
ii - ꆇꉙ
ik - Iñupiak
ike-cans - ᐃᓄᒃᑎᑐᑦ
ike-latn - inuktitut
ilo - Ilokano
inh - ГӀалгӀай
io - Ido
is - íslenska
it - italiano
iu - ᐃᓄᒃᑎᑐᑦ/inuktitut
ja - 日本語
jam - Patois
jbo - la .lojban.
jut - jysk
jv - Basa Jawa
ka - ქართული
kaa - Qaraqalpaqsha
kab - Taqbaylit
kbd - Адыгэбзэ
kbd-cyrl - Адыгэбзэ
kbp - Kabɩyɛ
kg - Kongo
khw - کھوار
ki - Gĩkũyũ
kiu - Kırmancki
kj - Kwanyama
kjp - ဖၠုံလိက်
kk - қазақша
kk-arab - قازاقشا (تٴوتە)
kk-cn - قازاقشا (جۇنگو)
kk-cyrl - қазақша (кирил)
kk-kz - қазақша (Қазақстан)
kk-latn - qazaqşa (latın)
kk-tr - qazaqşa (Türkïya)
kl - kalaallisut
km - ភាសាខ្មែរ
kn - ಕನ್ನಡ
ko - 한국어
ko-kp - 조선말
koi - Перем Коми
kr - Kanuri
krc - къарачай-малкъар
kri - Krio
krj - Kinaray-a
krl - karjal
ks - कॉशुर / کٲشُر
ks-arab - کٲشُر
ks-deva - कॉशुर
ksh - Ripoarisch
ku - kurdî
ku-arab - كوردي (عەرەبی)
ku-latn - kurdî (latînî)
kum - къумукъ
kv - коми
kw - kernowek
ky - Кыргызча
la - Latina
lad - Ladino
lb - Lëtzebuergesch
lbe - лакку
lez - лезги
lfn - Lingua Franca Nova
lg - Luganda
li - Limburgs
lij - Ligure
liv - Līvõ kēļ
lki - لەکی
lmo - lumbaart
ln - lingála
lo - ລາວ
loz - Silozi
lrc - لۊری شومالی
lt - lietuvių
ltg - latgaļu
lus - Mizo ţawng
luz - لئری دوٙمینی
lv - latviešu
lzh - 文言
lzz - Lazuri
mai - मैथिली
map-bms - Basa Banyumasan
mdf - мокшень
mg - Malagasy
mh - Ebon
mhr - олык марий
mi - Māori
min - Baso Minangkabau
mk - македонски
ml - മലയാളം
mn - монгол
mni - মেইতেই লোন্
mnw - ဘာသာ မန်
mo - молдовеняскэ
mr - मराठी
mrj - кырык мары
ms - Bahasa Melayu
mt - Malti
mus - Mvskoke
mwl - Mirandés
my - မြန်မာဘာသာ
myv - эрзянь
mzn - مازِرونی
na - Dorerin Naoero
nah - Nāhuatl
nan - Bân-lâm-gú
nap - Napulitano
nb - norsk bokmål
nds - Plattdüütsch
nds-nl - Nedersaksies
ne - नेपाली
new - नेपाल भाषा
ng - Oshiwambo
niu - Niuē
nl - Nederlands
nl-informal - Nederlands (informeel)
nn - norsk nynorsk
no - norsk
nov - Novial
nrm - Nouormand
nso - Sesotho sa Leboa
nv - Diné bizaad
ny - Chi-Chewa
nys - Nyunga
oc - occitan
olo - Livvinkarjala
om - Oromoo
or - ଓଡ଼ିଆ
os - Ирон
pa - ਪੰਜਾਬੀ
pag - Pangasinan
pam - Kapampangan
pap - Papiamentu
pcd - Picard
pdc - Deitsch
pdt - Plautdietsch
pfl - Pälzisch
pi - पालि
pih - Norfuk / Pitkern
pl - polski
pms - Piemontèis
pnb - پنجابی
pnt - Ποντιακά
prg - Prūsiskan
ps - پښتو
pt - português
pt-br - português do Brasil
qu - Runa Simi
qug - Runa shimi
rgn - Rumagnôl
rif - Tarifit
rm - rumantsch
rmy - Romani
rn - Kirundi
ro - română
roa-tara - tarandíne
ru - русский
rue - русиньскый
rup - armãneashti
ruq - Vlăheşte
ruq-cyrl - Влахесте
ruq-latn - Vlăheşte
rw - Kinyarwanda
sa - संस्कृतम्
sah - саха тыла
sat - ᱥᱟᱱᱛᱟᱲᱤ
sc - sardu
scn - sicilianu
sco - Scots
sd - سنڌي
sdc - Sassaresu
sdh - کوردی خوارگ
se - davvisámegiella
sei - Cmique Itom
ses - Koyraboro Senni
sg - Sängö
sgs - žemaitėška
sh - srpskohrvatski / српскохрватски
shi - Tašlḥiyt/ⵜⴰⵛⵍⵃⵉⵜ
shi-latn - Tašlḥiyt
shi-tfng - ⵜⴰⵛⵍⵃⵉⵜ
shn - ၽႃႇသႃႇတႆး
shy-latn - tachawit
si - සිංහල
simple - Simple English
sk - slovenčina
skr - سرائیکی
skr-arab - سرائیکی
sl - slovenščina
sli - Schläsch
sm - Gagana Samoa
sma - Åarjelsaemien
sn - chiShona
so - Soomaaliga
sq - shqip
sr - српски / srpski
sr-ec - српски (ћирилица)
sr-el - srpski (latinica)
srn - Sranantongo
ss - SiSwati
st - Sesotho
stq - Seeltersk
sty - cебертатар
su - Basa Sunda
sv - svenska
sw - Kiswahili
szl - ślůnski
ta - தமிழ்
tay - Tayal
tcy - ತುಳು
te - తెలుగు
tet - tetun
tg - тоҷикӣ
tg-cyrl - тоҷикӣ
tg-latn - tojikī
th - ไทย
ti - ትግርኛ
tk - Türkmençe
tl - Tagalog
tly - толышә зывон
tn - Setswana
to - lea faka-Tonga
tpi - Tok Pisin
tr - Türkçe
tru - Ṫuroyo
ts - Xitsonga
tt - татарча/tatarça
tt-cyrl - татарча
tt-latn - tatarça
tum - chiTumbuka
tw - Twi
ty - reo tahiti
tyv - тыва дыл
tzm - ⵜⴰⵎⴰⵣⵉⵖⵜ
udm - удмурт
ug - ئۇيغۇرچە / Uyghurche
ug-arab - ئۇيغۇرچە
ug-latn - Uyghurche
uk - українська
ur - اردو
uz - oʻzbekcha/ўзбекча
uz-cyrl - ўзбекча
uz-latn - oʻzbekcha
ve - Tshivenda
vec - vèneto
vep - vepsän kel’
vi - Tiếng Việt
vls - West-Vlams
vmf - Mainfränkisch
vo - Volapük
vot - Vaďďa
vro - Võro
wa - walon
war - Winaray
wo - Wolof
wuu - 吴语
xal - хальмг
xh - isiXhosa
xmf - მარგალური
xsy - saisiyat
yi - ייִדיש
yo - Yorùbá
yue - 粵語
za - Vahcuengh
zea - Zeêuws
zgh - ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ
zh - 中文
zh-cn - 中文(中国大陆)
zh-hans - 中文(简体)
zh-hant - 中文(繁體)
zh-hk - 中文(香港)
zh-mo - 中文(澳門)
zh-my - 中文(马来西亚)
zh-sg - 中文(新加坡)
zh-tw - 中文(台灣)
zu - isiZulu
qqq - Message documentation
Muoto
Vie off-line kääntämiseen soveltuvassa muodossa
Vie perusmuodossa
Hae
{{DISPLAYTITLE:Cisco IOS basic usage}}<languages/> Cisco IOS is found on nearly every Cisco router and switch. They both use a hierarchical structure. [[Tiedosto:Cisco_ios_hierarkia.png|Picture from Cisco Netacad: Ciscon IOS hierarchy structure]] == Basic use == In Cisco IOS you can always get more information and help with a command by putting ''?'' after the comand. Think of it as ''man'' in Linux, just in the end. For instance, the next command prints all commands that are available in the User mode. Switch> ? Using the Tab key you can quicktype commands or get suggestions for commands, just like Linux. In Cisco IOS you can also use shortened words to avoid typing long commands. In order to use shortened commands, you must type the command far enough that there is no other command that starts with the letters you typed than just one. In the next example we run the command ''copy running-config startup-config'' copy start run The command line is ready when you see this mark below: <cr> When your command is missing parameters or information you will be presented with the following error. In this case use ''?'' or tab to find out how to properly run the command. % Incomplete command The command is incorrect or has a typo: % Invalid input detected at '^' marker Exit / Close exit == User mode == The switch/router normally boots straight into user mode. In this state you can't really do much anything, so we transition into the Privilege mode. In this state you can for example ping addresses and show some limited info. Switch> ping 8.8.8.8 == Privilege state == You can get into privilege state using the command Switch> enable The switch/router will prompt for a password if one has been set up. In the privilege state you can browse the current configuration Switch# show running-config As well as current VLANs Switch# show vlan You can also copy the running configuration to the startup configuration, as if to "save" your configuration. It's recommended to do this quite often as configuring a switch for an hour only to lose power and have your progress wiped is VERY annoying. Switch# copy running-config startup-config You can also save the config with the following command (also works in HP network equipment) Switch# write memory Remove configurations Switch# erase startup-config And restart. Show network adapters Switch# show interface Show IP-addresses Switch# show ip interface Show routing (Layer 3 switch and router) Router# show ip route Show ARP table Switch# show arp Show firmware version Switch# show version === Backing up and returning the configuration === When backing up configurations you will need a TFP server. Using TFTP, copy the startup configuration from the network device to your PC. You can also copy the configurations into a .txt file when you print using the show running-config command. Simply copypaste. copy startup-config tftp After this you will be asked: *For a host name or IP address to the TFTP server *Filename of the to be saved configuration file *Confirm save return config from TFTP copy tftp running-config *Host name or IP address to TFTP server *Filename from which the configuration is restored *Confirm restore Save running-config to the startup config if you want the returned configuration to be loaded when the device boots. == Configure mode == You can get to the configure mode using the command Switch# configure terminal In the configure mode you make the configurations for the switch (No shit sherlock!). === Passwords === Protect the switch by setting passwords. ==== Console connection ==== We recommend to set a password for the console port connection Switch(config)# console 0 password passwordhere login ==== Telnet ==== Using a telnet connection you can configure the switch/router without being connected using a console cable. Telnet connections are disabled by default. Before using telnet you must set an IP address for the switch. Switch(config)# line vty 0 [1-15] 0-15 defines how many simultaneous connections are allowed. 0 = 1 connection, 1 = 2 connections etc. It is highly recommended to protect telnet connections with a password, because otherwise anybody can access the switch and it's configurations without even physical access to the device itself. password passwordhere And enable logging in login ==== Enable password ==== Switch(config)# enable password passwordhere (this method is not recommended!) Switch(config)# enable secret passwordhere (this is the recommended method) Now you must give a password when switching to enable mode. === Encrypt all passwords === This will encrypt all the passwords used on the device so they won't be shown in plain text when running the show running-config command. Switch(config)# service password-encryption === Banners === The banner is shown before logging in. Switch(config)# banner motd #This is secure system! Authorized Access ONLY!!!!# === Interface === All connections are connected using switches, so all connections are defined using the interface command. Switch the settings of one port in the switch: Switch(config)# interface FastEthernet 0/1 Switch(config)# interface GigabitEthernet 1/1 Switch the settings of multiple ports in the switch: Switch(config)# interface range FastEthernet 0/1 - 20 Switch(config)# interface GigabitEthernet 1/1 - 2 ==== Description ==== You can give a description for the network connection Switch(config)# interface FastEthernet 0/1 description connection to Admin LAN exit Example description was a notification of connecting to the administrator network. ==== IP address ==== Select your interface or interface range (such as FastEthernet 0/1) Switch(config)# interface FastEthernet 0/1 ip address 10.0.0.1 255.255.255.0 exit ==== VLAN ==== We define the interface or interfaces for a certain VLAN, for instance VLAN2. By default all interfaces are in VLAN1. Switch(config)# interface FastEthernet 0/1 swicthport mode access switchport access vlan 2 exit Now interface FastEthernet 0/1 is in VLAN 2 and other interfaces in VLAN 1. === VLAN === By default a switch only has one VLAN (VLAN1). We define the IP address and subnet mask for VLAN1. Switch(config)# interface vlan 1 ip address 10.10.10.100 255.255.255.0 no shutdown Now we have defined VLAN1 to have the IP address 10.10.10.100 and subnet mask 255.255.255.0 By default all ports are in VLAN1. We add a new VLAN Switch(config)# interface vlan 2 ip address 192.168.1.200 255.255.255.0 no shutdown We define certain ports to be in VLAN1 and some in VLAN2. For instance, FastEthernet 1-12 to be in VLAN1 and FastEthernet 13-24 to be in VLAN2. Switch(config)# interface range fastethernet 0/1 - 2 switchport mode access switchport access vlan 1 interface range fastethernet 0/13 - 24 switchport mode access switchport access vlan 2 === Port Security === Port protection can be done in three different ways: Static, Dynamic and Sticky. For static protection you define one MAC address for the connection. Only a device with that MAC address can use the port. Dynamic protection works using a MAC table. Sticky remembers the defined amount of MAC addresses, which are allowed to use the port. ==== Static Port Security ==== First we select the port or port range Switch(config)# interface fastEthernet 0/11 We go into access mode. You can't make port security configurations in default mode. Switch(config)# switchport mode access We enable port prtoection Switch(config)# switchport port-security mac-address mac-address [vlan {vlan-id | {access | voice}] ==== Dynamic Port Security ==== First we select the port or port range Switch(config)# interface fastEthernet 0/11 We go into access mode. You can't make port security configurations in default mode. Switch(config)# switchport mode access We enable port prtoection Switch(config)# switchport port-security ==== Sticky Port Security ==== First we select the port or port range Switch(config)# interface fastEthernet 0/11 We go into access mode. You can't make port security configurations in default mode. Switch(config)# switchport mode access We enable port prtoection Switch(config)# switchport port-security We define the desired maximum amount of safe addresses Switch(config)# switchport port-security maximum 50 We enable Sticky learning Switch(config)# switchport port-security mac-address sticky == Rommon mode ==
Mainos / Advertisement:
Navigointivalikko
Henkilökohtaiset työkalut
suomi
Kirjaudu sisään
Nimiavaruudet
Toimintosivu
Kirjoitusjärjestelmät
Näkymät
Muut
Haku
Valikko
Etusivu
Ajankohtaista
Tuoreet muutokset
Satunnainen sivu
Ohje
Työkalut
Toimintosivut
Tulostettava versio