wiki:site:cisco:switchport_config:start
This is an old revision of the document!
Table of Contents
Switchport config.
Zapnutí / Vypnutí portu
Switch(config-if)# [no] shutdown
Popis portu
Switch(config-if)# description description-string
Speed a Duplex
Rychlost portu
Switch(config-if)# speed {10 | 100 | 1000 | auto(defult)}
- GBIC porty - napevno 1000
- 1000BASE-T - 10/100/1000
Režim duplexu portu
Switch(config-if)# duplex {auto | full | half}
- auto - nelze nastavit u 10BASE ethernetu
- Ethernet 10 - defaultně half
- FastEthernet 10/100 - defaultně full
- Rychlejší - defaultně auto
Pro zjištění speed/duplex mismatch:
show interface type mod/num
- hledat nenulové hodnoty v “input errors” a “runts”
Interface range a macro
Konfigurace výčtu interfejsů
Switch(config)# interface range type module/number [, type module/number …]
Konfigurace rozsahu interfejsů
Switch(config)# interface range type module/first-number – last-number
Konfigurace více interfejsů pomocí makra
Switch(config)# define interface-range //macro-name type module/number
[, type module/ number …] [, type module/first-number – last-number] [, …]//
Switch(config)# interface range macro macro-name
Příklad:
Switch(config)# define interface-range MyGroup gig 2/0/1 , gig 2/0/3 – 2/0/5 ,
gig 3/0/1 , gig 3/0/10, gig 3/0/32 – 3/0/48
Switch(config)# interface range macro MyGroup
wiki/site/cisco/switchport_config/start.1516105261.txt.gz · Last modified: by root
