SMC Networks SMC6724L3 инструкция обслуживания
- Просмотреть online или скачать инструкцию
- 618 страниц
- 7.54 mb
Идти на страницу of
Похожие руководства по эксплуатации
-
Switch
SMC Networks SMC7824M/ESW
104 страниц 5.56 mb -
Switch
SMC Networks 100BASE-TX
384 страниц 5.43 mb -
Switch
SMC Networks SMC6924VF
174 страниц 1.2 mb -
Switch
SMC Networks SMC7816VSW
962 страниц 11.22 mb -
Switch
SMC Networks SMC8606SX
2 страниц 0.45 mb -
Switch
SMC Networks SMC EZ Stack 10/100 SMC5216
2 страниц 0.07 mb -
Switch
SMC Networks 10/100/1000 SMCGS8P-Smart
366 страниц 7.98 mb -
Switch
SMC Networks Series D- 7K
8 страниц 0.57 mb
Хорошее руководство по эксплуатации
Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации SMC Networks SMC6724L3. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции SMC Networks SMC6724L3 или обучающее видео для пользователей. Условием остается четкая и понятная форма.
Что такое руководство?
Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции SMC Networks SMC6724L3 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.
К сожалению немного пользователей находит время для чтения инструкций SMC Networks SMC6724L3, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.
Из чего должно состоять идеальное руководство по эксплуатации?
Прежде всего в инструкции SMC Networks SMC6724L3 должна находится:
- информация относительно технических данных устройства SMC Networks SMC6724L3
- название производителя и год производства оборудования SMC Networks SMC6724L3
- правила обслуживания, настройки и ухода за оборудованием SMC Networks SMC6724L3
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам
Почему мы не читаем инструкций?
Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск SMC Networks SMC6724L3 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок SMC Networks SMC6724L3 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта SMC Networks, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания SMC Networks SMC6724L3, как это часто бывает в случае бумажной версии.
Почему стоит читать инструкции?
Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства SMC Networks SMC6724L3, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.
После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции SMC Networks SMC6724L3. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.
Содержание руководства
-
Страница 1
T igerSwitch 10/100 24-P ort Layer 3 Switch ◆ 24 10B ASE-T/ 100B ASE-TX auto -MDI/MDI-X ports ◆ Optional 10 00B ASE-T or 1000B ASE-X GBIC modules ◆ 8.8 Gbps aggregate bandwidth ◆ Non-blocking switching architect ure ◆ Support for redundant po w er unit ◆ Rapi d Spanning T ree Protoc ol ◆ Supports up t o 6 static or d ynamic trunks ◆[...]
-
Страница 2
[...]
-
Страница 3
38 T esla Irvine, CA 92618 Phone: (9 49) 679-8000 T igerSwitch 10/100 Manag ement Gui d e From SM C’ s T iger line of f eature-rich workgro up LAN solutio ns Octo be r 2003 Pub. # 15 0200033700A[...]
-
Страница 4
Infor matio n furn ished by SMC Networks , In c . (SMC) is believed to be accurate and reliable. Ho wever, no responsibili ty is assumed by SMC for its use, nor f or any infring eme nts of p atents or oth er righ ts of thir d par t ies which may result from its use. No license is g ranted by implic ation or oth- erwise unde r an y pate nt or p aten[...]
-
Страница 5
v L IMITED W ARRANTY Limited W ar ranty Statement: SM C Networks, Inc. (“SMC ”) war rant s its pro ducts to be free from d efects in w orkmanship and materials , under normal use and service, for the applicable warranty term . All SMC products carr y a standard 90-day li mi ted warranty from the date of purc hase from SMC or its Author i zed Re[...]
-
Страница 6
vi WARRA NTI ES E XCLUSIVE: IF AN SMC PR ODUCT DOES NOT OPERA TE AS W A RRANTED ABO VE, CUSTOMER’ S SOLE REMED Y SHALL BE REP A IR OR REPLA CEMENT OF THE PR ODUCT IN QUESTION , A T SMC’S OPTION . THE FOREGOING W ARRANTIES AND REMEDIES ARE EXCLUSIVE AN D ARE IN LIEU OF ALL OTHER W ARRANTIES OR CONDITIONS , EXPRESS OR IMPLIED , EITHER IN F A CT O[...]
-
Страница 7
vii C ONTENTS 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Key Featu res . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 Descripti on of Softw are Feat ures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 System Defa ults . . . . . . . . . . [...]
-
Страница 8
C ONTENTS viii Using DHCP/ BOOTP . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20 Managing F irmwa re . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22 Download ing System Software from a Server . . . . . . . . . . 3-22 Saving or Rest oring Confi guration Sett ings . . . . . . . . . . . . . . . 3-23 Download ing Con[...]
-
Страница 9
C ONTENTS ix Configuri ng Port Mir roring . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-70 Showing Port Sta tistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-71 Configuri ng Rate Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-77 Trunk Configu ration . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 10
C ONTENTS x Mapping IP Port Prior ity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-131 Copying IP Sett ings to A nother In terface . . . . . . . . . . . . . . . . 3-133 Multicast Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-134 IGMP Pro tocol . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 11
C ONTENTS xi Specifying Ne twork In terfaces for RI P . . . . . . . . . . . . . . 3-178 Configuring Ne twork Inte rfaces for RIP . . . . . . . . . . . . . 3-179 Displaying RI P Informa tion and Sta tistics . . . . . . . . . . . 3-183 Configuri ng the Open Shor test Path First Proto col . . . . . . . . 3-186 Configuri ng General Proto col Settin gs [...]
-
Страница 12
C ONTENTS xii Minimum Ab breviation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Command Completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Getting Help on Command s . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Showing Comm ands . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 13
C ONTENTS xiii username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33 enable pas sword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34 Web Serve r Command s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35 ip http po rt . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 14
C ONTENTS xiv radius-ser ver timeou t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-65 show radi us-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-65 802.1x Port Authenticatio n . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-66 authentic ation do t1x default . . . . . . . . . . . . . . . . . . . . . [...]
-
Страница 15
C ONTENTS xv DHCP Comm ands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97 DHCP Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97 ip dhcp client -identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97 ip dhcp rest art client . . . . . . . . . . . . . . [...]
-
Страница 16
C ONTENTS xvi show inte rfaces s witchpo rt . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-131 Mirror Port C ommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-133 port moni tor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-133 show por t monitor . . . . . . . . . . . . . .[...]
-
Страница 17
C ONTENTS xvii switchpor t mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-166 switchport a ccepta ble-frame-ty pes . . . . . . . . . . . . . . . . . 4-167 switchpor t ingress-filt ering . . . . . . . . . . . . . . . . . . . . . . . 4-168 switchpor t native vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-169 sw[...]
-
Страница 18
C ONTENTS xviii ip igmp snoo ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-197 ip igmp snoo ping vlan static . . . . . . . . . . . . . . . . . . . . . . . 4-197 ip igmp snoo ping versio n . . . . . . . . . . . . . . . . . . . . . . . . . 4-198 show ip igm p snoopin g . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-199[...]
-
Страница 19
C ONTENTS xix ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-227 clear ip rou te . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-228 show ip rou te . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-228 show ip tra ffic . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 20
C ONTENTS xx ip ospf prior ity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-268 ip ospf retra nsmit-inte rval . . . . . . . . . . . . . . . . . . . . . . . . 4-269 ip ospf tran smit-delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-270 show ip os pf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Страница 21
C ONTENTS xxi ip pim trigg er-hello-inte rval . . . . . . . . . . . . . . . . . . . . . . . 4-305 ip pim join-pr une-hold time . . . . . . . . . . . . . . . . . . . . . . . 4-306 ip pim graft-r etry-inte rval . . . . . . . . . . . . . . . . . . . . . . . . . 4-307 ip pim max-gra ft-retries . . . . . . . . . . . . . . . . . . . . . . . . . . 4-308 s[...]
-
Страница 22
C ONTENTS xxii[...]
-
Страница 23
1-1 C HAPTER 1 I NTRODUCTION This sw itch provides a broad range of features for Layer 2 switching and La yer 3 routing . It i ncludes a management agent that allow s you to configur e the features lis ted in this man ual. The default co nfiguration can be used for most of the fea t ures pr ovided by this switch. How ever , there are many op tions [...]
-
Страница 24
I NTR OD UC TI O N 1-2 Descri ption of Soft ware Feature s Th e switch pr ovides a wid e rang e of a dvanced pe rfor mance enhanc ing featu res. Flow contro l eliminates the loss of packet s due to bott lenecks caused by por t satur ation. Br oadc ast stor m supp ressio n prevents br oadc ast traff ic stor ms from engulfing t he netw ork. P or t-ba[...]
-
Страница 25
D ESCRIPTION OF S OFTWARE F EAT UR ES 1-3 minimum delay for mo vin g real-time multimedia data across the network. While multicast filtering and routing provide supp or t for real-time n etwork applic ations . Some of th e management features are b riefly describe d belo w . Configuration Backup and Restore – Y ou can sa ve the cur rent configura[...]
-
Страница 26
I NTR OD UC TI O N 1-4 netw ork traff ic during periods of c ongestion and p revent t he loss of pack ets when port buffer thresh olds are ex ceeded. The sw itch sup por ts flow co ntrol based on the IEEE 802 .3x standa rd. Rate Limiting – T his feature controls the m aximum rate for traffic transmi tted or recei ved on an interface . Rate limi t[...]
-
Страница 27
D ESCRIPTION OF S OFTWARE F EAT UR ES 1-5 IEEE 802.1D Bridge – T he switch supports IEEE 802.1D transparent bridgin g . T he addr ess ta ble facil itates d ata sw itching by lear n ing add resse s, and then filterin g or forwarding tra ffic based on this info r mation. The address table supp orts up to 8K add resses . Store-and-F orward S wi tchi[...]
-
Страница 28
I NTR OD UC TI O N 1-6 Vir t ua l L AN s – The swit ch supports up to 255 VLANs. A Virt ual LAN is a collection of ne twork nodes that share the same collision domain reg ardle ss of th eir p hysical loc ation or conn ect ion poin t in the ne twork. The s witch supp or ts tag ge d VLANs based o n the IEEE 802.1Q stand ard. Membe rs of VLAN groups[...]
-
Страница 29
D ESCRIPTION OF S OFTWARE F EAT UR ES 1-7 IP Routing – The switch provides Layer 3 IP routing . T o maintain a high rate of throughput, th e switch forwards all traffic passing within the same segment , and routes onl y traffic that pas ses between d ifferent subnetworks . T he wire -speed routing provided by this switch lets you easily l ink net[...]
-
Страница 30
I NTR OD UC TI O N 1-8 Multicast Filteri ng – Specific multicast traffic can be assigned to its own VLAN to ensure that it do es not inte rfere with normal netw ork traffic and to guarantee real-time delivery by setting the required priority level for the desig nated VLAN . T he switc h uses IGMP Snoopin g and Query at Layer 2 and IGMP at Layer 3[...]
-
Страница 31
S YSTEM D EFAULTS 1-9 Authentication Privileged Exec Leve l Username “ad min” Password “a dmin” Normal Exec Level Username “guest” Passwo rd “guest” Enable Privileged Exec from Normal E xec Level Password “s uper” RADIUS Authentication Disabled 802.1x Port Authentication Disabled Web Managem ent HTTP Server Enabled HTTP Port Num[...]
-
Страница 32
I NTR OD UC TI O N 1-10 Port Capability 1000BASE-SX/LX/LH – 1000 Mbps full d uplex Full-duple x flow control disa bled Symmetric flow control disable d Rate Limiting Input and output limits Disabled Port Trunking Static Trunks None LACP (all ports) Disabled Broadcast St orm Protection Status Enabled (all ports ) Broadcast Limit Rate 500 packets p[...]
-
Страница 33
S YSTEM D EFAULTS 1-11 IP Precedence Priority Disabled IP DSCP Priority Disabled IP Port Priority Disabled IP Setting s Management. VL AN Any VLAN co nfigured with an IP addre ss IP Ad dress 0.0 .0.0 Subnet Mask 255.0.0.0 Def aul t Ga tew ay 0. 0.0. 0 DHCP Cli en t: Di sab le d Relay: Disa bled Server: Disabled BOOTP Disabled ARP En abl ed Cache Ti[...]
-
Страница 34
I NTR OD UC TI O N 1-12[...]
-
Страница 35
2-1 C HAPTER 2 I NITI AL C ONFIGURATI ON Connect ing to the Switch Configuration Opt ions The switc h includes a built-in ne twor k m anagemen t agent. The agent offer s a variety o f manag eme nt opt ions, including SN MP , R MON a nd a W eb-based i nterface. A PC may al so be connecte d directly t o the switc h for conf igura tion an d monit orin[...]
-
Страница 36
I NI TI AL C ONFIGURATION 2-2 The switch’ s W eb interface, CLI configuration pro gram, and SNMP agent allow you to perf or m the following ma nage ment fu nctions: • Set user na mes and passwords for up to 16 users • Set an IP inter fac e fo r a mana geme nt VL AN • Con fi gure SNM P pa rame te rs • Enable /dis able any port • Set the [...]
-
Страница 37
C ONNECTING TO THE S WITCH 2-3 T o connect a ter minal to the co nsole port, compl ete the fol lowing s t eps: 1. Connect the console cabl e to the serial p o rt on a terminal, or a PC r unnin g ter minal e mulation software, and tighten the captiv e retaining screw s on th e DB- 9 conn ect or. 2. Connect the other end of the cable to the RS - 232 [...]
-
Страница 38
I NI TI AL C ONFIGURATION 2-4 Remote Connections Prior to accessing th e switch’ s onboard a g ent via a n etwork co nnection, you must fir st configur e it with a valid IP address , subnet mask, and de fault g ateway using a c onsole c onnec tion, DH CP or BOOTP pr otocol. The IP address for this switch is unassigned by default. T o manually con[...]
-
Страница 39
B ASIC C ONFIGURATION 2-5 Basic Configuratio n Console Connectio n The CLI program provid es tw o differ ent command lev els — normal access level (Nor mal Exec) and privileged access le vel (Pri vile ged Exec). The commands avail able at the Normal Ex ec level are a limited subs et of those available at the Pri vile ged Exec level and allow y ou[...]
-
Страница 40
I NI TI AL C ONFIGURATION 2-6 Setting Passwords Note: If this is your first time to log into the CLI program, you should define new passw o rds f or both defa ult user names using the “usernam e” command, reco rd them and pu t them in a s afe place. P asswor ds can consist o f up to 8 alphan umeric chara cters and are ca se sensitive. T o p rev[...]
-
Страница 41
B ASIC C ONFIGURATION 2-7 Manual Con figuration Y ou can manually assign an IP address t o the s witch. Y ou ma y also need to speci fy a default gatew ay that resides be tween thi s device and management station s that ex ist on ano ther network segm ent (if r outing is not enable d on this sw itch). V alid IP address es consist of four decim al n[...]
-
Страница 42
I NI TI AL C ONFIGURATION 2-8 Dynamic Configu ration If you select the “boot p” or “dhcp” op tion, IP will be enabled but will no t function until a BOOTP or D H CP reply h as been receiv ed. Y ou therefore need to use the “ip d hcp restart cl ient” command to start broa dcasting ser vice requests. Requests will be sent periodically in [...]
-
Страница 43
B ASIC C ONFIGURATION 2-9 6. Then sa ve y our conf iguration c hanges b y typing “ copy running-conf ig star tu p-conf ig .” Enter t he star tu p file na me and press < Ente r>. Enabling SNMP Management Access The swi tch can be config ured to accept management com mands from Simple Ne twork Manag ement P rotoc ol (SNMP ) applic ations s [...]
-
Страница 44
I NI TI AL C ONFIGURATION 2-10 Th e de fault stri ngs ar e: • public - wit h read-onl y access. Au thorized ma nagement stati ons are only able to retrieve MIB ob jects. • private - with re ad-write access. Authorize d management stations ar e abl e to both retrie ve and mo dify MIB objects. Note: If you d o not in tend to utili ze S NMP, we re[...]
-
Страница 45
B ASIC C ONFIGURATION 2-11 Trap Receiver s Y ou can a lso specify SN MP stations that are to re ceiv e traps from th e switch. T o configure a t rap receiv er, co mplete the fo llowing s t eps: 1. From the Privi leged Exe c level g lobal config uration mode prompt, type “s nmp-ser ver host host-address community-string , ” where “host-ad dres[...]
-
Страница 46
I NI TI AL C ONFIGURATION 2-12 Managing Syst em File s Th e switch’ s fla sh memor y su ppor ts thr ee types of system f iles that can be managed by the CLI prog ram, W eb int erface, or SNMP . The switch’ s file syste m allo ws files to be uploaded an d downloade d, copied, deleted, and set as a start-up file . Th e thr ee typ es of f iles a r[...]
-
Страница 47
M ANAGING S YSTEM F ILES 2-13 Note that configuration files should be downloaded using a file name th at reflects t he contents or usage of the fil e setting s. If you do wnload dire ctly to the r unn ing-c onfig, the s ystem wi ll reboot, and the setting s will have to be copi ed fro m the r unni ng-conf ig to a pe r ma nent file.[...]
-
Страница 48
I NI TI AL C ONFIGURATION 2-14[...]
-
Страница 49
3-1 C HAPTER 3 C ONFIGU RING THE S WITCH Using the We b Interface This sw itch provides an embedded HTTP W eb ag ent. Using a W eb bro wser you can configure the s w itch and view statis tics to monito r netw ork acti vity . The W eb agent can be acc essed by any computer on the network us ing a sta ndar d W eb browse r ( Inter n et E xplor er 5 .0[...]
-
Страница 50
C ONFIGURING THE S WI TC H 3-2 Notes: 1. Yo u are al lowed th ree atte mpts to enter the corr ect passw ord; on th e third failed at tempt the curr ent connec tion is terminate d. 2. If you log in to the W eb inte rface as guest ( Normal Exec le vel), you ca n view the co nfiguratio n settings or change the guest password. If you log in as “admin[...]
-
Страница 51
N AVIGATIN G THE W EB B RO WS ER I NTE RF AC E 3-3 Navigati ng t he Web Brow ser I nterfac e T o acce ss the W e b-browse r interfac e you must firs t enter a user name and passw ord. The administrator h as Read/W rite access to all co nfiguration parameter s and stati stics . T he defaul t user name and passw ord for th e administrator is “ admi[...]
-
Страница 52
C ONFIGURING THE S WI TC H 3-4 Configuration Opt ions Configur able paramet ers hav e a dialog bo x or a dro p-down lis t. Once a config urati on chan ge ha s been made on a pa ge, be sure t o click on the “ Apply” or “ Apply Chang es” button to confir m the new set ting . T he foll owing ta ble summar izes the W eb page c onfigurat ion but[...]
-
Страница 53
N AVIGATIN G THE W EB B RO WS ER I NTE RF AC E 3-5 Main Menu Using the onboard W eb agent, y ou can def ine system p aramete rs, m anage and control the switch, and all its po rts, or monitor ne twork conditions. The following table brief ly describes the selections available from this prog r am. Menu De scription Page System 3-12 System In formati[...]
-
Страница 54
C ONFIGURING THE S WI TC H 3-6 Spanning Tree 3-87 STA Information Displays STA values used for the bridge 3-89 STA Configuration Configures gl obal bridg e settings for STA 3-92 STA Port Information Configures ind ividual port sett ings for STA 3-95 STA Trunk Information Configures ind ividual trunk settings for STA 3-95 STA Port Configuration Conf[...]
-
Страница 55
N AVIGATIN G THE W EB B RO WS ER I NTE RF AC E 3-7 Traffic Classe s Maps IEEE 802.1p priority tags to outp ut queu es 3-122 Queue Scheduling Configures Wei ghted Round Robin queueing 3-124 IP Precedence/ DSCP Priority Sta tus Globally s elects IP Precedence or D SCP Priority, or disab les both. 3-126 IP Precedence Priority Sets IP Type of Service p[...]
-
Страница 56
C ONFIGURING THE S WI TC H 3-8 Statistics Lists Ethernet and RMON port s tatis tics 3-71 Rate Limit 3-77 Input Rate Limit Port Configura tion Sets the input rate limit for each port 3-77 Input Rate Limit Trunk Configu ration Sets the input rate limit for each trunk 3-77 Output Rate Limit Port Configura tion Sets the output rate limit for each po rt[...]
-
Страница 57
N AVIGATIN G THE W EB B RO WS ER I NTE RF AC E 3-9 Dynamic Addr esses Shows dynami cally learne d entries in the IP routing table 3-161 Other Add resses Shows i nternal a ddresses used by the switch 3- 163 Stat istics Sho ws stati stics o n ARP r equests sent an d received 3-164 IGMP 3-144 Interface Settings C onfigures Layer 3 IGMP for specific VL[...]
-
Страница 58
C ONFIGURING THE S WI TC H 3-10 Routing Protoc ol 3-152 RIP 3-175 General Settin gs Enables or d isables RI P, sets the glob al RIP version and timer values 3-176 Network Addresses Configures the network interface s that will use RIP 3-178 Interface Settings Configure RIP parameters for each interfa ce, including send and receive ve rsions, message[...]
-
Страница 59
N AVIGATIN G THE W EB B RO WS ER I NTE RF AC E 3-11 NSSA Settings Configures s ettings fo r importing routes int o or exporting routes out of not-so- stubby areas 3-212 Link State Database Inform ation Shows inform ation abou t diffe rent OSPF Link State Advertisements (LSAs) stored in this router’s database 3-213 Border Router Inform ation Displ[...]
-
Страница 60
C ONFIGURING THE S WI TC H 3-12 Basic Configuratio n Displaying System I nformation Y ou can e asily identi fy the system by displa ying the device name, location and conta ct infor mation. Field Attributes • Sy stem Na me – Nam e assigned to the switch sy stem. • Object ID – MI B II objec t ID for swi tch’s networ k manageme nt subsy ste[...]
-
Страница 61
B ASIC C ONFIGURATION 3-13 We b – Click System , Sy stem Info r ma tion. S pecif y the syst em n ame, location , and contact information for th e system admini strator , then cl ick Apply . (T hi s pag e also inclu des a Te l net bu tton that allows acces s to th e Command Line Interface via T elnet.) CLI – Specify the h ostname, location and c[...]
-
Страница 62
C ONFIGURING THE S WI TC H 3-14 Displaying Switch Hardware/Software Versions Use the Swi tch Information page to display hardware/firmware version numbe rs for th e main board and management soft ware, as w ell as the pow er status of t he system. Field Attributes Main Board • Serial Number – The ser i al numb er of the swit ch. • Service Tag[...]
-
Страница 63
B ASIC C ONFIGURATION 3-15 We b – Click System, Switch Infor mation . CLI – Use the followin g command to display version infor mation. Console#show version 4-52 Unit1 Serial number :1111111111 Service tag : Hardware version :R0A Number of ports :26 Main power status :up Redundant power status :not present Agent(master) Unit id :1 Loader versio[...]
-
Страница 64
C ONFIGURING THE S WI TC H 3-16 Displaying Bridge Extension Capabilities Th e Bridg e MIB in clude s extens ions for manag ed d evices th at sup por t Multicast Filtering , T raffic Classes, and V ir tual LANs . Y ou can access these exten s ions t o displa y default set tings for th e key v ariables , or to conf igure the globa l settin g for GARP[...]
-
Страница 65
B ASIC C ONFIGURATION 3-17 We b – Click System, Bridg e Extension . CLI – Enter the following command. Setting the Switch’s IP Address Th is sectio n desc ribes how to conf ig ure an initial IP interface for manageme nt access o ver t he netw ork. The IP add ress for this switc h is unassigne d by default. T o manual l y configure an address [...]
-
Страница 66
C ONFIGURING THE S WI TC H 3-18 Y ou can m anually con figure a spec ific IP addres s, or direct the d evice to obtain an address from a BOOTP or DHCP server . V alid IP addres s es consist of four dec im al numbers , 0 to 255, separated by periods . Anything outside this for mat will not be accepted by the CLI p rog ram. Command Usa ge • This se[...]
-
Страница 67
B ASIC C ONFIGURATION 3-19 • Subnet Mask – This mask id entifi es the host ad dress bi ts used for routing to spec ific su bnets. (Defa ult: 255 .0.0.0) • Default Gateway – IP addr ess of th e gat eway router betw een t his de vice and mana gement stations that exist on oth er net work segment s. (Default: 0.0. 0.0) Manual Con figuration We[...]
-
Страница 68
C ONFIGURING THE S WI TC H 3-20 CLI – Specify t he management interf ace, IP addres s and default gatew ay . Usin g DHC P/B OOT P If you r network provid es D HCP /BO OTP s er vice s, you can con figu re th e switc h to be dyna m ical ly configured b y these se r vices . We b – Click IP , General, Routing Interface. Specify the VLAN to which th[...]
-
Страница 69
B ASIC C ONFIGURATION 3-21 CLI – Specif y the manageme nt interface , and s et the IP Add ress Mode to DHCP or BOOT P , and th en en ter t he “ip dhcp re sta rt c lie nt” co mman d. Renewing DCHP – DHCP may lea se add res ses to cl ien ts inde fin itely or for a sp ecific period of time . If the addre ss expires or the switch is mov ed to a[...]
-
Страница 70
C ONFIGURING THE S WI TC H 3-22 Managing Firmware Y ou c an upload /downl oad fir mware to or from a TFTP ser ver . By saving r untime code to a file on a TFTP ser ver , that file can later be downloaded to the sw itch to res tore op eratio n. Y o u can also set th e switch to u se new fir mware without overwriting the pr evious version. Command At[...]
-
Страница 71
B ASIC C ONFIGURATION 3-23 If you download to a new destination file, then se lect the file from the drop-do wn bo x for the ope ration code use d at startup , and cli ck Apply Chang es. T o s tar t the new fir m ware, rebo ot the system via th e Syst em/ Res e t m e nu . CLI – Ente r the IP address of the TF T P server , sele ct “config” o r[...]
-
Страница 72
C ONFIGURING THE S WI TC H 3-24 31 characters for files on the switch. (Valid c haracters: A-Z, a-z, 0-9, “ . ”, “-”, “_”) Note: The maximum numbe r of user-defined configuration files is limited only by available fl ash memory space. Download ing Configuration S ettings fro m a Server Y ou can d ownload t he config uration fi le under [...]
-
Страница 73
B ASIC C ONFIGURATION 3-25 CLI – Enter the IP address of the TF T P ser ver , specify the source fi le on the ser ver, set the star tu p file name on the sw itch, and t hen re star t the switch. If you download the startup configuration file under a new file name, you can set this file as t he st artu p file a t a la ter time, and then resta r t [...]
-
Страница 74
C ONFIGURING THE S WI TC H 3-26 Confi g uring SNTP Y ou can c onfigure t he switc h to send t ime sync hronizat ion requests to specific time se r vers (i.e., client mode), upda te its clock based on broadc asts from time se r vers, or use bot h method s . W hen b oth meth ods are enabled, the switch will update its clo ck using infor mation b road[...]
-
Страница 75
B ASIC C ONFIGURATION 3-27 CLI – This example c onfigures t h e swi t ch t o operat e as an SNTP broadc ast c lient. Sett ing the Tim e Zo ne SNTP uses Co ordinated Uni versal T ime (or UTC , for merly Greenwi ch Mean T ime, or GMT) based on the time at the Ea r th’ s prime mer idian, zero deg rees long itude. T o display a time cor respo nding[...]
-
Страница 76
C ONFIGURING THE S WI TC H 3-28 Resetting the System We b – Cli ck Syst em, R eset. C l ic k the R eset bu tton to r estart the s witch . CLI – Use th e reloa d command to restart th e switc h. Note: When restartin g the system, it will always run th e Power-On Self-Test. User Aut henti cation Use th e Passw ords or Radius menu to re strict man[...]
-
Страница 77
U SER A UTHENTICATION 3-29 The default gue s t name is “ g uest” wit h the passw ord “guest. ” The default administrator n ame is “admin” with the pas sword “ad m in. ” Note that user names c an only be assig ned vi a the CLI. Command Attributes • User Name* – The nam e of the user. (Maximum length: 8 cha racters; maximum number[...]
-
Страница 78
C ONFIGURING THE S WI TC H 3-30 Configuring L ocal/Remote Logo n Authentication Use th e Authen tication Settings m enu to res trict manageme nt access bas ed on specif ied user names and pas s w ords . Y ou can manuall y configure access rights on the switc h, or you can use a remote ac cess authenti cation ser ver based on the RA DIUS pr otoc ol.[...]
-
Страница 79
U SER A UTHENTICATION 3-31 (1) RADIUS a nd ( 2) Loca l, the u ser name and p asswo rd on th e RADIUS server is verified first. If the RADIUS server is not av ailable, then the local us er name and pa ssword is c hecked. Command Attributes • Authentication – Select the authen tication, or authen tication se quence required: - Local – User auth[...]
-
Страница 80
C ONFIGURING THE S WI TC H 3-32 We b – Click System, Radius . T o configure local or remote aut hentication prefe rences, specify the auth entication seq uence (i.e ., one to tw o methods) , fill in the parameters for RADIUS au thentic ation if sele cted, and click Apply . CLI – Spe cify all th e required param eters to enabl e logo n auth enti[...]
-
Страница 81
U SER A UTHENTICATION 3-33 ports in a n etwor k can be cent rally cont rolled from a ser ver , whic h means that autho rized users can use the same cred entials for authent ication from any point w ithin th e network. This sw itch uses the Ex tensible Au thentica tion Protoc ol ov er LANs (EAPOL) to exc h ang e auth enticati on protoc ol m es sag e[...]
-
Страница 82
C ONFIGURING THE S WI TC H 3-34 • Each switch port that will be used must be set to dot1x “ Auto” mode. • Each cli ent that needs to b e authenti cated mu st have do t1x clie nt software installe d and properly conf igured. • The RADIUS server and 802.1x clien t support EAP. (The switch only suppor ts EA POL in order to pass t he EA P pac[...]
-
Страница 83
U SER A UTHENTICATION 3-35 • Server timeout – The ti me the swit ch waits for a response from the authen tication s erver (RADIU S) to an authent ication reques t. • Re-authentication Max Count – The number of times the sw itch will attempt t o re-authenticat e a connected client before th e port becomes unauthoriz ed. We b – Click dot1x,[...]
-
Страница 84
C ONFIGURING THE S WI TC H 3-36 Configur ing 802.1x Global S ettings Th e dot1 x protoc ol incl udes gl obal para meter s that co ntro l the clie nt authen ticatio n proces s that runs betw een the cl ient and t he switc h (i.e., authen ticator), as well as t he client identity l o okup p rocess that r uns betw een the switc h and authent ication s[...]
-
Страница 85
U SER A UTHENTICATION 3-37 • Timeout for Quiet Period – Sets the time that a s witch port waits a fter the do t1X Max Request Coun t has been exce eded before at tempting to ac quire a n ew c lient . (Range: 1-65535 seconds; Def ault: 60 seconds) • Timeout for Re-authentication Period – Sets t he time pe riod af ter which a connected client[...]
-
Страница 86
C ONFIGURING THE S WI TC H 3-38 Configur ing Port Authoriza tion Mode Whe n dot1x is en abled , you need to specify the dot1x au thentic ation mo de configur ed for each p or t. Command Attributes • Status – Indicates if authen tication i s enabled or disabled on the port. • Mode – S ets the auth entica tion mod e to one of the followin g o[...]
-
Страница 87
U SER A UTHENTICATION 3-39 CLI – This ex ample sets the auth enticatio n mode to enable do t1x on por t 2. Displaying 802.1x S tatistics This sw itch can display statistics for dot1x p rotocol exc h ang es for any por t. Statistical V alues Console(config)#interface ethernet 1/2 4-119 Console(config-if)#dot1x port-control auto 4-68 Console(config[...]
-
Страница 88
C ONFIGURING THE S WI TC H 3-40 We b – Select d ot1X, dot1X Stat istics . Select th e required port and then click Query . Click Refresh t o update the st atistics. CLI – This example displays the dot1x statisti cs for port 4. Tx EAP Req/Id The number of EAP Req/I d frames that have been transmitted by this Authenticator. Tx EAP Req/Oth The num[...]
-
Страница 89
A CCES S C ONTROL L ISTS 3-41 Access Control L ists Access Control Lists (AC L) provide packet filtering f or IP frames (b ased on add ress, protocol, TC P/UD P por t numbe r or TCP contro l code) o r any fram es (based on MA C address or Ethernet type). To fil ter incoming packets , first creat e an access list, add t he required r ules , and then[...]
-
Страница 90
C ONFIGURING THE S WI TC H 3-42 The order in wh ich activ e ACLs ar e check ed is as follows: 1. User-defined r ules in th e MAC ACL. 2. User-defined r ules in th e IP ACL. 3. Explicit def ault r ule (permit any any) in the IP A CL. 4. Explicit def ault r ule (permit any any) in the MA C A CL. 5. If no ex plicit r ule is matched, the implicit defau[...]
-
Страница 91
A CCES S C ONTROL L ISTS 3-43 We b – Click A C L, A CL Co nfiguration. Enter an A CL name in the Name field, select the lis t type (IP Stan dard, IP Ext ended, or MA C), and clic k Add to open th e configuration pag e for the new lis t. CLI – This example creates a standard IP A CL named bill. Configur ing a Standard IP ACL Command Attributes ?[...]
-
Страница 92
C ONFIGURING THE S WI TC H 3-44 We b – Speci fy the action ( i.e., P er mit or Deny ). Select the address type (Any , Host , or IP). If you select “Host, ” enter a s pecific addres s. I f you select “IP , ” en ter a subnet addre ss an d the ma sk for an add ress ra ng e. T hen click Add. CLI – This example c onfigures on e per mit rule [...]
-
Страница 93
A CCES S C ONTROL L ISTS 3-45 • Src/Ds t SubMask – Subnet mask for source or destinatio n address. (See Sub Mask in the pr eceding sec tion.) • Protocol – Spec ifies t he prot ocol ty pe to match as T CP, UDP or Others , where others indicates a specific p rotocol number (0-255). (Opti ons: TCP, U DP, Others ; Default : TCP) • Src/Dst Por[...]
-
Страница 94
C ONFIGURING THE S WI TC H 3-46 We b – Specify the acti on (i.e. , Permit or Deny). Specif y the source and/o r desti nation addr esses . Select t he address typ e (Any , Host, or I P). If y o u selec t “Host ,” e nter a speci fic address . If you se lect “IP , ” enter a s ubnet address an d the mask for an address range . Set any other r[...]
-
Страница 95
A CCES S C ONTROL L ISTS 3-47 3. P er mit all TCP packets from class C addresses 192.168.1.0 with the TCP contr ol code set to “SYN .” Configur ing a MAC ACL Command Usa ge Egress MA C A CLs only w ork for destina tion-mac-kn own pac kets , not for multicast, br oadcas t, or des tination -mac- unknown packets. Command Attributes • Action – [...]
-
Страница 96
C ONFIGURING THE S WI TC H 3-48 We b – Specify the acti on (i.e. , Permit or Deny). Specif y the source and/o r desti nation addr esses . Enter a speci fic address ( e.g ., 11-22-33 -44-55-66). Or enter a base address and a h exadecimal bitmask for an address range. Set an y oth er req uir ed cr iteria, such as Ethe rn et t ype, or pa cket for ma[...]
-
Страница 97
A CCES S C ONTROL L ISTS 3-49 Binding a Port t o an Access Control List After co nfiguring Acces s Control List s (ACL ), you can bin d the ports that need to filter tra ffic to the appr opriate A CLs . Y ou can o nly assign o ne IP access list and/or o ne MA C access list to any port. Command Attributes •P o r t – Fixed p o rt or mo dule. (Ran[...]
-
Страница 98
C ONFIGURING THE S WI TC H 3-50 Simple Netw ork Management Protoc ol Simple Ne twork Manag ement P rotoc ol (SNMP) is a communic ation protoc ol de signed s pecif ically f or managi ng de vices on a network. Equipmen t commonly ma naged with SNMP in cludes switch es, ro uters and h ost co mpu ter s . SNM P is typ ica lly us ed to con figu re th ese[...]
-
Страница 99
S IMP LE N ETWORK M ANAGEME NT P RO TO CO L 3-51 • Acce ss Mo de - Read-Only – Specifies read-only access. Authorized manag ement stations are only able to retrieve MIB ob jects. - Read/Write – Sp ecifies read-write acc ess. Authorize d management stations are able to both retrieve and mo dify MIB objects. We b – Click SNMP , SNMP Configura[...]
-
Страница 100
C ONFIGURING THE S WI TC H 3-52 Command Usa ge • You can enable or disable authe ntication mess ages via the Web i nterface. • You can ena ble or di sable auth enticatio n messages or link-up -down messages via the CLI. Command Attributes • Trap Manager Capability – This switch supports up to five trap managers. • Trap Manager IP Address [...]
-
Страница 101
D YNAMIC H OST C ONFIGURATION P RO TO CO L 3-53 Dynamic Host Configu ration Protoco l Dynamic Ho st Configu ration P rotocol (DH CP) ca n dynamica lly alloca te an IP address and other confi guration in for mation to netw ork clien t s when the y boot up . If a su bnet does not already include a BOOTP or DHCP ser ver, you can relay DHCP clien t req[...]
-
Страница 102
C ONFIGURING THE S WI TC H 3-54 Command Usa ge Y ou must specif y the I P addr ess fo r at le ast one DHC P ser ver . Otherwi se, the switch’ s DHCP relay agent will no t forward clien t requests to a DHCP ser ver . Command Attributes • VLAN ID – ID of configured VLAN. • VLAN Name – Name of the VLA N. • Server IP Address – Add resses [...]
-
Страница 103
D YNAMIC H OST C ONFIGURATION P RO TO CO L 3-55 Configuring th e DHCP Server This sw itch includes a Dynamic Host Co nfiguration Protocol (DHC P) ser ver t hat can assign temp orar y IP addresse s to any attac hed host requestin g ser vice. It can a lso provide o ther network sett ings su ch as the domain name, default g ateway , Domain Name Ser ve[...]
-
Страница 104
C ONFIGURING THE S WI TC H 3-56 Enabling the Server, Sett ing Excluded Addr es ses Enable the DHCP Ser v er and specify the IP ad dresses that it should n ot be assig ned to clie nts. Command Attributes • DHCP Server – Ena bles or di sables the DHCP ser ver on this sw itch. (Default: Disabled) • Excluded Addresses – Spec ifies IP add res se[...]
-
Страница 105
D YNAMIC H OST C ONFIGURATION P RO TO CO L 3-57 Confi guring Address Pools Y ou mu st configur e IP address pools for each IP interface th at will pr ovide addres ses to a ttached clients via th e DHC P ser ver. Command Usa ge • First config ure address po ols for the netw ork interfaces . Then you can manually bind an address to a specific clien[...]
-
Страница 106
C ONFIGURING THE S WI TC H 3-58 Command Attributes Crea ting a New A ddr ess Pool • Pool Name – A string or integer . (Range: 1-8 characters) Setting the Network P arameters • IP – The IP ad dress of the D HCP addr ess pool. • Subnet Mask – The bit co mbinatio n that id entifies th e netw ork (or subne t) and th e hos t port ion of th e[...]
-
Страница 107
D YNAMIC H OST C ONFIGURATION P RO TO CO L 3-59 • Bootfile – The default boot imag e for a DHCP client. T his file should placed on the T rivial File T ransfer Protocol (T FTP) ser ver specified as the Next Ser ver. • Next Server – T h e IP addr ess of th e next ser ver in the boo t proce ss, which is typically a T rivial File T ransfer Pro[...]
-
Страница 108
C ONFIGURING THE S WI TC H 3-60 Configuring a Network Address Pool We b – Click DHCP , Ser v er, P o ol Conf iguration. Clic k the Configure button for any ent r y . Click the r adio butto n for “N etwork. ” E nter th e IP addres s and su bnet ma sk for th e network poo l. Configu re the option al parameter s such as defaul t router and DNS s[...]
-
Страница 109
D YNAMIC H OST C ONFIGURATION P RO TO CO L 3-61 Configuring a Ho st Addr ess Pool We b – Click DHCP , Ser v er, P o ol Conf iguration. Clic k the Configure button for any ent r y . Click the rad io butto n for “Hos t.” Enter the IP address , subnet mas k, and hardw are address for t he client device. Configu re the o ption al paramete rs such[...]
-
Страница 110
C ONFIGURING THE S WI TC H 3-62 CLI – This example configures a host address po ol. Displaying Address Binding s Y ou can d isplay th e host device s which ha ve acq uired an IP addr ess from this switch’ s DHCP ser ver . Command Attributes • IP Address – IP addre ss ass igned to host. • Mac Address – MAC ad dress of host . • Lease ti[...]
-
Страница 111
P ORT C ONFIGURATION 3-63 We b – Click DHCP , Ser ver, IP Binding . Y o u may use the Delete button to clear an ad dress from the DH CP ser v er’ s database . CLI – This exampl e displays the current bindin g, and then clea rs all auto matic binding . Port Conf iguration Displaying Connection Status Y ou c an use the Port Inf or matio n or T [...]
-
Страница 112
C ONFIGURING THE S WI TC H 3-64 • Speed/Duplex Status – Shows the cur rent speed and duplex mo de. (Auto, o r fixed ch oice ) • Flow Control Status – Indi cates type of f low control currently in use. (IEEE 802.3x, Back-Pressure or None) • Auto negot iat ion – Shows if auto-negoti ation is enab led or disabl ed. • Trunk Member 1 – S[...]
-
Страница 113
P ORT C ONFIGURATION 3-65 • Speed-duplex – Show s the curre nt speed and d uplex mode . (Auto, or fixed ch oice) • Capabilities – Spec ifies the capabilities to be advertised for a port during auto-ne gotiatio n. (To access this item o n the Web, see “Configur ing Interface Conn ections” o n page 3-48.) The fol lowing capab ilities are [...]
-
Страница 114
C ONFIGURING THE S WI TC H 3-66 CLI – This example s hows the co nnection sta t us for P ort 13. Console#show interfaces status ethernet 1/13 4-128 Information of Eth 1/13 Basic information: Port type: 100tx Mac address: 00-30-f1-47-58-46 Configuration: Name: Port admin: Up Speed-duplex: Auto Capabilities: 10half, 10full, 100half, 100full, Broadc[...]
-
Страница 115
P ORT C ONFIGURATION 3-67 Configuring I nterface Connections Y ou can use the P or t Config uration or T r unk Con figuration page to enable/disable an int erface, set a uto-negotia tion and the inte rface capabilities to advert ise, or manually fix the speed, dup lex mode, and f low contr ol. Command Attributes • Name – Allows you to label an [...]
-
Страница 116
C ONFIGURING THE S WI TC H 3-68 port connected to a hub unless it is actually required to so lve a proble m. Otherw ise bac k press ure jammin g signa ls may de grade overall performance for the segm ent attached to the hub.) (Default: Autonegotiat ion enabled; Advertise d capabilities for 100BASE-TX – 10half, 10full, 100half, 100full; 1000BASE-T[...]
-
Страница 117
P ORT C ONFIGURATION 3-69 Setting Broadcast Storm Thre sholds Broadc ast stor ms may o ccur when a devi ce on your net work is malfunctioning, o r if application prog rams are not well designed or proper ly configured. If there is too muc h broadcas t traffic on y our network, per for ma nce ca n be severel y deg rad ed or ever yt hing can c ome to[...]
-
Страница 118
C ONFIGURING THE S WI TC H 3-70 CLI – Sp ecify any i nterf ace, and then enter the th reshol d. T he followin g sets broadcast suppression at 600 pack ets p er second. Configuri ng Port Mirr oring Y ou can mi r ror traffic fr om any source por t to a targ et po r t for r eal -time analysis . Y ou can then attach a logic analyzer o r RMON probe t [...]
-
Страница 119
P ORT C ONFIGURATION 3-71 • Type – Allows you to select wh ich traffic to mirror to th e target port, Rx (receive), T x (trans mit), or Both. • Target Port – The port that will “duplicate” or “m irror” the traffic on the s ource por t. We b – Clic k Po r t, Mirror . Specify the s ource port, the traf fic type to be mir rore d, and[...]
-
Страница 120
C ONFIGURING THE S WI TC H 3-72 passing thro ugh each port. A ll values displayed hav e been acc umulated sinc e the last sy stem reboot , and are sh own as co unts per sec ond. Statisti cs are refres hed every 60 sec onds by de fault. Note: RMO N gro ups 2, 3 and 9 can on ly be acce ssed us ing SNMP management software such as SMC’s EliteView. S[...]
-
Страница 121
P ORT C ONFIGURATION 3-73 Transmit Multicast Packets The total number of packets that higher-level p rotocols requested be transmitted, a nd which were addressed to a multicast addr ess at this su b-layer, incl uding those th at were discarded or not sent. Transmit Broadcast Packets The total number of packets that higher-level p rotocols requested[...]
-
Страница 122
C ONFIGURING THE S WI TC H 3-74 Multiple C ollision Frames A count of successful ly transmitted frames for whic h transmission is inhibi ted by more than one collis ion. Carrier Sense Errors The number of times t hat the carrier sens e condition was lost or ne ve r asserted when attemp ting to transm it a frame. SQE Test Errors A count of times tha[...]
-
Страница 123
P ORT C ONFIGURATION 3-75 CRC/Alignm ent Errors The number of CRC/align ment erro rs (FCS or alignment errors). Undersize Fra mes The tota l number of fram es received that were less than 64 octets long (excluding f raming bits, but includ i ng FCS octets) and were othe rwise well formed. Oversize Frames The total number of frames received that wer[...]
-
Страница 124
C ONFIGURING THE S WI TC H 3-76 We b – Click Statistics , Port Statistic s . Select the required int erface, and click Quer y . Y o u can al so use the R e fre sh button at the bott om of th e pag e to up date the s cree n.[...]
-
Страница 125
P ORT C ONFIGURATION 3-77 CLI – This example show s statistics for por t 13. Configuring Rate Lim its This f unctio n allows the ne twork manag er to co ntro l the maximum rate for traffic transmitted or receiv e d on an interface. Rate limiting is config ured on interfa ces at the edg e of a ne twork to limit traf fic int o or ou t of the networ[...]
-
Страница 126
C ONFIGURING THE S WI TC H 3-78 Command Usa ge Due to a switch chip limitation , the input rate limit c an only be enabled or disabled glob ally for all interfaces on the switch. However , the output rat e limit can be enabled or disabl ed for individual interfaces . Command Attribute • Rate Limit – Set s the inpu t or out put ra te limit for a[...]
-
Страница 127
T RUN K C ONFIGURATION 3-79 CLI - This example sets the rate limit for inp ut and output traffic passing through por t 1 to 60 Mbps. Trunk Co nfiguration Y ou can c reate multipl e links between d evices that w ork as one virtual, ag g regate link. A port tr unk offers a d ramatic increase in bandwid th for network segments wher e bottlenecks exist[...]
-
Страница 128
C ONFIGURING THE S WI TC H 3-80 Command Usa ge Beside s balanc ing the lo ad ac ross each por t i n the t r unk, the oth er por ts provide re dund ancy by taki ng over the load if a por t in th e tr unk fa ils . Ho wever , before makin g any ph ysical connect ions between devices , use the W eb in terfac e or CLI t o spec ify the tr unk on th e dev[...]
-
Страница 129
T RUN K C ONFIGURATION 3-81 • A trunk formed with another switc h using LACP will automatically be assign ed the next available trunk ID . • If more than fou r ports a ttached to the same target switch have LACP enabled, the addition al ports will be placed in st andby mod e, and will only be enabled if one of the active links fails. • All po[...]
-
Страница 130
C ONFIGURING THE S WI TC H 3-82 CLI – The follow ing example enabl es LA CP for ports 17 and 18. J ust connec t these ports t o two L AC P-enabled trunk po r ts on anot her switc h to for m a tr unk. Statically Configuring a Trunk Command Usa ge • When configuring static trunks, you may not be able to link sw itches of diff erent types, dependi[...]
-
Страница 131
T RUN K C ONFIGURATION 3-83 We b – Click T r unk, T r unk Configuration. Enter a tr unk ID of 1-6 in the T r unk field, sel ect any of the switch po r ts from th e scroll-do wn port list, and cl ick Add. Aft er you ha ve com p lete d adding ports to the member lis t, click Apply . CLI – This example creates tr unk 2 wit h ports 11 and 12. Just [...]
-
Страница 132
C ONFIGURING THE S WI TC H 3-84 Addre ss Ta ble Settin gs Switches sto re t he addre sses for all known devices. This infor mation is used to pass traff ic directly b etween t he inbound and outbou nd ports . All the add resses learned b y monitorin g traffic are s t ored i n the dy namic address t able. Y ou can also man ually configure stat ic ad[...]
-
Страница 133
A DDR ES S T ABLE S ETTINGS 3-85 We b – Click Address T able, Static Addresse s . Specify th e interface, the MA C address and VLAN , then click Ad d Static Address . CLI – This example adds an address to the static ad dress table, but sets it to be deleted w hen the switch is rese t. Displaying the Address Table The Dynamic Address T able cont[...]
-
Страница 134
C ONFIGURING THE S WI TC H 3-86 • Address Table Sort Key – You ca n sort the info rmation displa yed based on inter face (p ort or tru nk) or MAC addr ess. We b – Clic k Address T able , Dynami c Addresses . Specify t h e se arch type (i.e., mar k the In terfac e, MA C Addr ess, or VLAN che ckbox), sel ect t he method of sorting the dis playe[...]
-
Страница 135
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-87 Changing the Agin g Time Y ou c an set the a ging tim e for entri es in the d ynamic addres s tabl e. Command Attributes • Aging Time – The time af ter which a lea rned entry is discarded. (Range: 10-1000000 seconds; Default: 300 seconds) We b – Click Address T able, Addre ss Aging . Sp ecify t[...]
-
Страница 136
C ONFIGURING THE S WI TC H 3-88 ST A uses a dist ributed algorithm to select a bri dging device (STA-complian t switch, br idg e or rou ter) that ser ves as the root o f the spann ing tree netw ork. It sele cts a root po r t on eac h bridging d evice (ex cept for the root device) which incu rs the lo west p ath cost whe n forw arding a pack et from[...]
-
Страница 137
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-89 Displaying Global Settings Y ou can d isplay a summary of the current bri dg e ST A inform atio n that applies to the entire switch u s ing the STA Inform ation screen. Field Attributes • Spanning Tree State – Shows if the switch is enable d to participate in an STA-compli ant netw ork. • Bridg[...]
-
Страница 138
C ONFIGURING THE S WI TC H 3-90 - Root Path Cost – The p ath c ost f rom t he ro ot po rt on this sw itch to the root device. • Configuration Changes – The numb er of time s the Sp anning Tr ee has been re configured. • Last Topology Change – Time si nce the Span ning Tree w as last reconfi gured. These additio n al parameter s are only d[...]
-
Страница 139
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-91 • Root Hold Time – The in terval (in seco nds) during wh ich no m ore than two brid ge conf igura tion pro toco l data unit s shall be transmit ted by th is node. We b – Click Spanning T r ee, ST A Infor m ation. CLI – T his command disp lays global ST A settings, followed b y settings for ea[...]
-
Страница 140
C ONFIGURING THE S WI TC H 3-92 Configuring Global Setti ngs Global sett ings ap ply to the e ntire sw itch. Command Usa ge • Spannin g Tree Prot ocol Uses RSTP fo r the internal state machine, but sends only 802.1D BPDUs. • Rapid Spannin g Tree Protoc ol RSTP su pports conn ecti ons to eith er STP or RSTP nodes by mon itorin g the i ncoming pr[...]
-
Страница 141
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-93 device with th e lowest MAC ad dress will then be come the root d evice. (Note t hat lower nu meric values ind icate higher priority.) Default: 32768 Range: 0-61440, in steps of 409 6 Options: 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 3276 8, 36864, 40960, 45056, 49152, 53248, 57344, 61440 Ro[...]
-
Страница 142
C ONFIGURING THE S WI TC H 3-94 Advance d Conf igurat ion S etting s for RS TP • Path Cost Method – T he path cost is us ed to de term ine the best pat h betwee n devices. The path co st method is used to determi ne the range of values that can be assi gned to each int erface. Long: Specifies 32-bit based values that ra n ge from 1-200,000,000.[...]
-
Страница 143
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-95 CLI – T his examp le en able s Span ning Tree Proto col, an d the n sets the indicated att ributes . Displaying Interface Setti ngs The ST A P or t Infor mation and STA T r unk Infor mation pages d isplay the cur rent s tatus o f por ts an d tr unks in the S pannin g T ree. Field Attributes • STA[...]
-
Страница 144
C ONFIGURING THE S WI TC H 3-96 • Designated Cost – The cost for a packet to tr avel from this port t o the root in the current Span ning Tree conf iguration. The sl ower the media, the hi gher th e cos t. • Designated Bridge – The bridge prior ity and MAC a ddress of t he device thr ough w hich this p ort mus t commun icat e to reac h the [...]
-
Страница 145
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-97 • Trunk Member – Indicates if a port is a member of a trunk. (STA Port Information o nly) These additio n al parameter s are only displ ayed for the CLI: • Admin status – Shows if STA has bee n enabled on this int erface. • Path Cost – This p aramete r is use d by the S TA to de termine t[...]
-
Страница 146
C ONFIGURING THE S WI TC H 3-98 directl y through to t h e span ning tree forw arding state. Sp ecifying Edge Ports provides quicker convergence for devices s uch as workstatio ns or server s, reta ins the c urrent fo rward ing data base to reduce the am ount of frame flood ing required to re build ad dress tabl es du ring reco nfigur atio n events[...]
-
Страница 147
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-99 CLI – This example s hows the ST A attributes fo r port 5. Configuring I nterface Settings Y ou can c onfigure RSTP a t tribut es for specific interfaces , includin g port priorit y , path co st, link type, an d edg e po rt. Y ou m ay use a d iffere nt priorit y or path cos t for por t s of the sam[...]
-
Страница 148
C ONFIGURING THE S WI TC H 3-100 - Forwarding - Port fo rwards packets, and continues learning addr esses. • Trunk – Indica t es if a port is a member of a trunk. (STA Por t Configu ration only ) Th e fol lowing inter face attri but es ca n be confi gure d: • Priority – De fines t he prior ity use d for this port in the S pannin g Tree Prot[...]
-
Страница 149
S PANNING T RE E A LGOR ITHM C ONFIGURATION 3-101 • Admin Link Type – The link type a ttached to this inte rface. - Poin t-to-Poin t – A conn ecti on to exa ctly one other bridge. - Shar ed – A co nnec tion to two o r more b ridges . - Auto – The switch auto m atica lly determin es if the int erface is atta ched to a point-to -point link [...]
-
Страница 150
C ONFIGURING THE S WI TC H 3-102 We b – Click Sp anning T ree, ST A P o r t Configuration or STA T r unk Configuration. Modify the requir ed attri b utes , then cl ick Apply . CLI – T his examp le sets STA attribute s for por t 7. VLAN C onf igur ation Overview In la rg e netw orks , routers a re used to isol ate broadcas t traffic for ea ch su[...]
-
Страница 151
VLAN C ONFIGURATION 3-103 An IEEE 802.1Q VLAN is a g roup of por ts that can be located anywhere in the n etwork, but commun icate as thoug h they belong to th e same ph ysical segment. VLANs he lp to sim plify network mana g ement by allowing you to move device s to a new VL AN with out h aving to chang e an y physical conne ction s . VLA Ns ca n [...]
-
Страница 152
C ONFIGURING THE S WI TC H 3-104 switch to par ticipate in one or more VLANs, but none of the inter mediat e network dev ice s nor the host at the othe r end of the conn ecti on su ppor ts VLANs , then yo u should add this port to the VL A N as an un tag ged port. Note: VLAN -tagged frames can p ass through VLAN-aware or VLAN -unaware net work inte[...]
-
Страница 153
VLAN C ONFIGURATION 3-105 used to man ually isolate user groups or s ubnets . Howe ver, you should use IEEE 802.3 tag g ed VLANs with GV RP whenever poss ible to fully auto mate V LAN regis trati on. Automatic VLAN Registration – GVRP (GARP VL AN Registration Protoc ol) defines a system where by the s w itc h can automa tically learn th e VLANs t[...]
-
Страница 154
C ONFIGURING THE S WI TC H 3-106 still enable GVRP on th ese edge switc hes, as well as on the core switch es in the netw ork. Forwardin g Tagged/Untagged Frames If you wan t to crea te a sm all p or t-ba sed VLAN for de vices atta ched direc tly to a single swit ch, you ca n assi gn por ts to the s ame unt ag g ed VLAN . However , to par ticip ate[...]
-
Страница 155
VLAN C ONFIGURATION 3-107 Enabling or Disabling GVRP (Global Setting) GARP VLA N R egistrat ion Protocol (GVRP) define s a way for s witches to exc hang e VLA N infor mat ion in order to reg ister VLAN me mbers on ports acro ss the netw ork. VLANs ar e dynamica lly configured b ased on join messag e s issued by host device s and p ropag ate d throu[...]
-
Страница 156
C ONFIGURING THE S WI TC H 3-108 • Maximum Number of Supported VLANs – Maximum number of VLANs t hat can be configured on this switch. *W e b O n l y We b – Click VLAN, VLAN Base Infor matio n. CLI – Enter the following command. Displaying Current VLANs The VLAN Curren t T able sho ws the current port m embers of eac h VLAN and whether o r [...]
-
Страница 157
VLAN C ONFIGURATION 3-109 • Status – Shows h ow this VL AN was adde d to the swi tch. - Dynamic GVRP : Automatically learned via GVRP. - Permanent : Adde d as a static entry. • Egress Ports – Show s all the VL AN po rt mem bers. • Untagged Ports – Show s the unta gged VL AN port me mbers. We b – Clic k VLAN , VLAN Current T able. Sel [...]
-
Страница 158
C ONFIGURING THE S WI TC H 3-110 CLI – Cur rent VLAN infor mat ion can be disp layed with the following command. Creati ng VLANs Use th e VLAN Static Li st to create or remov e VLAN g roups . T o propagate information about VLAN groups used on this switch t o external netw ork devices , you m ust specify a VLAN I D for each of t hese gro up s . C[...]
-
Страница 159
VLAN C ONFIGURATION 3-111 • Remove – Rem oves a VLA N group f rom the c urrent lis t. If an y port is assigned to t his grou p as untagged , it will be reass igned to VLAN group 1 as untagged. We b – Click VLAN, VLAN Static Lis t. T o cre ate a new VLAN, enter the VLAN ID a nd VLAN n ame, mark the Enable checkbox to activate the VLAN , a nd t[...]
-
Страница 160
C ONFIGURING THE S WI TC H 3-112 2. VLAN 1 is th e defau lt untagge d VLAN c ontaini ng all ports on the switch, and can only be modified by first reassigning the default p ort VLAN ID as de scribed un der “Configuring VLAN Behavior for Interfaces” on page 3-114. Command Attributes • VLAN – ID of configured VLAN (1-4094, no leading zeroes).[...]
-
Страница 161
VLAN C ONFIGURATION 3-113 We b – Click VLAN, VLAN Static T a ble. Select a VL AN ID from th e scroll-down list. Modify the VLAN n ame and status if required. Select the membersh ip type by ma rking th e appr opriate r adio bu tton in the list of por ts or tr unks. Click Apply . CLI – The follow ing example ad ds tag ged and unta g ged ports to [...]
-
Страница 162
C ONFIGURING THE S WI TC H 3-114 We b – Open V LAN, VLAN Static Memb ership . Select an i n terface f rom the scr oll-down box (P or t or T r unk ). Click Que r y to d isplay member ship infor mation for the interf ace. Select a VLAN ID , and then click Add to add the interface as a tag ged member , or clic k Remo ve to remov e the interf ace. Af[...]
-
Страница 163
VLAN C ONFIGURATION 3-115 media acc ess method or data rate . These value s should no t be changed unless you are exper iencing diffic ulties with GVRP registra tion/ dere gistra tion . Command Attributes • PVID – VLAN ID assigned to untagged fram es received on the inte rface. (D efault: 1) - If an interf ace is not a member of VLAN 1 and you [...]
-
Страница 164
C ONFIGURING THE S WI TC H 3-116 • GARP J oin T imer * – The i nterval betw een transmi tting request s/ queries t o participate in a VLAN group. (Ran ge: 20-1000 centiseco nds; Default: 20) • GARP Leav e Time r * – The interval a p ort waits be fore leaving a VLAN group. This time sh ould be set to more than twice the jo in time. This ensu[...]
-
Страница 165
VLAN C ONFIGURATION 3-117 We b – Click VLAN , VL AN P o rt Configura tion or VLA N T r unk Configuration. Fill in the required se ttings for each interface, click Apply . CLI – This example s ets port 3 to accept only ta g ged frames , assigns PVID 3 as the na tive VLAN ID , en ables GVRP , sets the GA RP timers, and then sets the switchpor t m[...]
-
Страница 166
C ONFIGURING THE S WI TC H 3-118 Configuring P rivate VLANs Pri vate VLAN s provide por t-based security and isolation be tween ports withi n the assign ed VLAN . Data t raffic on do wnlink ports can on ly be forw arded to , and from, up link port s . (Note tha t priv ate VLANs and nor mal VL ANs can exis t simultaneously wi thin the sam e switch.)[...]
-
Страница 167
VLAN C ONFIGURATION 3-119 Confi guring Uplink a nd Downlink Ports Use the Pri vate VLAN Link Status page to set ports as dow nlink or uplink ports . P orts designate d as downl ink ports can not communicate w ith any other por ts on th e switch except for the uplink po r ts. Uplink por ts can communic ate with any othe r ports on the switch and wit[...]
-
Страница 168
C ONFIGURING THE S WI TC H 3-120 Class o f Service Configura tion Class of Ser vic e (CoS) allows you to specify wh ich data pack e ts hav e greater pr ecedence when traf fic is buff ered in the swit ch due to cong esti on. T his sw itch suppo rts CoS wit h four priorit y que ues fo r each port. Data packets in a p or t’ s high-priority queue wil[...]
-
Страница 169
C LASS OF S ER VICE C ONFIGURATION 3-121 We b – Click Priority , Defa ult Po r t P riority or De fault T r u nk Priority . Modify th e default p riority for any inter face, the n click Apply . CLI – T his examp le assigns a d efault priority of 5 to por t 3. Console(config)#interface ethernet 1/3 4-119 Console(config-if)#switchport priority def[...]
-
Страница 170
C ONFIGURING THE S WI TC H 3-122 Mappin g CoS Valu es to E gress Queues This sw itch processes Class of Ser vice (Co S) priority tag g ed traffic by using four priority queues fo r each port, with service sche dules based on W eighte d Ro und R obin (W RR). Up t o eight se para te traf fic prio rities a re defined in IEEE 802.1p . T he default prio[...]
-
Страница 171
C LASS OF S ER VICE C ONFIGURATION 3-123 Command Attributes • Priority – CoS value. (Range: 0-7, where 7 is the high est priority) • Traffic Class * – O utpu t que ue buf fer. (Rang e: 0-3 , wh ere 3 i s the h ighes t CoS prior ity queue) * CLI s hows Qu eue ID . We b – Click Priority , T raffic Classes. Ma rk an interface and clic k Sele[...]
-
Страница 172
C ONFIGURING THE S WI TC H 3-124 CLI – The follow ing example s hows how to map CoS v alues 0, 1 a nd 2 to priority queue 0, va lue 3 to priority queue 1, values 4 and 5 to priority queue 2, a nd values 6 and 7 to priority queue 3. * Mapping specific values for CoS priorities is implemented as a n interface configuration command, but any changes [...]
-
Страница 173
C LASS OF S ER VICE C ONFIGURATION 3-125 We b – Click Priority , Queue Scheduling. Sele c t a traffic class (i.e., output queue), enter a wei ght, then cli ck Apply . CLI – The follow ing example s hows how to assign WRR weights o f 16, 64, 128 and 240 to the CoS priori t y queues 0, 1, 2 and 3. Mapp in g Lay er 3/ 4 Pri or iti es to C oS V alu[...]
-
Страница 174
C ONFIGURING THE S WI TC H 3-126 Because different p riority infor mation may be contain ed in the traffic, this switch maps priority values to the output queues in the following manner : • The preceden ce for priorit y mapping is I P Port Priority , IP Preceden ce or DSCP Prio rity, and then De fault Port Pr iority. • IP Precedence and D SCP P[...]
-
Страница 175
C LASS OF S ER VICE C ONFIGURATION 3-127 Mapping IP Precedence The T ype of Se r vice (T oS) oct et in the IPv4 he ader includes three preceden ce bits de fining eight different p riority lev els rang ing from hi ghest prior ity for ne twor k control packet s to low est prio rity for rout ine traffi c. The default IP Precedence v alues are map ped [...]
-
Страница 176
C ONFIGURING THE S WI TC H 3-128 We b – Clic k Priority , IP Preceden ce Priority . Select a p or t or trunk from the Int erface field. Select an entry from the IP Pr ecedence Priority T able , enter a value in the Class of Ser vice V alue field, and then clic k Apply . * Mappi ng spec ific values for IP Pr eced ence i s imple mented a s an inter[...]
-
Страница 177
C LASS OF S ER VICE C ONFIGURATION 3-129 Mapping DSCP Priority The DSCP is six bits wide, allo wing coding for up t o 64 different forwardi ng behavior s . The DSCP re pl aces th e T oS bits , but it r etains backward compatibility with the three precedence bi ts so that non -DSCP compliant, T o S-enabled d evices, will not con fli ct with t he DSC[...]
-
Страница 178
C ONFIGURING THE S WI TC H 3-130 We b – Click Priority , IP DSCP Priority . Select a por t or tr unk from the Interf ace field. Sele ct an entry from the D SCP table, ent er a val ue in the Class of Ser vice V alue field, then click Ap ply . * Mapping specific values for IP DSCP is implemented as an interface configuration command, but any change[...]
-
Страница 179
C LASS OF S ER VICE C ONFIGURATION 3-131 Map ping IP Por t Priorit y Y ou ca n also ma p network applic ations to Class of Ser vice values base d on the IP por t number (i.e., TCP/UDP por t number ) in the frame header. Some of the more common TCP ser vice ports inclu de: HTTP: 80, FTP: 21, T elnet: 23 and POP3: 110. Command Attributes • IP Port [...]
-
Страница 180
C ONFIGURING THE S WI TC H 3-132 Click Priority , IP Po r t Priori ty . Sel ect a port or tr unk from the Interface field. Enter the por t number for a network application in the IP P or t Number b ox and t h e new Co S value i n the Class o f Ser vice bo x, and then click Add IP P ort . * Mapping specific values for IP P or t Priority is implement[...]
-
Страница 181
C LASS OF S ER VICE C ONFIGURATION 3-133 Copying IP Setti ngs to Another I nterface Y ou c an copy IP Pr eced ence, DSC P prio rity , or IP por t pr iority se tting s from one interface (por t or tr unk) to oth er inte rfaces on the switch. Command Attributes • Copy IP Precedence Priority Settings – Selects IP Prece dence priority settings to b[...]
-
Страница 182
C ONFIGURING THE S WI TC H 3-134 Mult ica st F ilt eri ng Multicasting is used to suppor t real-time applications such as videocon ferencing or streaming audio . A multicast s er ver does no t have to establish a sep arate conne ction with each client. It merely broadc asts its ser vice to the network, an d any host s that wan t to receiv e the mul[...]
-
Страница 183
M ULTICAST F ILTE RIN G 3-135 This sw itch not only suppor ts IP multicast filt ering by passiv e ly monit oring IGMP que r y and repo r t messages an d multicast routing pr obe messag es to register en d-stations as multicast g roup me mbers, but also suppor ts the DVMRP and PIM-DM multic ast ro uting protoc ols req uired to forward m ulticast tra[...]
-
Страница 184
C ONFIGURING THE S WI TC H 3-136 Note that IGMP neit her alters nor routes IP multicast packets . A multicast routing protoco l must be used to deliver IP mu lt icast packets across differe nt subnetw orks . Therefore , when D VMRP or PIM ro uting is enabled f or a subnet on this swit ch, you also need to enable IGMP . Layer 2 IGMP (Snooping and Qu[...]
-
Страница 185
M ULTICAST F ILTE RIN G 3-137 IGMP Query (Lay er 2 or 3) – IGMP Query can onl y be enabled glo bally at Layer 2, but can be e nabled for individ ual VLAN interfaces at Layer 3 (page 3-144). However , note that Layer 2 query is disabled if La yer 3 quer y is enabled. Confi guring IGMP Snoop ing Paramete rs Y ou can configure th e switch to forward[...]
-
Страница 186
C ONFIGURING THE S WI TC H 3-138 • Act as I GMP Qu erier — When en abled, the sw itch can ser ve as the Querier , which is r espon sible f or askin g host s if they want to recei ve multicast traffic. (Default: Disable d) • IGMP Query Count — Se ts the maximum number of queries issued for which t here has been n o re sponse be fore the swi [...]
-
Страница 187
M ULTICAST F ILTE RIN G 3-139 CLI – T his example modifies th e settings for multicast filtering, and then disp lays the current s t atus . Displaying Inte rfaces Attached to a M u lticast Route r Multi cast routers t hat are atta ched to p or ts on th e switch us e infor mation obtained from IGM P , along with a multicast routing protoco l such [...]
-
Страница 188
C ONFIGURING THE S WI TC H 3-140 We b – Click IGMP Snooping, Multicast Router P or t Infor matio n. Select the req uired VLAN I D from the scro ll-down list to disp lay the as sociated multicast routers . CLI – T his example shows that Port 11 has bee n statically config ured as a port attached to a multicast router . Specifyin g Static Interfa[...]
-
Страница 189
M ULTICAST F ILTE RIN G 3-141 We b – Click IGMP Snoopin g, Static Mult icast Router P or t Config uration. Specify the interfaces at tached to a multicast r outer , indicate the VLAN which will forward all the corre sponding multicast traffic, and then click Add. After you hav e finished adding interfaces to t he list, click Apply . CLI – T his[...]
-
Страница 190
C ONFIGURING THE S WI TC H 3-142 Displaying Port Members of Multicast Service s Y ou can d isplay th e port members associated wit h a specified V LAN and multicast ser vi ce. Command Attribute • VLAN I D – Selects th e VLAN for which to display port members. • Multicast IP Address – The IP addres s for a speci fic multicast service. • Mu[...]
-
Страница 191
M ULTICAST F ILTE RIN G 3-143 Assigning Ports to Multicast Services Multicast filte ring can be dyn amically configured using IGMP Snoo ping and IG MP Que r y me ssag es as de scri bed in “Con figuri ng IGM P Sno oping P arameters” on page 3-137. For certain applications that require tighter control, you may need to statically configure a m u l[...]
-
Страница 192
C ONFIGURING THE S WI TC H 3-144 CLI – This example assigns a m ulticast address to VLAN 1, and then displays all the known multicast ser vices suppor ted on VLAN 1. Layer 3 IGMP (Query used with Multicast Routing) IGMP Sn oopin g – IG MP Sno oping is a L ayer 2 functio n (pa ge 3-1 37) t hat can be used to provide multicast filtering wh en no [...]
-
Страница 193
M ULTICAST F ILTE RIN G 3-145 Confi g uring I GMP Interface Param eters Th is switch us es IGM P (In ter net Group Ma nag ement P rotoc ol) to q uer y for any at tached hos ts that want to receiv e a specific m ulticast service. The hos ts may respond wi th sev eral t ypes of I P mult icast me ssages . Host s respond t o queries with report message[...]
-
Страница 194
C ONFIGURING THE S WI TC H 3-146 • Max Query Response Time – Configures t he maximum response time advertised in IGMP queries. (Range : 0-25 seconds; Default: 10 seconds) - The swit ch must be using I G MPv2 for this command to take e ffect. - Thi s comman d define s how lo ng any respon der (i.e ., client or rou ter) still in the g roup h as t[...]
-
Страница 195
M ULTICAST F ILTE RIN G 3-147 • Querier – Devi ce currently serving as the IGMP querier for th is multicast se rvice. We b – Clic k IP , IGMP , Interface Set t ings . Specify eac h interface t h at will suppo r t IGMP (La yer 3), speci fy the IGMP parameters for each int erface, then cl ick Appl y .[...]
-
Страница 196
C ONFIGURING THE S WI TC H 3-148 CLI – This example c onfigures the IGMP parameters for VLAN 1. Displaying Multicast Group Info rmation When IGMP ( Layer 3) is enabled on th is switch t h e current m ulticast g roups le ar ned v ia IGMP c an be di splayed in th e IP/I GMP/Gr oup Information page. W hen IGMP ( Layer 3) is di sabled and IGMP ( Laye[...]
-
Страница 197
IP R OUTING 3-149 • V1 Timer – The time remaining until the swit ch assumes that the re are no long er any IGMP Vers ion 1 members on the IP subnet a ttached to this interface. (Default: 400 seconds) - If the switch receives an IGMP Versi on 1 Membership Rep ort, it se ts a timer t o note th at there are Ve rsion 1 hos ts pres ent w hich are me[...]
-
Страница 198
C ONFIGURING THE S WI TC H 3-150 networks . Howeve r, when the switch is first booted, no default routing is defined. As with all tradition al routers , th e routing functions must first be config ured to work. Initial Con figuration In the default conf iguration, all por ts belong to the same VLAN and the switc h provi des only La yer 2 functi ona[...]
-
Страница 199
IP R OUTING 3-151 IP Switch ing IP Swi tching (or packe t forward ing) en compa sses tas ks requ ired t o forw ard packets for bo th Layer 2 and Layer 3, as well as tra d itional routing . These functio ns include: • Layer 2 forwar ding (switchin g ) bas ed on the Layer 2 destination MAC address • Layer 3 forwardin g (routi ng): - Based on the [...]
-
Страница 200
C ONFIGURING THE S WI TC H 3-152 there, th e switch broadca sts an A RP packet to a ll the por t s on the destination VLAN to find out th e destinatio n MA C addre ss . After the MA C a ddr ess is discovere d, the packet is refo r m atte d and se nt ou t to th e destin ation. The reformat process includes decr easing the Time-T o-Li ve (TTL) field [...]
-
Страница 201
IP R OUTING 3-153 • Dynamic routin g uses a ro uting pr otoc ol to exc hange r outing information, calculate routing tables, and respon d to changes i n the status or loading of the net work. Th e swit ch suppor ts R IP , R IP-2 and OSP Fv2 d ynamic routin g prot ocols. RIP and RIP-2 Dynamic Ro uting Pr otocols Th e RIP protoc ol is the most w id[...]
-
Страница 202
C ONFIGURING THE S WI TC H 3-154 Basic IP In terface Configuration T o allow routing be tween different I P subnets, y o u must enable I P Routing as desc ribe d in this sect ion . Y ou also nee d to you d efine a VLAN f or each IP subnet that w ill be conn ected directly to this sw itch. Note that you must first create a VLAN as described un der ?[...]
-
Страница 203
IP R OUTING 3-155 We b - Clic k IP , Gener al, Glob al Settings . Set IP R outing Status to D isabled to restr ict operation t o Layer 2, o r E nabled to allow multilayer switching, specif y the default gatew ay whic h will be forw arded pac kets for a ll unknown su bne ts, and click Appl y . CLI - This example enables I P routing, and se ts the de[...]
-
Страница 204
C ONFIGURING THE S WI TC H 3-156 • Before you co nfigure any ne twork interfa ces on this ro uter, you should first cre ate a VLAN for each u nique user group , or for e ach network applic ation and i ts associat ed users. T h en ass ign the por ts associated with each of these VLANs . Command Attributes • VLAN I D – ID of configured VLAN (1-[...]
-
Страница 205
IP R OUTING 3-157 We b - Click IP , General, Ro utin g Interface. Spec ify a n IP int erf ace f or each VLAN that will supp or t routing to oth er subnets. Fir s t specify a primar y address , and clic k Set IP Configur ation. If y ou need to ass ign secondary addresses , enter these addres ses one at a time , and click Set I P Configur at ion afte[...]
-
Страница 206
C ONFIGURING THE S WI TC H 3-158 approp riate field in the fr ame header, and forwards t h e frame on to the next hop. IP traffic pa sse s along the path to its final dest ination in this way , with each routin g device mapp ing the dest ination IP add ress to the MA C address of the next ho p tow ard the reci pient, until the pack et is deli vered[...]
-
Страница 207
IP R OUTING 3-159 request by send ing its o wn MA C address to the request ing node . That node th en send s traffic to th e rou ter, which in turn uses its own routin g table to for ward the traffic to the rem ote destin ation. Basic ARP Conf iguration Y ou can u se the ARP Gen eral configurat ion menu to s pecify the ti meout for AR P cach e ent [...]
-
Страница 208
C ONFIGURING THE S WI TC H 3-160 We b - Click IP , ARP , General. Se t the timeo ut to a suita ble value for the ARP cac he, enable Proxy ARP for s ubnetworks that do not hav e routing or a default gate way , and click A pply . CLI - This exam ple sets the ARP cac h e timeout for 15 minutes (i.e., 900 second s), and en ables P roxy ARP for VLAN 3 .[...]
-
Страница 209
IP R OUTING 3-161 • MAC Address – MAC a ddress static ally mapped t o the correspon ding IP address . (Valid MAC add resses are hexadecimal n umbers in the format: xx-xx-xx-xx-xx-xx. ) • Entry Count – The num b er of static entries in the ARP ca che. We b - Clic k IP , ARP , Static Addr esses . Enter the IP address , the cor res pond ing MA[...]
-
Страница 210
C ONFIGURING THE S WI TC H 3-162 • Dynamic to Static * – Chang es a selected dynamic ent ry to a stat ic entry. • Clear Al l * – Delet es all dynamic entries fr om the ARP cache. • Entry Count – The num b er of dynamic entries in the ARP ca che. * The se butto ns take effect immedia tely . Y ou are n ot pro mpt ed to con fir m th e acti[...]
-
Страница 211
IP R OUTING 3-163 Displaying Local ARP Entries The ARP ca che also co ntains entri es for lo cal interfaces , including subnet, host , and broad cast addr esses . Command Attributes • IP Address – I P address of a l ocal entry i n the cache. • MAC Address – MAC address mapp ed to the corresp onding IP address. • Interface – VLA N interf[...]
-
Страница 212
C ONFIGURING THE S WI TC H 3-164 Displaying ARP Statistics Y ou can d isplay s tatistics for ARP messages cro s sing al l interfac es on this router . Statistical V alues We b - Cl ick IP , ARP , St atist ics . Parameter Description Received Request Number of ARP Requ est packets rec eived b y the router. Received Reply Number of ARP Reply packet s[...]
-
Страница 213
IP R OUTING 3-165 CLI - This exampl e provides detailed sta tistics on common IP-related protoc ols. Displaying Statistics for IP Protocols IP Statis tics The I nter ne t Protoc ol (IP) pr ovides a mecha nism for tra nsmittin g blocks of da ta (often call ed pack ets or fram es) from a so urce to a dest ination, where t h ese net work devi ces (i.e[...]
-
Страница 214
C ONFIGURING THE S WI TC H 3-166 Statistical V alues Parameter Description Packets Received The total number of input datagram s received from interfaces, in cluding those received in error. Received Add ress Errors The number of input datagram s discarded because th e IP addres s in the header's dest ination field was not a valid address for [...]
-
Страница 215
IP R OUTING 3-167 We b - Cl ick IP , Statis tics , IP . CLI - See the example o n page 3-164. Unknown P rotocols Received The numbe r of locally-a ddress ed datagr ams received success fully but disc arded beca use of an unkno wn or unsupport ed protocol. Received Packets Delivered The total number of inpu t datagrams success fully delivered to IP [...]
-
Страница 216
C ONFIGURING THE S WI TC H 3-168 ICMP Sta tistics Inter n et Con trol Messag e Proto col ( ICMP) is a network laye r prot ocol tha t transm its message p ackets to report errors in pro cessing IP pac kets . ICMP is ther efore an int eg ral part of the In ter net Pr otocol. ICMP messages may be us ed t o re por t various s itua tions, such as w hen [...]
-
Страница 217
IP R OUTING 3-169 We b - Cl ick IP , Statis tics , ICMP . CLI - See the example o n page 3-164. Timestamp Replies The number of ICM P Timestamp Re ply messages received/s ent. Address Masks The number of ICMP Addr ess Mask Reque st mes sages received/s ent. Address Ma sk Replies Th e number of ICMP Address Ma sk Reply messages received/s ent. Param[...]
-
Страница 218
C ONFIGURING THE S WI TC H 3-170 UDP Statistics User Da tag ram Prot ocol (UDP) pr ovides a datag ram mode o f pack et-switc hed comm unications . It us es IP as the un derlying tran sport mechanism, providing access to IP -like serv ices . UDP packets are delivere d jus t like IP packet s – co nnec tion -les s dat ag r ams th at m ay be disca rd[...]
-
Страница 219
IP R OUTING 3-171 TCP Statistics The T rans mission Con trol Protocol (TCP) provides highly reliable host -to-host connectio ns in pac ket-s witched netw orks , and i s used in conju nction with IP to supp or t a wide varie ty of Inte r net prot ocols . Statistical V alues Parameter Description Segments Received The total number of segmen ts receiv[...]
-
Страница 220
C ONFIGURING THE S WI TC H 3-172 We b - Cl ick IP , Statis tics , TCP . CLI - See the example o n page 3-164. Configuring Stat ic Routes This router c an dynamically c onfigure routes to other netw ork segments using d ynamic ro uting pr otocols (i. e., R IP or OSPF). Howev er , you can also manually enter static routes in the routing table. Static[...]
-
Страница 221
IP R OUTING 3-173 We b - Click IP , R o uting, Static Routes . CLI - This example forwards all tra ffic for subnet 192.168. 1.0 to the router 192.168.5.254, using the default metric of 1. Displaying the Routing Table Y ou can d isplay a ll the routes that can be a ccessed via the l ocal netw ork interfaces , via st atic routes , or via a dynamicall[...]
-
Страница 222
C ONFIGURING THE S WI TC H 3-174 • Netmask – Network mask fo r the associated IP subnet. This mask ident ifies the host address bit s used for routi ng to specifi c subnets. • Next Hop – The I P address of th e next hop (or gateway) in this route. • Protocol – The protocol w hich generat ed this rou te informat ion. (Options : local, st[...]
-
Страница 223
IP R OUTING 3-175 Configuring th e Routing Infor mation Protocol Th e RIP pr otoc ol is the mos t wi dely us ed rou ting p rotoco l. Th e RIP protoc ol us es a d istan ce-vect or-base d appr oach to ro utin g . Route s are deter mine d on th e basis o f minimiz ing th e dist anc e vector, or hop c ount , which s er v es as a ro ugh estimate of tr a[...]
-
Страница 224
C ONFIGURING THE S WI TC H 3-176 • There are se veral se riou s prob lems wit h RIP that you shou ld cons ider. First o f all, RIP (vers ion 1) ha s no kn owledge of sub nets, both R IP versio ns can take a long ti me to conver ge on a new route afte r the failur e of a link or router during which ti me routin g loops may oc cur, and its small ho[...]
-
Страница 225
IP R OUTING 3-177 Command Attributes Global Settings • RIP Routing Process – Enable s RIP routing for all IP interfaces on t he router . (Default: Disabl ed) • Glo bal R IP V ersio n – Specifies a RIP version used globally by the router . (Default : RIP V ersio n 1) Timer Se ttin gs • Update – Sets the rate at which updates are sent . T[...]
-
Страница 226
C ONFIGURING THE S WI TC H 3-178 CLI - T his exampl e sets the router to use RIP V ersion 2, and sets t h e basic timer to 15 seco nds. Specifyin g Network Interfaces for RI P Y ou mus t specify ne twork i n terfaces that will be included in the RIP routing p rocess . Command Usa ge • RIP only sends updates to in terfaces specifi ed by this co m [...]
-
Страница 227
IP R OUTING 3-179 We b - Click Routing Protocol, RIP , Network Addresses. Add all interfaces that will par ticipate in RIP, and click Apply. CLI - T his example i n cludes netw ork interface 10.1.0.0 in the RIP routing proce ss. Configur ing Network Inter faces for RIP F or each interface that par ticipates in the RIP routing process, y ou must spe[...]
-
Страница 228
C ONFIGURING THE S WI TC H 3-180 Command Usa ge Speci fyin g Rece iv e and Send Pr o toc ol Types • Setting the RIP Receive Versio n or Send Vers ion for an interf ace ov errides the g lobal setti ng specified by the RIP / G enera l Se ttings, Global RIP V ersio n field. • You can sp ecify the Recei ve Version ba sed on these o ptions: - Use ?[...]
-
Страница 229
IP R OUTING 3-181 three m ethods that can provi de faster con vergence w hen the netw ork topolo g y changes and pr event mo st loops from occurring: • Split Hori zon – Never propagate ro utes back to an interface port from which th ey have been a cquire d. • Poison Reverse – Pro pagate routes back to a n interface por t from whic h they ha[...]
-
Страница 230
C ONFIGURING THE S WI TC H 3-182 - RIPv2 : Sends onl y RIPv2 pack ets. - RIPv1 Compati ble : Rout e inform ation is broad cas t to othe r route rs with RI Pv2. (Def ault) - Do Not Send : Does no t transmit RI P update s. (The default depend s on the set ting speci fied under RIP / G eneral Settings, Global RIP Version: RIPv1 - RIPv1 Compatible, RI [...]
-
Страница 231
IP R OUTING 3-183 We b - Clic k Routin g Protocol, RIP , Inter face Settings . Select th e RIP protocol messag e types that will be receiv e d and sent, the method used to provide faster convergence and p revent loopback (i.e., prevent instability in the net work topolog y), and th e auth entic ation op tion and cor res ponding passw ord. Then clic[...]
-
Страница 232
C ONFIGURING THE S WI TC H 3-184 RIP Infor m ation and Statistics Parameter Description Globals RIP Routing Process Indicates if RIP has been enabled or disa bled. Update Time in Seconds The interval at which RIP advertis es known route information. (Defau lt: 30 seconds) Number o f Route Chang es Number of ti mes routing inf ormation ha s change d[...]
-
Страница 233
IP R OUTING 3-185 We b - Click Routing Pr otocol , RIP , Statis tics.[...]
-
Страница 234
C ONFIGURING THE S WI TC H 3-186 CLI - The infor mation dis played b y the RIP Statisti cs screen via the W eb inte rface can be acces sed from the C LI using the fo llowing commands. Configuring th e Open Shortest Path F irst Protocol Open Sho r test P ath First (OSPF) is more s uited for large area ne t w orks which experience frequent changes in[...]
-
Страница 235
IP R OUTING 3-187 OSPF rout ers exis t; as wel l as the no t-so-s tubby ar ea optio n (RFC 1587). Command Usa ge • OSPF looks at more th an just the simple ho p count. When adding the shorte st path to any node into the tr ee, the op timal path is chos en on the basis of d elay, throughput and connectivity. OSPF utiliz es IP multicast to reduce t[...]
-
Страница 236
C ONFIGURING THE S WI TC H 3-188 • OSPFv2 is a compati ble upgrade to OSPF. It invol ves enhancement s to protoc ol m essage authe ntic ation , and the additi on o f a point-to- multipoint int erface which allows OSPF to run ove r non-bro adca st ne tworks , as we ll as su pport fo r ov erlap ping are a ran ges. • When u sing OSP F, you must or[...]
-
Страница 237
IP R OUTING 3-189 • OSPF Router ID – A s s i g n s a u n i q u e r o u t e r I D f o r t h i s d e v i c e w i t h i n t h e autonomous system. (Default: The lowest interface address ) • Version Number 1 – This ro uter only s upports O SPF Version 2. • Area Border Router 1 – Indicate s if thi s router connect direct ly to networ ks in t[...]
-
Страница 238
C ONFIGURING THE S WI TC H 3-190 • SPF Hold Time (seconds) – The ho ld time betwee n makin g two consecutive shortest path first (SPF) calculations. (Range: 0-65535 ; Default: 10) • Area Numbers 1 – The number of OSPF area s configured on this router. Defaul t R oute In for m ation – • Originate Default Route 2 – Generate s a de fault[...]
-
Страница 239
IP R OUTING 3-191 We b - Click Routing Pr otocol , OSPF , Gener al Con figurati on. En able OSPF , speci fy the R outer ID , configur e the other g lobal parameter s as required, and click Apply . CLI - This exampl e configures the router w ith the sa m e sett ings as s hown in the s creen capture f or the W eb interface. Console(config)#router osp[...]
-
Страница 240
C ONFIGURING THE S WI TC H 3-192 Configur ing OSPF Areas An auto nomous syste m must be config ured with a backbone area, design ated by area i dentifier 0.0.0. 0. By default, all other areas are cre ated as nor mal transit areas. R outers in a nor mal area ma y impor t or expor t routing infor mation about indi vidual nodes . T o reduce t he amoun[...]
-
Страница 241
IP R OUTING 3-193 • By default, a stub can only pass tra ffic to other areas i n the autonomous system via t he default extern al route. H owever, you also can co nfigure an area border router to send Type 3 summary link a dvertisements into the stub. NSSA – A not- s o-stubby are a (NSSA) is similar to a stub . It blocks most exter nal routing [...]
-
Страница 242
C ONFIGURING THE S WI TC H 3-194 Command Usa ge • Before you cre ate a stub or N SSA, first sp ecify the addr ess range for a n area using the Network Area Address Configuration screen (page 3-206). • Stubs and NSSAs cann ot be used as a transit area, and should therefore be placed at the edge of t he routing do m ain. • A stub or NSSA can ha[...]
-
Страница 243
IP R OUTING 3-195 We b - Click Routin g Protocol, OSPF , Area Configuration. Set any area to a stub or N SSA as required, sp ecify the cost for the default sum mar y route sent into a stub , and click Apply . CLI - T his example conf ig ures area 0.0.0. 1 as a nor mal area, area 0.0.0.2 as a stub , and area 0.0.0.3 as an NSSA. It also configures th[...]
-
Страница 244
C ONFIGURING THE S WI TC H 3-196 Configur ing Area Ranges (Rou te Summarization for ABRs) An OSPF ar ea can include a la rg e numb er of node s. I f the Area Bo rder R outer (ABR) h as to adv ert ise rout e info r m ati on f or each o f these nodes , this w astes a lot of ba ndwidth and pro cessor time . Instead , you can configure an AB R to adv e[...]
-
Страница 245
IP R OUTING 3-197 Command Attributes • Area ID – I denti fie s an ar ea for whic h the r out es ar e sum mar ized . (The area ID must be in the form of a n IP address. ) • Range Network – Base add ress f or the r out es to s umma rize . • Range Netmask – Netw ork mask for the summary route. • Adve rtisin g – Indicates whether or not[...]
-
Страница 246
C ONFIGURING THE S WI TC H 3-198 CLI - This example s ummarizes al l the routes fo r area 1. Note th at the default for the area range command i s to adv ertise the route s umm ary . The conf igured summar y route is shown in the list of infor mation displ ayed for area 1. Configur ing OSPF Interfaces Y ou shoul d specify a ro uting interface for a[...]
-
Страница 247
IP R OUTING 3-199 Field Attributes OSPF Interf ace List • VLAN I D – The VLAN t o which an IP interf ace has been assigned. • Interface IP – The IP interface ass ociated with th e selected VLA N . • Area ID – The area to which this interface has been assigned . • Designated Router – Desi gnated router for th i s area. • Backup Des[...]
-
Страница 248
C ONFIGURING THE S WI TC H 3-200 interface when estimating this d ela y. Set the tra nsmit de lay ac cording to link speed, using larg er values for lower-speed links. - Th e t r an s m i t d el ay m u s t b e th e s a m e f or a l l r o u t e rs i n a n a ut o n o m ou s system . - On slow l inks, the router may send packet s more quickly than dev[...]
-
Страница 249
IP R OUTING 3-201 • Authentication Type – Spec ifies th e authe nticatio n typ e used for an interface. (Option s: None, Simp le password, MD5 ; Default: None) - Use a uthentic ation to prevent routers from inadv ertentl y joinin g an unauth orized area. Conf igure routers in the same ar ea with the sa me password or key. - When using simple pa[...]
-
Страница 250
C ONFIGURING THE S WI TC H 3-202 - When changing to a new key, the router will send mult iple copies of all protoc ol mes sages, one wit h the ol d key a nd ano ther with the new key. Once all the neighbor ing routers start sen ding protoc ol messages bac k to th is router wit h the new key, the router w ill stop us ing the old key. This rollo ver [...]
-
Страница 251
IP R OUTING 3-203 Change any of t he interface-sp ecific protocol pa rameters , and then click Apply CLI - This example confi g ures the in terface parameters for V LAN 1. Console(config)#interface vlan 1 Console(config-if)#ip ospf priority 5 4-268 Console(config-if)#ip ospf transmit-delay 6 4-270 Console(config-if)#ip ospf retransmit-int erval 7 4[...]
-
Страница 252
C ONFIGURING THE S WI TC H 3-204 Configur ing Virtual Links All OSPF a reas must conne ct to the backbon e. If an area d oes not hav e a direct p hysical connection to the ba ckbone , you can configure a virtual lin k that pro vides a log ical path to the backbo ne. T o conn ect an isolated are a to the backbone, th e logic al path can cro ss a sin[...]
-
Страница 253
IP R OUTING 3-205 We b - Click R outing Protocol, OSPF , Virtual Link Co nfiguration. T o create a new virtual link, spec ify the Area I D and Neighbor Router ID , configure the link attribut es , and click Add. T o modify the settin gs for an existing link, click the D etail button for the required en tr y , modify the link settings, and click Set[...]
-
Страница 254
C ONFIGURING THE S WI TC H 3-206 Confi g uring Ne twork Area Addres ses OSPF pro tocol broa dcast messages (i .e., Link State Ad vertisements o r LSAs ) are restric ted by are a to limit their imp act on netw ork pe rfor mance . A large network should be spl it up into se para te OSP F areas to increase network stability , and to reduce protocol tr[...]
-
Страница 255
IP R OUTING 3-207 Command Attributes • IP Address – Address of th e inter faces to ad d to the area. • Netmask – Ne twork ma sk of the add ress ran ge to add to the ar ea. • Area ID – Area to which the s pecified add ress or rang e is assign ed. An OSPF area identifies a g roup of routers that share com mon routing infor m ation. (The a[...]
-
Страница 256
C ONFIGURING THE S WI TC H 3-208 CLI - This example c onfigures the bac kbone area and one trans i t area. Confi g uring Su mmary Addresses (for External AS Routes) An Autonom ous S ystem B ounda r y Router (ASBR) can redistrib ute r outes learned f rom other pr otocols i nto all atta ched auto nomous sys t ems . (See “Red i stributing External R[...]
-
Страница 257
IP R OUTING 3-209 Command Attributes • IP Address – Summ ar y address c overin g a range of addres ses. • Netmask – Netwo rk mask for the summary route. Note: This router support s up 16 Type-5 s ummary routes. We b - Clic k Rout ing Protoc ol, OSPF , Sum m ary Address Co nfiguratio n. Specify t he base address an d netwo rk mask, then clic[...]
-
Страница 258
C ONFIGURING THE S WI TC H 3-210 Redist ribut ing Ext ernal Rout es Y ou can c onfigure this ro uter to impor t exter nal routing info r mation from other rout ing p rotoc ols in to the au tonom ous sy ste m. Command Usa ge • This r oute r supp orts re distr ibut ion fo r both RIP an d sta tic ro utes . • When you red istribute exter n al rout [...]
-
Страница 259
IP R OUTING 3-211 Command Attributes • Redistribute Protocol – Specifies the external routing p rotocol type for which routing in formation is to be redistribute d into the local routin g domain. (Option s: RIP, Static; Default: RIP) • Redistribute Metric Type – Indicates the m ethod used to ca lculate extern al rou te co sts. (Op tions : T[...]
-
Страница 260
C ONFIGURING THE S WI TC H 3-212 Confi g uring NSS A Settings Use the OSPF / NSSA Settings page to c o nfigure a not-so-stubb y area (NSSA), and to contro l the use o f default rout es for ABRs and ASB Rs, or extern al routes lear ned from other routing domains and imp orted via an ABR. (For a detaile d desc riptio n of NSSA area s , refer to “Co[...]
-
Страница 261
IP R OUTING 3-213 We b - Click R outing Protocol, OSPF , NSSA Settings. Cr ea te a new NSSA or modi fy the routing be havior fo r an ex isting NSSA, and click Apply . CLI - T his exam ple conf igur es a rea 0.0. 0. 1 as a stub and sets the cost for the de fault sum mar y rout e to 10. Displaying Link State Database Informat ion OSPF routers adv ert[...]
-
Страница 262
C ONFIGURING THE S WI TC H 3-214 The full database is e xc hang ed between neighboring routers as soon as a new rou ter is disc overe d. Afterw ards , any chan g es that o ccur in the ro uting tables are synchr oniz ed with n eighb oring route rs thro ugh a pr ocess called reliable f loodi ng . Y ou can show infor mation a bout d iffere nt LSAs sto[...]
-
Страница 263
IP R OUTING 3-215 • Adv R ou ter – IP address of the advertising router. If no t entere d, information about all advertising routers is disp layed. • Age * – Age of LSA (in second s). • Seq * – Sequenc e number of LSA (u sed to detect older dupli cate LSAs). • CheckSum * – Checksum of the complet e contents of the LSA. * These items[...]
-
Страница 264
C ONFIGURING THE S WI TC H 3-216 Displaying Info rmation on Border R outers Y ou can d isplay e n tries i n the local r o uting t able for Area Bord er Rout ers (ABR) and Autonomous Syste m Bound ar y Routers (AS BR) known by this devic e. Field Attributes • Dest inatio n – Identi fier for the des t ination router. • Next Hop – IP ad dres s[...]
-
Страница 265
IP R OUTING 3-217 Displa ying Information on Neighbor Rou ters Y ou can display about neighb oring routers on each interface within an OSPF area. Field Attributes • ID – Neig hbor’s router ID . • Priority – Neighbor ’s router pri ority. • State – OSPF state and identificati on flag. States inc lude: - Down – Connection d own - Att[...]
-
Страница 266
C ONFIGURING THE S WI TC H 3-218 We b - Click R outing Proto col, OSPF , Neighbor In for mation. CLI - This shows a designated route r and backup de s ignated ro uter as neig hbors. Multic ast Ro uting This router c an route mu lticast traffic to differen t subnetw orks using either D istance V ector Mu lticast R outing Protocol (D VMRP) or Protoc [...]
-
Страница 267
M ULTICAST R OUTING 3-219 it rout ing protoc ol independe nt. Also note th at the Dense Mo de versio n of PIM is su ppor te d on this r outer be caus e it is suitable for densely pop ulated multicast g roups whi ch occur primarily in the LAN environment. If DVMRP and P IM-DM ar e not enable d on th is route r or a nother multicast rou ting pr otoco[...]
-
Страница 268
C ONFIGURING THE S WI TC H 3-220 routes to forward m u lticast traffic only if g roup members appe ar on directl y-attached sub networ ks or on subnetw orks attach ed to downstr eam routers . Field Attributes • Group Address – IP group address for a multicast service. • Source Address – Subne twork cont ainin g the I P mult icast so urce . [...]
-
Страница 269
M ULTICAST R OUTING 3-221 We b – Click IP , Multicast Routing, Multicast Routing T able. Click Detail to displa y additional information for any entry .[...]
-
Страница 270
C ONFIGURING THE S WI TC H 3-222 CLI – T his example shows that multic ast fo rward ing is en abl ed . T he mult icast routin g table disp lays one entr y for a m ulticast sou rce routed b y D V MRP , and an othe r sour ce rou ted v ia PIM. Configuri ng DVMRP The Di stan ce-V ec tor Mult icast Routing Pr otocol (DVMRP) be haves somewh at similar [...]
-
Страница 271
M ULTICAST R OUTING 3-223 to build up a source-rooted multicast delivery tree that allows it to prevent looping and dete r mine t he shor test pat h to the source of this multicast traffic. When this router recei ves the m ulticast mes s age, it checks i ts unicast routing ta ble to locate the por t tha t provides the shor test path b ack to the so[...]
-
Страница 272
C ONFIGURING THE S WI TC H 3-224 Command Usa ge Broadca sting period icall y f loods the network with traffic from any active multicast ser ver . I f IGMP snooping is disabled, multicast t raffic is floode d to all por ts on the rou ter . However , if IGMP snoopin g is enab led, th en the f irst packet for any source g roup pair is f looded to all [...]
-
Страница 273
M ULTICAST R OUTING 3-225 The globa l setting s that contro l the prune and graft messa g es (i.e ., prune lifetime) should be configured to the same values on all routers througho ut the ne twor k to allo w D VMRP to func tion prope rly . How ever , if y ou encounter prob lems in maint aining a multicast f low , then you may need to modify the pro[...]
-
Страница 274
C ONFIGURING THE S WI TC H 3-226 to th e router. When t he router recei ves these mess ages, it reco rds all the do wnstream route rs for the default route. - When m ulticast tr affic with a n unknown sou rce address (i.e., not fo und in the route table) is received on the default ups tream route i nterface, the route r forward s this tra ffic out [...]
-
Страница 275
M ULTICAST R OUTING 3-227 CLI – This sets th e global parame ters for D VMRP and displays the current se ttings. Confi guring DVMRP In terface Setting s T o fully enable D V MRP , you need to enable multicast routing globally for the router (page 3-219), enable D VMRP globally for the router (page 3-223), and also enable D V MR P for each interfa[...]
-
Страница 276
C ONFIGURING THE S WI TC H 3-228 • Status – E nable s or dis able s DVMR P. - If DVMRP is enab l ed on any interf ace, Layer 3 IGMP should also be enabled on t he router (page 3-144). - If DVMRP is disabl ed, the interface canno t propagate IP multicast routing information. Howe ver, as long as IGMP snooping is enabled, the interface will still[...]
-
Страница 277
M ULTICAST R OUTING 3-229 Displaying Neighbor Information Y ou can d isplay a ll the nei ghboring D VMRP router s. Command Attributes • Neighbor Address – The IP addres s of the network devic e immedia t ely upstream for this multicast deliver y tree. • Interface – The I P interface on this route r that connect s to the ups tream neig hbor.[...]
-
Страница 278
C ONFIGURING THE S WI TC H 3-230 CLI – T his example displays the only neighbor ing DV M RP router. Displaying th e Routing Table Th e rout er lear ns sourc e-ro uted in for m ation f rom nei ghborin g DVMRP routers an d also adv ert ises learned r outes to its ne i ghbors . The router merely records path infor mation it has lear ned on it s own [...]
-
Страница 279
M ULTICAST R OUTING 3-231 • Up time – The ti me elapsed since this entry was cr eated. • Expire – The time remainin g before this e ntry will be aged out. We b – Click R outing Prot ocol, DVMRP , D V MRP Routing T able. CLI – This exampl e displays known D V MRP rout es. Configuri ng PIM-DM Protoc ol-Indepen dent Multi casting ( PIM) pr[...]
-
Страница 280
C ONFIGURING THE S WI TC H 3-232 network. If it is not, t he ro uter d rops th e packet a nd send s a pr une message bac k out the s ource interface . If it is the same interface used by the un icast protoco l, then th e router for wards a copy of the pac ket to al l the ot her interfac es for whic h is has not already recei ved a pr une message fo[...]
-
Страница 281
M ULTICAST R OUTING 3-233 CLI – T his example enables PIM-DM globally and displays the cur rent status . Configur ing PIM-DM Interf ace Settings T o fully enable PIM-DM, you need to enable multicast routing globally for the router (page 3-219), enable PIM-DM globally for the router (page 3 -232), and also enable PIM- DM for each interface that wi[...]
-
Страница 282
C ONFIGURING THE S WI TC H 3-234 not these neigh bors are still active me mbers of the multicast tree. (Rang e: 1-65535 seconds; Default: 30) • Hello Holdtime – Sets the interval to wait for hello mess ages from a neighb oring PIM rout er before dec l ar ing it dead. Note that the he llo holdtime sho uld be 3.5 times th e value of Hello Interva[...]
-
Страница 283
M ULTICAST R OUTING 3-235 We b – Click R outing Prot ocol, PIM-D M, Interface Settin gs . Sele ct a VLAN, enable o r disabl e PI M-D M for t he se lect ed i nterf ace, modif y any of the pr otocol par ameter s as requir ed, and click App ly . CLI – This exam ple sets th e PIM-DM p rotocol para meters f or VLAN 2, and dis plays the cu r rent set[...]
-
Страница 284
C ONFIGURING THE S WI TC H 3-236 Displaying Inte rface Information Y ou can d isplay a summar y of th e cur rent int erface status fo r PIM-DM, includ ing the number of neig hbor ing PIM r out ers, an d the addre ss of th e des ignat ed P IM ro uter . Command Attributes • Interface – A VLAN inte rface on this ro uter. • Address – The IP add[...]
-
Страница 285
M ULTICAST R OUTING 3-237 Displaying Neighbor Information Y ou can d isplay a ll the ne ighboring PIM-DM router s . Command Attributes • Neighbor Address – IP addres s of th e next-h op ro uter. • Interface – VLAN that is a t tached to this n eig hbor. • Up time – The dur ation this e ntry has been active. • Expire – The time before[...]
-
Страница 286
C ONFIGURING THE S WI TC H 3-238[...]
-
Страница 287
4-1 C HAPTER 4 C OMMAND L INE I NTERFACE This ch apter descr ibes how t o use the Com m and Li ne Interface ( CLI). Using the Com m and Line Interface Accessing the CLI When acces sing the man ag ement in terface for t he switch o ver a d irect connec tion to the s er v er’ s consol e port , or via a T elnet co nnection, the switch ca n be manag [...]
-
Страница 288
C OMMAND L IN E I NTE RF AC E 4-2 3. W hen finis hed, ex it the ses sion wi th the “q uit” or “exit ” comma nd. After c onnecting to the sy stem through the conso le port, the logi n screen displ ays: Telnet Connection T elnet operat es over the IP trans p ort protocol . In this en vironment, y our management station and any ne twor k devic[...]
-
Страница 289
E NTERING C OMMANDS 4-3 After y ou configure t he switch with an IP addre ss, y ou can open a T elnet session by perfo r ming these st e ps: 1. From t he remote ho st, enter t he T elnet co mmand and the IP address of the device you w ant to access . 2. At the p rompt, enter the user na me and system passw ord. The CLI will display the “Vty-0 #?[...]
-
Страница 290
C OMMAND L IN E I NTE RF AC E 4-4 Y ou can e nter commands as follows : • To enter a si mple command, enter the com mand keyword. • To enter multiple commands, ent er each command in the required or der. For exampl e, to enable Pri vileged Exec comm and mode, and disp lay the startup con figuration, enter: Console> enable Console# show start[...]
-
Страница 291
E NTERING C OMMANDS 4-5 Showing Commands If you enter a “?” at the command prompt , the system will dis play the first lev el of key words for the current comm and class (No r mal Ex ec or Pri vileged Exec) or configurati on class (Gl obal, A CL, DHCP , Interfac e, Line, Router or VL AN Dat abase). Y ou c an also display a list of valid ke ywor[...]
-
Страница 292
C OMMAND L IN E I NTE RF AC E 4-6 Partial Keyword Lookup If yo u ter minate a partial ke yword with a question mark, alternativ es that match the initial letters are provided. ( Re me mber not to le av e a spac e betw een the command and questi on mark.) F or example “ s? ” s hows a ll the keyw ords starting with “s . ” Negating the Effect [...]
-
Страница 293
E NTERING C OMMANDS 4-7 command classes and associated mo des are displa yed in the fo llowing table: Exec Commands When y ou open a ne w console s ession on th e switch with the user name and pas sword “ guest, ” the sy stem enters t he Nor mal Exec command mode ( or guest mo de), disp laying t he “Conso le>” command prompt. Only a limi[...]
-
Страница 294
C OMMAND L IN E I NTE RF AC E 4-8 Configura tion Commands Configuration commands are privileged level commands used to modify switch setting s . T hese comman ds modify the r unning config uration only and are n ot sav ed when the s witch is r ebooted. T o store the r unning config uration in non-volatile st orag e, use th e copy r unning-config st[...]
-
Страница 295
E NTERING C OMMANDS 4-9 T o enter the Gl obal Conf iguratio n mode, ente r the c omma nd configure in Privileged Exec mode. The system prom pt will chang e to “Console(c onfig)#” wh ich gives y ou acce ss privilege to all Global Configuration co mmands . T o enter the other modes , at the configura t ion pr ompt type on e of the follo wing comm[...]
-
Страница 296
C OMMAND L IN E I NTE RF AC E 4-10 Command Line Pr ocessing Commands are not case sensitiv e. Y ou can abb reviate comman ds and para mete rs as long as they con tai n enou gh lett ers to d iffer ent iate t he m from an y other currently a vailab le commands o r paramete rs. Y ou can use the T ab key to complete par tial command s , or ente r a par[...]
-
Страница 297
C OMMAND G RO UP S 4-11 Comman d Groups The syst em commands c an be brok en down i nto the funct ional groups shown below . Command Group Description Page Line Sets communica tion parameters for the seri al port and Telne t, including ba ud rate and console time-ou t 4-1 3 General Basic comma nds for enteri ng privileg ed access mod e, restarting [...]
-
Страница 298
C OMMAND L IN E I NTE RF AC E 4-12 The access m ode shown i n the follo wing tables i s indi cated by t h ese abbr eviations: NE (Nor mal Exec) IC (Interface Configuration ) PE (Privilege d Exec) LC (Line Configuration) GC (Global Con figuration) RC (Router Conf iguration ) ACL (Access Co ntrol List C onfig .) VC ( VLAN Database Config uration) DC [...]
-
Страница 299
L INE C OMMANDS 4-13 Line Co mma nds Y ou can access the onboard c o nfiguration program by attaching a VT100 compa t ible de vi ce to the ser ver’ s serial p or t. These co m mands ar e used to set com munication p arameters for the serial po r t or T elnet (i.e ., a virtual ter m inal). Command Function Mode Page line Identifies a sp ecific lin[...]
-
Страница 300
C OMMAND L IN E I NTE RF AC E 4-14 line Use this command to ide ntify a specifi c line for con figuration, an d to proce ss subs eque nt line config uratio n comm ands. Syntax line { console | vty } • console - Consol e terminal l i ne. • vty - Virtual termin al for remote console acce ss (i.e., Telnet). Default Setting There is n o default lin[...]
-
Страница 301
L INE C OMMANDS 4-15 login Use this command to enabl e passwo rd checki ng at login. Use the no for m to di sable passw ord chec king and al low con nection s without a passw ord. Syntax login [ local ] no login local - Sele cts local password checking . Authent ication is base d on the user name s pecif ied wi th the user name command. Default Set[...]
-
Страница 302
C OMMAND L IN E I NTE RF AC E 4-16 Example Related Commands username ( 4-33) password (4-16) password Use this command to s p ecify t he passw ord for a li n e. Use the no for m to remove the password . Syntax password { 0 | 7 } password no passw ord •{ 0 | 7 } - 0 means p lain pass word, 7 means en crypte d passwor d • password - Char acter st[...]
-
Страница 303
L INE C OMMANDS 4-17 configuration file during system bootup or when down loading the confi g uration file from a TFTP serve r. There is no need for you to manual ly configu re encrypted passwords. Example Related Commands login (4-15) password-thre sh (4 -18) exec-timeout Use this com mand to set the inter val that the s ystem wait s until use r i[...]
-
Страница 304
C OMMAND L IN E I NTE RF AC E 4-18 Example T o set th e timeou t to tw o mi nutes , ent er thi s comman d: password-thr esh Use this comman d to se t the password intr usion t hresho ld which l imits th e number of failed lo g on attemp ts . Us e the no for m to remove the threshold val u e. Syntax passw ord-thresh [ thr e sh old ] no passw ord-thr[...]
-
Страница 305
L INE C OMMANDS 4-19 Related Commands silent-time ( 4-19) silen t-tim e Use this comma nd to set th e amou nt of time th e manag eme nt conso le is inacce ssible after th e number of unsuccessful l og on attemp ts exceed s the threshold set by th e pass word-thresh comma nd. Us e the no for m to remov e the silent ti me value . Syntax silent-tim e [...]
-
Страница 306
C OMMAND L IN E I NTE RF AC E 4-20 databits Use this c ommand to se t the number of data bits per charact er that a re inter prete d and g e nera ted by th e con sole por t. Us e the no fo r m to r est ore the de fault value. Syntax databi ts { 7 | 8 } no databits • 7 - Seven d ata bit s per ch arac ter. • 8 - Eight da ta bits per characte r. D[...]
-
Страница 307
L INE C OMMANDS 4-21 parity Use this comman d to def ine generati on of a par ity bit. Use the no for m to restore the defaul t settin g . Syntax parity { none | even | odd } no parity • none - No parity • even - Even parity • odd - Odd parity Default Setting No parity Command Mode Line Configuration Command Usage Communic ation protoc ols pr[...]
-
Страница 308
C OMMAND L IN E I NTE RF AC E 4-22 spee d Use this comma nd to set th e t er mina l line ’ s bau d rate. T his c ommand sets both the tr ansmit (to terminal) and r eceive (fr om ter minal) spee ds . Use the no for m t o restore the de fault set ting . Syntax speed bps no speed bps - Ba ud rate in bits per se cond. (Options: 9600, 19200, 38400, 57[...]
-
Страница 309
L INE C OMMANDS 4-23 stopbit s Use this co mmand to se t the number o f the stop bit s transm itted per byte. Use the no for m to restore th e default setting. Syntax stopbits { 1 | 2 } • 1 - One s top bit • 2 - Two s top bits Default Setting 1 stop bit Command Mode Line Configuration Example T o specify 2 sto p bits , enter this command: show [...]
-
Страница 310
C OMMAND L IN E I NTE RF AC E 4-24 Example T o show all lines, ente r this command: General Comman ds Console#show line Console configuration: Password threshold: 3 times Interactive timeout: Disabled Silent time: Disabled Baudrate: 9600 Databits: 8 Parity: none Stopbits: 1 Vty configuration: Password threshold: 3 times Interactive timeout: 65535 C[...]
-
Страница 311
G ENERAL C OMMANDS 4-25 enable Use this command to activate Pri v ilege d Exec mode. In pri vileg ed mode, addition al commands are av ailable, an d cer tain commands dis p lay addition al infor mation. See “Under s tanding Command Modes” on page 4-6. Syntax enab le [ leve l ] leve l - Privilege level to log into the device. The device has two [...]
-
Страница 312
C OMMAND L IN E I NTE RF AC E 4-26 disable Us e t h i s c o m m a n d to r e t u r n t o N o r m a l Exe c m o d e fr o m p r iv i le g e d mo d e . In normal acce ss mode, y ou can onl y displa y basic infor mation on the switch's configuration or Ethe rn et statistics . T o g ain access to all comma nds, you must us e the privil ege d mo de.[...]
-
Страница 313
G ENERAL C OMMANDS 4-27 configure Use this comman d to activate Glo bal Configu ration m ode. Y ou must ente r this mo de to modif y any s etti ngs on the s witch. Y ou must al so en ter Global Configur ation mode prior to enabling so me of the o ther configuration m odes, including Interface Config uration, Line Config uration, an d VLAN Databa se[...]
-
Страница 314
C OMMAND L IN E I NTE RF AC E 4-28 Example In this exam ple, th e show his tor y com mand lists the con tent s of th e comma nd history buffe r : The ! comman d re peats c ommands from th e Executi on command his tor y buffer wh en you are in Nor mal Ex ec or Priv ileg ed Ex ec Mode , and command s from the Configu ration command hist or y buffer w[...]
-
Страница 315
G ENERAL C OMMANDS 4-29 Command Usage This comman d resets t h e enti re system. Example Th is example shows how to r eset th e switch : end Use this command to re tur n to Pr ivileged Ex ec mode. Default Setting None Command Mode Global Configuratio n, Interface Co nfiguration, Line Configura tion, VLAN Database Configuration, Router Configuration[...]
-
Страница 316
C OMMAND L IN E I NTE RF AC E 4-30 Example This examp le shows ho w to return to the Privi leged Exec mode from the Global Configur ation mode , and then qui t the CLI se ssion: quit Use this command to exi t the config uration program. Default Setting None Command Mode Nor m al Exec , Privileged Exec Command Usage The quit and exit comm ands can b[...]
-
Страница 317
S YSTE M M ANAGEME NT C OMMANDS 4-31 System Mana gemen t Comman ds These comman ds are used to control sys tem logs , passw ords , user names , browser config uratio n opti ons, and di splay or c onfigu re a varie ty of ot her system inf or ma tion. Device Designation Co mmands Command Grou p Function Pa ge Device Designa tio n Configures informati[...]
-
Страница 318
C OMMAND L IN E I NTE RF AC E 4-32 hostname Use this co mmand to specify or modi fy the host name for th is device. Use the no for m to restor e the defa ult host n ame. Syntax hostname name no hostname name - T he name of this host. (Maximum length: 255 c h aracters) Default Setting None Command Mode Global Configuratio n Example User Access Comma[...]
-
Страница 319
S YSTE M M ANAGEME NT C OMMANDS 4-33 username Use this command to ad d named users , require aut hentication at login, specify o r change a user's p assword ( o r spec i fy that n o passwor d is require d), or speci fy or change a u ser's access l evel. Us e the no for m to remov e a user name . Syntax user name nam e { acc ess-lev el lev[...]
-
Страница 320
C OMMAND L IN E I NTE RF AC E 4-34 Command Usage The en cr ypted password is required for compatibili ty with leg acy pas sword settings (i.e ., plain text or en cr ypted) when readi ng the conf iguration file duri ng system bo otup or when d ownlo ading the config urati on fil e from a TFT P se r ver . Th ere is n o nee d for you to man ually conf[...]
-
Страница 321
S YSTE M M ANAGEME NT C OMMANDS 4-35 Command Usage • You c annot s et a null p asswo rd. You will have to enter a pa ssword to change the command mod e from Norma l Exec to Privileged Exec with the enable command (page 4-25). • The encr ypted passwo rd is required for compatibility wit h legacy passw ord settin gs (i.e., plain te xt or encrypt [...]
-
Страница 322
C OMMAND L IN E I NTE RF AC E 4-36 Default Setting 80 Command Mode Global Configuratio n Example Related Commands ip http se r ver (4-36) ip http server Use th i s comm and to allo w this device to be monito red or config ured from a b rowser . Use the no form to disable this funct ion. Syntax ip http ser ver n o ip h t t p s e rv e r Default Setti[...]
-
Страница 323
S YSTE M M ANAGEME NT C OMMANDS 4-37 Event Logging Commands logging on Use this command to con trol log ging o f error me ssages. This command sen ds deb ug or error messa g es to swit ch me mor y . The no form disables the log g ing proc ess . Syntax logging on no log ging on Default Setting None Command Mode Global Configuratio n Command Usage Th[...]
-
Страница 324
C OMMAND L IN E I NTE RF AC E 4-38 logging history Use this c ommand to limit sy slog mes sages saved to switch me mor y ba sed on severity . T he no for m returns t he log ging of syslo g mess ag es to the default level. Syntax logging his tor y { fla s h | ram } le vel no log ging histor y { fl a sh | ram } • flash - Even t histo ry stor ed in [...]
-
Страница 325
S YSTE M M ANAGEME NT C OMMANDS 4-39 Command Mode Global Configuratio n Command Usage The messag e level specified for f lash memor y must be a highe r priority (i.e. , numerically low er) than that spec i fied for RAM. Example clear logging Use this command to clear mes sag es from the log buffer . Syntax clear lo gging [ fl a s h | ram ] • flas[...]
-
Страница 326
C OMMAND L IN E I NTE RF AC E 4-40 show l og ging Use th i s comma nd to displ ay the logg ing configuration, alon g with any system and event me ssag es st ored in memor y . Syntax show loggi ng { fl a sh | ram } • flash - Even t histo ry stor ed in flas h memory (i.e. , permane nt memory). • ram - Event history stored in temporary RAM (i.e., [...]
-
Страница 327
S YSTE M M ANAGEME NT C OMMANDS 4-41 Example The following example shows that s ystem log ging is enabled, the messag e level for flash memor y is “errors ” (i.e., default lev el 3 - 0), th e messag e level for RAM is “deb ug gin g” (i.e., default level 7 - 0) , and lists one sample error Time Commands The sys tem clock can be dynam ically [...]
-
Страница 328
C OMMAND L IN E I NTE RF AC E 4-42 sntp cli ent Use this co mmand to enab le SNTP client requ ests for time sync hronizat ion from NT P or SNTP tim e ser ver s specified with the sntp ser vers command. Us e the no for m of this command to d i sable SNTP client requests . Syntax sntp client no sntp client Default Setting Disabled Command Mode Global[...]
-
Страница 329
S YSTE M M ANAGEME NT C OMMANDS 4-43 Example Related Commands sntp ser ver (4-43) sntp poll (4-44) sntp br oadcast c lient (4 -45) show sntp (4-45) sntp se rver Use this command to s et the IP addre ss of the server s to whic h SNTP time requ ests are issued . Use the this comman d with no argumen t s to clear all time ser vers from the cu r rent l[...]
-
Страница 330
C OMMAND L IN E I NTE RF AC E 4-44 Command Usage This c ommand sp ecifies time ser vers from which the switch will poll for time update s when set to SNTP client mode. T he client will p oll the time ser vers in th e order specified until a respon se is received. It issues time synch ronizatio n reque sts base d on the in ter val set via the sntp p[...]
-
Страница 331
S YSTE M M ANAGEME NT C OMMANDS 4-45 Example Related Commands sntp clien t (4-42) sntp broadcast client Use thi s command to sync hronize th e switch ’ s cloc k based on t ime broadcast from time servers (using the multicast address 224.0.1.1). Use the no form to disabl e SNTP br oadcast cli ent mode . Syntax sntp broadcast client no sntp broadca[...]
-
Страница 332
C OMMAND L IN E I NTE RF AC E 4-46 Command Usage This comman d displa ys the current time , the pol l interval used for sendin g time s ynchron ization requ ests (w hen t he switch is set to SN TP client mo de), and the cu r rent S NTP mode (i.e., client or broadc ast). Example clock timezone Use this command to set the time zone fo r the switc h?[...]
-
Страница 333
S YSTE M M ANAGEME NT C OMMANDS 4-47 a time corr espondin g to your local time, y ou must indicate the number of hours an d minutes your time zone is east (b efore) o r west (after ) of UTC. Example Related Commands show sntp (4-45) System Status Commands show startup- config Use this command t o display the configuration file s tored in non-volati[...]
-
Страница 334
C OMMAND L IN E I NTE RF AC E 4-48 Command Usage • Use th is command in conjunct ion with the show running-config command to compare the informatio n in running memory to the infor mation st ored in non- volatile memory. • Thi s comman d display s settings for key c omma nd modes. E ach mo de group is separa ted by “ !” symbols , and includ[...]
-
Страница 335
S YSTE M M ANAGEME NT C OMMANDS 4-49 Related Commands show r unn ing-co nfig (4 -49) show runnin g-config Use this command to d isplay t h e conf igura t ion infor m ation cur rently in use . Default Setting None Command Mode Pri vileged Exec Command Usage • Use th is command in conjunct ion with the show running-config command to compare the inf[...]
-
Страница 336
C OMMAND L IN E I NTE RF AC E 4-50 - Rout i ng pr otocol c onfigurati on settings - Spann ing tr ee sett ings - Any co nfigured set t ings for the cons ole port and T elnet Example Related Commands show star tup-con fig (4-47) Console#show running-config building running-config, please wait..... ! ! snmp-server community private rw snmp-server comm[...]
-
Страница 337
S YSTE M M ANAGEME NT C OMMANDS 4-51 show system Use this command to disp lay system infor mation. Default Setting None Command Mode Nor m al Exec , Privileged Exec Command Usage • For a descr iption o f the ite ms sho wn by thi s comma nd, ref er to “Displaying Sys tem Information” o n page -12. • The POST results s hould all display “PA[...]
-
Страница 338
C OMMAND L IN E I NTE RF AC E 4-52 Command Usage The session us ed to execu te this comman d is indicated by a “*” symbol next to t he Li ne (i.e., ses sion) in dex number. Example show ve rsio n Use th i s comma nd to displa y hardwar e and so ftware ver s ion infor m ation for the system. Default Setting None Command Mode Nor m al Exec , Priv[...]
-
Страница 339
F LASH /F ILE C OMMANDS 4-53 Example Flash/File Commands These comma nds are used t o manage the sy stem code or configuration files . copy Use this command to move (upload/d ownload) a code image or configu ration file between the switch ’ s fla sh memor y and a TF TP ser ver . When y ou sav e the system code or co nfiguration se ttings to a fi [...]
-
Страница 340
C OMMAND L IN E I NTE RF AC E 4-54 Syntax copy file {file | running-con fig | start up-config | tftp} copy running-config {file | star tup-config | tftp} copy startup-config {file | r unning-config | tftp} copy tftp {file | r unning-config | star tup-config} • file - Key word tha t allows y ou to co py to/from a file. • running-config - Keywor [...]
-
Страница 341
F LASH /F ILE C OMMANDS 4-55 the do wnload men u du ring a boot u p to downlo ad th e Boot ROM (o r diagno stic) im age. See “U pgrad ing Firm ware via the Seria l Port” o n page B-1 f or mo re d et ails . Example The foll owing example sh ows ho w to upl oad the conf iguration s ettings to a file on the TFTP ser ver: Th e following e xamp le s[...]
-
Страница 342
C OMMAND L IN E I NTE RF AC E 4-56 delete Use this co mmand to delete a file or imag e. Syntax delete filename filename - Name of the configuration file or image name. Default Setting None Command Mode Pri vileged Exec Command Usage • If the file type is used for system startup, then th is file cannot be delete d. • “Fa ctory _Defau lt_Con fi[...]
-
Страница 343
F LASH /F ILE C OMMANDS 4-57 dir Use this command to d i spla y a li st of files in f lash memor y . Syntax dir [ boot-rom | config | opcode [: filename ]] The ty pe of file or imag e to display includes: • boot-rom - Boot ROM (or diagnostic) image file. • config - Switch configuratio n file. • opcode - Run -time op eration co de image file. [...]
-
Страница 344
C OMMAND L IN E I NTE RF AC E 4-58 Example The following example shows how to display all file infor m ation: whichboot Use th i s comm and to disp lay whic h files w ere booted wh en the sys t em powered u p . Default Setting None Command Mode Pri vileged Exec Example This examp le shows the infor mation di splayed b y the whichboot comma nd. See [...]
-
Страница 345
F LASH /F ILE C OMMANDS 4-59 boot system Use this command to s p ecify t he file or image us ed to start up the sys tem. Syntax boot system { boot-rom | config | opcode }: filename The ty pe of file or imag e to set as a defaul t includes : • boot-rom - Boot ROM. • config - Config uration f ile. • opcode - Run-ti me oper ation code. The colon[...]
-
Страница 346
C OMMAND L IN E I NTE RF AC E 4-60 Authen tication C o mmands Y ou can configure t his switc h to authenticate users logging in to the sys tem for manag emen t access using local or R ADIUS authen tication me thods. Y ou can a l so en able port-based authent ication for net work clie nt access using IEEE 802.1x. Authentication Sequence authenticati[...]
-
Страница 347
A UTHE NTI CA TI ON C OMMANDS 4-61 Command Mode Global Configuratio n Command Usage • RADI US us es UDP wh ich on ly offer s best effort de liver y. Also , note that RADIUS encrypts only the pa ssword in th e access-request packet from the clie nt to th e server . • RADIUS lo gon authe ntication assig ns a spe cific privilege le vel for each us[...]
-
Страница 348
C OMMAND L IN E I NTE RF AC E 4-62 radius-server h ost Use this co mmand to spe cify the RADIUS server . Use the no for m to restore the defau lt. Syntax radius-server host host_ip_address no radius-server host host_ip_ address - I P add ress of ser ver. Default Setting 10.1.0.1 Command Mode Global Configuratio n Example radius-server retransmit Se[...]
-
Страница 349
A UTHE NTI CA TI ON C OMMANDS 4-63 radius-serve r port Use this command to s et the RADIUS se r ver netw ork port. Use the no for m to restore the default. Syntax radius-ser ver port por t_number no radius-server por t por t_n um ber - RADIUS ser ver UDP por t used for au thentication messages . (Rang e: 1-65535) Default Setting 1812 Command Mode G[...]
-
Страница 350
C OMMAND L IN E I NTE RF AC E 4-64 Command Mode Global Configuratio n Example radius-server re transmit Use this comm and to set th e number of r etries. Use the no f o r m t o r e s t o r e the de fault. Syntax radius-server retransmit number_of _ retries no radius-server retransmit number_ of_r etrie s - Number of times the switch w ill try to au[...]
-
Страница 351
A UTHE NTI CA TI ON C OMMANDS 4-65 radius-server timeout Use this comma nd to set th e inter val between transm itting authentica tion request s to the RADIUS ser ver . Use th e no for m to restore the default. Syntax radius-ser ver timeout number_of _secon ds no radius-server timeout number_of_ seconds - N umber of seconds th e swi tch waits for a[...]
-
Страница 352
C OMMAND L IN E I NTE RF AC E 4-66 802.1x Port Authentication The switch suppor ts IEEE 802.1x (dot1x) por t-based access control that prev ents unautho rized access to the netw ork by requiring users to first enter a use r ID and p assword for auth entica tion. Client authe nticat ion is control led centrall y by a RADIUS ser ver usi ng EAPOL (Ext[...]
-
Страница 353
A UTHE NTI CA TI ON C OMMANDS 4-67 authentication dot1x default Sets th e defau lt auth entic ation se r ver ty pe. Use the no for m to res tore the defau lt. Syntax authentication dot1x default radius no authentication dot1x Default Setting RADIUS Command Mode Global Configuratio n Example dot1x default Sets all configurable dot1x global and por t[...]
-
Страница 354
C OMMAND L IN E I NTE RF AC E 4-68 dot1x max-req Sets the maximum number of times the swit ch port will retrans mit an EAP requ est pac ket to t he client before i t times o ut the au thentic ation sess ion. Use the no form to restore the defaul t . Syntax dot1x max- r eq count no dot1x max-req count – T he maximum n u mber of requests (Range: 1-[...]
-
Страница 355
A UTHE NTI CA TI ON C OMMANDS 4-69 Default forc e-auth ori zed Command Mode Interf ace Configuratio n Example dot1x re-authenticate F orces re-authentic ation on all por ts or a specific interface. Syntax dot1x re-authenticate [ interfac e ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. Command Mode Pri vileged[...]
-
Страница 356
C OMMAND L IN E I NTE RF AC E 4-70 Command Mode Global Configuratio n Example dot1x timeout quiet -period Sets the tim e that a switc h port w aits a fter the Max R equest C ount ha s been ex ceeded befor e attempting t o acquire a new cli ent. Use th e no fo r m of this com mand to r eset th e defaul t. Syntax dot1x timeout quie t-period secon ds [...]
-
Страница 357
A UTHE NTI CA TI ON C OMMANDS 4-71 Default 3600 seconds Command Mode Global Configuratio n Example dot1x timeout tx-p eriod Sets the time that the swi tch waits during an authen tication se ssion befo re re-tra nsmitting an E AP packet. Use th e no for m to reset to the default val u e. Syntax dot1x timeout tx-period se cond s no dot1x timeout tx-p[...]
-
Страница 358
C OMMAND L IN E I NTE RF AC E 4-72 show d ot1x Use this command to show g ener al por t au thentica tion r elated settings on the switch or a specific interface. Syntax show dot1x [ stat is tics ] [ inte rfac e interface ] interfa ce • ethernet unit / port - unit - This is device 1. - port - Port number. Command Mode Pri vileged Exec Command Usag[...]
-
Страница 359
A UTHE NTI CA TI ON C OMMANDS 4-73 (page 4-71 ), and Port-c ontrol (page 4- 68). It also displays the following information: - Statu s– Au thoriz ation stat us (au thorize d or una uthorize d). - Supplicant– MAC address o f authorized client. • Authenticator S tate Machine - State– Current state (including in itialize, disconnect ed, connec[...]
-
Страница 360
C OMMAND L IN E I NTE RF AC E 4-74 Access Co ntrol List Co mmands Access Control Lis t s (A CL) pro vide pac ket filt ering for IP fr ames (based on add ress, protocol, TC P/UD P por t numbe r or TCP contro l code) o r non-IP frames (b ased on MAC address or Ether n et type ). To filte r incomin g packets, firs t create an access list, add the requ[...]
-
Страница 361
A CCES S C ONTROL L IST C OMMANDS 4-75 There are t h ree filt ering modes: • Standa rd IP A CL mode (S TD-ACL ) filters pa ckets b ased o n the s ource IP addr ess. • Extended IP ACL mode (EXT- A CL) fi lters packets based on so urce or desti nation IP a ddress, as we ll as protoco l type and TC P/UDP port number . If the TC P prot ocol t ype i[...]
-
Страница 362
C OMMAND L IN E I NTE RF AC E 4-76 IP ACLs access-list ip Use this co mmand to add an IP acces s list and enter configura tion mode for st andard or exte nded IP A CLs . Use the no for m to r emove the specified ACL. Syntax access-list ip { standard | extended } acl_name no access-li st ip { standard | extended } acl_name • standard – Specifies[...]
-
Страница 363
A CCES S C ONTROL L IST C OMMANDS 4-77 • extended – Specifi es an ACL that filters packets based on the source or destinati o n IP add ress, and ot her more spec i fic crit eria. • acl_na me – Name of th e ACL. (Ma ximum len gth: 16 ch aracters) Default Setting None Command Mode Global Configuratio n Command Usage • An ACL can contain ei [...]
-
Страница 364
C OMMAND L IN E I NTE RF AC E 4-78 permit , deny (Standard ACL) Use this co mmand to add a r ule to a Standa rd IP A CL. Th e r ule sets a filter condition for p ackets emanating from the specified source. Us e the no for m to remov e a r ule. Syntax { per mit | deny } { any | s o urce bitmask | host so urce } no { per mit | deny } { an y | source [...]
-
Страница 365
A CCES S C ONTROL L IST C OMMANDS 4-79 Related Commands access-list ip (4- 76) permit , deny (Extended ACL) Use this command to add a r ule to an Extended IP AC L. T he ru le sets a filter condition fo r packet s with speci fic source an d destinatio n IP addres ses, protoc ol typ es, source an d des tinat ion TCP /UDP p or ts, or TCP co nt rol co [...]
-
Страница 366
C OMMAND L IN E I NTE RF AC E 4-80 • host – Keyword followed by a specific IP address. • sour ce-p ort – TCP/UDP source port number. (Range: 0-65535) • destination -por t – TCP /UDP d estina tion por t number . (Ran ge: 0-65535) • protoc ol-number – A specific protocol nu mber. (Range : 0-255) • contro l-cod e – Decimal num ber [...]
-
Страница 367
A CCES S C ONTROL L IST C OMMANDS 4-81 - Both S YN and ACK valid , use “con trol-co de 18 18 ” - SYN valid and ACK invalid, use “control-code 2 18” Example This exampl e accepts any incomi ng packe ts if the sour ce address is wi thin subnet 10.7.1.x. Fo r example, if the r ule is matched; i.e., the r ule (10.7.1.0 & 255.255.255.0) equa[...]
-
Страница 368
C OMMAND L IN E I NTE RF AC E 4-82 Default Setting None Command Mode Interf ace Configur ation (Eth er net) Example Related Commands show ip access-list (4-83) show ip access-group Use this command to s h ow the p orts assigne d to IP ACLs. Command Mode Pri vileged Exec Example Related Commands ip access -g roup (4-81) Console(config)#int eth 1/25 [...]
-
Страница 369
A CCES S C ONTROL L IST C OMMANDS 4-83 show ip access- list Use this command to d isplay the r ules for configured IP A CLs . Syntax show i p access-list { standard | extended } [ acl_name ] • standard – Specifies a standard IP ACL. • extended – Specifi es an extended IP ACL. • acl_na me – Name of th e ACL. (Ma ximum len gth: 16 ch arac[...]
-
Страница 370
C OMMAND L IN E I NTE RF AC E 4-84 MAC AC Ls access-list m ac Use this command to ad d a MA C access li st and enter MA C A CL config urati on mod e. Use the no for m to remov e the specified A CL. Syntax access-list mac acl _name no access-list ma c acl_ name acl_n ame – Na me of the ACL. (Maximum length: 16 characters) Default Setting None Comm[...]
-
Страница 371
A CCES S C ONTROL L IST C OMMANDS 4-85 the bot t om of th e list. To create an ACL, you must add at leas t one rule to the li st. •T o r e m o v e a r u l e , u s e t h e no permit or no deny co mman d fo llo we d by the ex act text of a p reviously confi gured rule. • An ACL can contain up to 32 rule s. Example Related Commands per mit, den y [...]
-
Страница 372
C OMMAND L IN E I NTE RF AC E 4-86 • any – Any MAC source addr ess, dest ination addre ss, or Ethe rnet protoc ol. • source – Source MAC add ress. • source bitmas k – Binary mask for the source M A C addres s. • destination – Destinati on MAC address. • destination bitmask – Binary mas k for the dest i nation MAC address. • pr[...]
-
Страница 373
A CCES S C ONTROL L IST C OMMANDS 4-87 mac access- group Use this command to b ind a port to a MA C A CL. Use the no for m to remov e the port. Syntax mac access-group ac l_na me in acl_n ame – Na me of the ACL. (Maximum leng th: 16 chara cters) Default Setting None Command Mode Inter face Con figurat ion (E ther net) Command Usage • A port ca [...]
-
Страница 374
C OMMAND L IN E I NTE RF AC E 4-88 Example Related Commands mac access -g roup (4-87) show mac access -list Use th i s comma nd to displa y the r ules for configured MAC ACL s. Syntax show mac access-lis t [ acl_name ] acl_n ame – Na me of the ACL. (Maximum length: 16 characters) Command Mode Pri vileged Exec Example Related Commands per mit, den[...]
-
Страница 375
A CCES S C ONTROL L IST C OMMANDS 4-89 ACL Informatio n show access-list Use this command to s how all A CLs and asso ciated r ules . Command Mode Pri vileged Exec Example show access-group Use this command to s how the p or t assig nments of A CLs . Command Mode Pri vileged Execut ive Example Command Function Mode Page show access-l ist Sh ow all [...]
-
Страница 376
C OMMAND L IN E I NTE RF AC E 4-90 SNMP Commands Con trol s ac ces s to thi s sw itch fr om manag ement s tations using t he Simple Netw ork Managem ent Protoc ol (SNMP), as well as the error ty pes sent to trap manag e rs . snmp-serv er communit y Use th i s comma nd to define the commun ity access str i ng for the Simple Network Man age ment Prot[...]
-
Страница 377
SNMP C OMMANDS 4-91 Default Setting • public - Read-only access . Authorized managem ent stations are only able to retrieve MIB objects. • private - Read/writ e access. Authorized man agement stations are ab le to bo th retri eve an d modify M IB obje cts. Command Mode Global Configuratio n Command Usage Th e firs t snm p-se r ver co mmunit y c[...]
-
Страница 378
C OMMAND L IN E I NTE RF AC E 4-92 Related Commands snmp-server locatio n (4-92) snmp-serve r location Use th i s comm and to set the system locati on string . Use the no for m to remov e the location s tring . Syntax snmp-ser ver location te xt no snmp-ser ver location text - String that describe s the syste m location. (Maximu m length: 255 chara[...]
-
Страница 379
SNMP C OMMANDS 4-93 snmp-serv er ho st Use this command to s pecify the rec ipient of a Sim ple Netw ork Manag eme nt Prot ocol notif icatio n oper ation . Use th e no for m to remove the specif ied h ost. Syntax snmp-server host host -addr community-string no snmp-ser ver host host-addr • host-ad dr - Internet addres s of the hos t (the targeted[...]
-
Страница 380
C OMMAND L IN E I NTE RF AC E 4-94 • However , some no tification types ca nnot be con trolled wit h the snmp-server enable traps comm and. For exampl e, some notifi cation types are always enabled. Example Related Commands snmp-server enab le traps (4-94) snmp-serve r enable traps Use this command to enable this device to s end Simple Netw ork M[...]
-
Страница 381
SNMP C OMMANDS 4-95 notifi cations are ena bled. If you enter the comm and with a key w ord, only the notificati on type relate d to that keyw ord is enable d. •T h e snmp-server enabl e traps comman d is used in conj unction with the snmp-server host comma n d. Use th e snmp-server host comma nd to specif y which ho st or host s receive SNMP not[...]
-
Страница 382
C OMMAND L IN E I NTE RF AC E 4-96 Example Console#show snmp SNMP traps: Authentication: enable Link-up-down: enable SNMP communities: 1. private, and the privilege is read- write 2. public, and the privilege is read-o nly 0 SNMP packets input 0 Bad SNMP version errors 0 Unknown community name 0 Illegal operation for community nam e supplied 0 Enco[...]
-
Страница 383
DHCP C OMMANDS 4-97 DHCP Commands These commands are used to configure Dy namic Host Configura t ion Protoc ol (DHCP) clie nt, relay , and s er ver funct ions . Y ou can con figure any VLAN int erface to be automa tically assig n ed an IP address via DHCP . This s witch can be configured to relay DHCP client configuration requests to a DHCP s er ve[...]
-
Страница 384
C OMMAND L IN E I NTE RF AC E 4-98 Default Setting None Command Mode Interf ace Configur ation (VLA N) Command Usage This c ommand is used to include a client id entifier in all comm unications with the DH CP ser ver . T he ide ntifier type depe nds on the requ irements of your DHCP ser v er . Example Related Commands ip dhcp restar t client (4-98)[...]
-
Страница 385
DHCP C OMMANDS 4-99 • If t he BOOTP or DHC P serv er has been moved t o a di fferent doma in, the ne twork portio n of t he ad dress pro vided to the client will be base d on this ne w domain . Example In the fo llowing ex ample, th e device is reas signed the sa m e addres s. Related Commands ip address (4-216) DHCP Relay ip dhcp rest art relay [...]
-
Страница 386
C OMMAND L IN E I NTE RF AC E 4-100 Default Setting Disabled Command Mode Interf ace Configur ation (VLA N) Command Usage This c ommand is used to configure DHCP re lay functions for host devices attached to the switch. If DHCP relay ser vice is enabled , and this switch sees a DHCP request broadcast, it in sert s its own IP address into the reques[...]
-
Страница 387
DHCP C OMMANDS 4-101 ip dhcp relay server Use th is command t o specify th e addresses of DHCP servers to be used b y the sw itch’ s DHCP rela y agent. Use the no form to clear al l addresses . Syntax ip dhcp relay ser ver address1 [ addr ess2 [ addr ess3 ... ]] no ip dhcp relay ser v er address - IP address of DHCP se r ver . (Rang e: 1-3 addres[...]
-
Страница 388
C OMMAND L IN E I NTE RF AC E 4-102 DHCP Server Command Function Mode Page service dhcp E nables the DHCP se rver feature on this switc h GC 4-103 ip dhcp excluded -address Specifi es IP addre sses that a D HCP server should not assign to DHCP clie nts GC 4-104 ip dhcp pool Configu res a DHCP ad dress pool on a DHCP Server GC 4-104 network Configu [...]
-
Страница 389
DHCP C OMMANDS 4-103 servi ce dhc p Use this command to en able the DHCP server on this switc h. Use the no for m to disable the DHCP s er ver. Syntax ser vice dhcp no ser vice dhcp Default Setting Enabl ed Command Mode Global Configuratio n Example clear ip dhcp binding Deletes an automatic ad dre ss binding f rom the DHCP server databa se PE 4-11[...]
-
Страница 390
C OMMAND L IN E I NTE RF AC E 4-104 ip dhcp excluded-address Use th i s comma nd to specif y IP addresses that the DHCP server should not ass i gn to D HCP clients . Use the no fo r m to re m ov e the ex cluded IP addresses . Syntax ip dhcp ex cluded-address low-address [ high-a ddr ess ] no ip dhcp excluded-address low-address [ high-address ] •[...]
-
Страница 391
DHCP C OMMANDS 4-105 Command Mode Global Configuratio n Usage Guidelines • After execut ing this command, the switch cha nges to DHCP Pool Config uration mo de, identi fied by the (config-d hcp)# promp t. • Fro m this mo de, fir st conf igure ad dress pools for the ne twork interfa ces (using the network command ). You can als o manually bind a[...]
-
Страница 392
C OMMAND L IN E I NTE RF AC E 4-106 Usage Guidelines • When a client request is receive d, the switch first checks for a network address pool match i ng th e gateway where t he request ori ginated (i.e. , if the reques t was forwarded by a relay server). If the re is no gateway in the cl ient req uest (i.e ., the req uest wa s not for warded by a[...]
-
Страница 393
DHCP C OMMANDS 4-107 Command Mode DHCP P ool Configuration Usage Guidelines T h e I P a d d r e s s o f t h e r o u t e r s h o u l d b e o n t h e s a m e s u b n e t a s t h e client . Y ou can spe cify up to t wo r outers . Ro uters are lis ted in orde r of prefer ence (starting wit h address1 as the most prefer red router) . Example domain-name[...]
-
Страница 394
C OMMAND L IN E I NTE RF AC E 4-108 dns-server Use this c ommand to specify th e Doma in Name Sy stem (DNS) IP ser vers av ailable to a DH CP clien t . Use th e no for m to remove t he DNS ser ver list. Syntax dns-ser ver address1 [ a ddr ess2 ] no dns-ser ver • address1 - Specifies the IP address of the primar y DNS server. • address2 - Specif[...]
-
Страница 395
DHCP C OMMANDS 4-109 next-server Use this command to co nfigure the next ser ver i n the boot process of a DHCP client. Use the no for m to remov e the boot server list. Syntax next-ser ver address no next-ser ver address address - Specifies the IP addr ess of the next ser ver in the boot process , wh ich is typically a T rivial File T ransfer Prot[...]
-
Страница 396
C OMMAND L IN E I NTE RF AC E 4-110 Default Setting None Command Mode DHCP P ool Configuration Example Related Commands next-ser ver (4-109) netbios-name-server Use this command t o configure NetBIOS Wind ows Intern et Naming Servi ce (WINS ) name servers t h at are a vailab le to Microsoft D HCP clie nts . Use the no form to re mov e the Ne tBIO S[...]
-
Страница 397
DHCP C OMMANDS 4-111 Example Related Commands netbios-node-type (4-111) netbios-node-type Use this command to configure t he NetBIOS n ode type for Microsoft DHCP client s. Us e the no form to re move the Ne tBIOS no de type . Syntax netbios-node-type type no netbios-node-type typ e - Specifies th e NetBIOS no de type: •b r o a d c a s t • hybr[...]
-
Страница 398
C OMMAND L IN E I NTE RF AC E 4-112 lease Use this co mmand to configure the durati on that an IP address is assign ed to a DHCP cl ient. Use the no form to restore the default value. Syntax leas e { days [ hours ][ minutes ] | infinite } no lease • days - Specifies the duration of the lease in num bers of days. (Range: 0-364) • hours - Specifi[...]
-
Страница 399
DHCP C OMMANDS 4-113 host Use this command to specify the IP address and netw ork mask to manually bind to a DHCP client. Use the no for m to remove t he IP addr ess for the c lient . Syntax host address [ mask ] no host • address - Specifies the IP addres s of a client. • mask - Specifies the network mask of the client. Default Setting None Co[...]
-
Страница 400
C OMMAND L IN E I NTE RF AC E 4-114 is used (see page 3-178). This command is valid for manual bindings only. •T h e no host com m and on ly clears t h e addres s from the D HCP server data base. It doe s not cancel th e IP address c urrently in use by the h o st. Example Related Commands client-identifi er (4-114) hardware-add ress (4-115) cli e[...]
-
Страница 401
DHCP C OMMANDS 4-115 • BOOTP clients cannot transmit a clien t identifier. To bind an address to a BOOTP clien t , you must as sociate a hardware ad dress with the host ent ry. Example Related Commands host (4-113) hardware-address Use this co mmand to specify the ha rdware addres s of a DHCP client. This command is valid for manual bindings only[...]
-
Страница 402
C OMMAND L IN E I NTE RF AC E 4-116 Command Usage T h i s c o m m a n d i d e n t i f i e s a D H C P o r B O O T P c l i e n t t o b i n d t o a n addre ss specif ied in th e host comm and. BOOTP cl ients c annot transmit a c lient identifie r . T o bind an address t o a BOOTP c lient, you mus t associate a h ardware addr ess with th e host entry [...]
-
Страница 403
DHCP C OMMANDS 4-117 Example Related Commands show ip dhcp bind ing (4-1 17) show ip dhcp bind ing Use this command to d i spla y address bin dings on the D HCP ser ver . Syntax show ip dhcp binding [ address ] address - Specifies the IP address of the DHCP client for which bindings will be displayed. Default Setting None Command Mode Nor m al Exec[...]
-
Страница 404
C OMMAND L IN E I NTE RF AC E 4-118 Interface Commands These comman ds are used to displa y or set comm unication parameters fo r an Ethernet port, a g greg ated link, or VLAN . Command Function Mode Page interface Configures an interface type and en ters interface configu ration mode GC 4-119 descriptio n Adds a descriptio n to an interface config[...]
-
Страница 405
I NTERFACE C OMMANDS 4-119 interface Use this command to co nfigure an i nterface ty pe and enter i n terf ace config urati on mod e. Use the no for m to remove a tr unk. Syntax interf ace interface no interface port-channel chann el-i d interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id[...]
-
Страница 406
C OMMAND L IN E I NTE RF AC E 4-120 Default Setting None Command Mode Interf ace Configur ation (Eth er net, P or t Channel ) Example The follo wing example adds a descriptio n to port 25. speed-duplex Use th i s comm and to conf igure the speed and duplex mo de of a gi ven interface when auto neg otiat ion is disabl ed. Use the no for m to re stor[...]
-
Страница 407
I NTERFACE C OMMANDS 4-121 Command Usage • To force o peration to the speed and d uplex mode speci fied in a speed-duplex comm and, use the no negotiation command to disa ble auto-ne gotiatio n on the selec ted interf ace. •W h e n u s i n g t h e negotiation command to enable auto-neg otiation, the optimal settin gs will be d etermined by the [...]
-
Страница 408
C OMMAND L IN E I NTE RF AC E 4-122 Command Usage • When auto-n egotiation is e nabled the switch will n egotiate the best settings for a link based on the capabilities command. W h en auto-ne gotiation i s disabled, you must manua lly specify t he link attribut es wit h the speed-duplex and flowcontrol commands. • If autonegotiation is disable[...]
-
Страница 409
I NTERFACE C OMMANDS 4-123 • symmetric (Gigabit o nly) - W hen specifie d, the po rt transmits and receives p ause frames; when not specified, t he port will auto-ne gotiate to deter mine the sende r and recei ver for asymmetric pause fram es. ( The current switch ASIC only supports sy mmetric pause frames. ) Default Setting • 100BASE-TX : 10ha[...]
-
Страница 410
C OMMAND L IN E I NTE RF AC E 4-124 flowcontrol Use this command to enable flow contro l . Use the no fo r m t o d i s a b l e f l o w contr ol. Syntax fl o w c o n t ro l no f l ow contr ol Default Setting Flow contr o l enabled Command Mode Interf ace Configur ation (Eth er net, P or t Channel ) Command Usage • Flow co ntrol can eliminate frame[...]
-
Страница 411
I NTERFACE C OMMANDS 4-125 Example The follo wing example enables flow control on port 5. Related Commands nego tiation ( 4-121) capabilities (f lowcontrol, symmet ric) (4-122) shutdown Use this command to disable an inter face. T o restart a disabled inter face, use the no for m . Syntax shutdown no shutdown Default Setting All interfaces are enab[...]
-
Страница 412
C OMMAND L IN E I NTE RF AC E 4-126 switchport broadcas t packet-rate Use this command to con figure broadcas t storm contr ol. Use the no for m to disa ble broadcast st or m contr ol. Syntax swi tc hpor t broadcast packet-rate rate no switchpor t broadcast rate - Threshol d level as a rate; i.e., pac kets pe r secon d. (Range: 500 - 262143) Defaul[...]
-
Страница 413
I NTERFACE C OMMANDS 4-127 clear counters Use this command to cle ar statist ics on an interfa ce. Syntax clear counters inte rface interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting None Command Mode Pri vileged Exec Command Usage Statistics are only initial[...]
-
Страница 414
C OMMAND L IN E I NTE RF AC E 4-128 show i nterface s st atus Use this co mmand to dis play the st atus for an inter face. Syntax show i nte rfaces status [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) • vlan vlan-id (Range: 1-4094) Default Setting Shows [...]
-
Страница 415
I NTERFACE C OMMANDS 4-129 Example show interfaces counters Use this command to display i nterface stat istics . Syntax show interfaces counters [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting Shows the counters for all interfaces. Command Mo[...]
-
Страница 416
C OMMAND L IN E I NTE RF AC E 4-130 Command Usage If no interface is specified, in for mation o n all interfaces is d isplayed. F or a descrip tion of the item s display ed by this co m mand, see “Showing Port Sta tistics ” on pag e 3-71 . Example Console#show interfaces counters ethernet 1/7 Ethernet 1/7 Iftable stats: Octets input: 30658, Oct[...]
-
Страница 417
I NTERFACE C OMMANDS 4-131 show i nterfac es sw itch port Use this command to d i spla y the admini strativ e and operat ional status of the specif ied in terfa ces . Syntax show interfaces s wi tchpor t [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Defaul[...]
-
Страница 418
C OMMAND L IN E I NTE RF AC E 4-132 Field Description Broadcast t hreshol d Shows if broadcast st orm suppres sion is enabled or disable d; if enabled it also shows the thres hold level (page 4-1 26). Lacp stat us Shows if Lin k Aggreg ation Control P rotocol has been enabled or disabled (page 4-139). VLAN members h ip mode Indicates me mbership mo[...]
-
Страница 419
M IR R OR P ORT C OMMANDS 4-133 Mirror Port Commands Th is sectio n desc ribe s how to mir ror traff ic fr om a sour ce por t to a targ et por t. port monitor Use this comma nd to co nfigu re a mir r or sessi on. Us e the no for m to clear a mirror sess ion. Syntax por t monitor interface [ rx | tx | bo th ] no por t monitor interface • interface[...]
-
Страница 420
C OMMAND L IN E I NTE RF AC E 4-134 probe to the destinat ion port and stu dy the traffic cro ssing the so urce port in a completely unobt rusive manner. • The dest ination port i s set by spec ifying an Eth ernet interf ace. • The mirror port a nd monitor port speeds should match, otherwise traff i c may b e dropped fr om the mon itor port. ?[...]
-
Страница 421
R ATE L IMIT C OMMANDS 4-135 Example The foll owing shows mirrorin g configured from port 6 to por t 11: Rate Limit Commands This f unctio n allows the ne twork manag er to co ntro l the maximum rate for traffic transmitted or receiv e d on an interface. Rate limiting is config ured on interfa ces at the edg e of a ne twork to limit traf fic int o [...]
-
Страница 422
C OMMAND L IN E I NTE RF AC E 4-136 rate-limit Use this command to d efine the rat e limit for a sp ecific inter face. Use t his command without spec ifying a rate t o restore th e default rate . Use the no for m to restore the defau lt statu s of disab led. Syntax rate-lim it { input | output } [ rate ] no rate-limit { input | output } • input ?[...]
-
Страница 423
L INK A GG RE G A T I O N C OMMANDS 4-137 Link Aggregation Comman ds P or ts can be statically g roupe d into an ag g re gate lin k (i.e., tr unk) to incre ase the bandw idth of a network con nec tion or to ensur e faul t recover y . Or you can u se the L ink Ag g reg atio n Con trol Prot ocol ( LA CP) to automatic ally ne go tiate a tr unk link be[...]
-
Страница 424
C OMMAND L IN E I NTE RF AC E 4-138 • All the ports in a trunk have to be trea ted as a whole when moved from/t o, added or de leted from a VLAN via the spec ified port -chann el. • STP, VL AN, and IGMP se ttings can o nly be made for the entire trunk via the specified port-channel. channel-group Use this c ommand to add a por t to a tr unk. Us[...]
-
Страница 425
L INK A GG RE G A T I O N C OMMANDS 4-139 lacp Use this command to enable 802.3ad Link Agg reg ation Control Protocol (LA C P) for the c ur ren t interfa ce. Use the no for m to disable it. Syntax lacp no lacp Default Setting Disabled Command Mode Inter face Con figurat ion (E ther net) Command Usage • The port s o n bot h en ds of an LA CP trunk[...]
-
Страница 426
C OMMAND L IN E I NTE RF AC E 4-140 Example Th e following shows LA CP enab led on por ts 1 1-13. Be caus e LACP has also bee n enabled on the ports at the o ther end of the links , the show interfaces status por t-channel 1 command shows that Trunk1 ha s been established. Console(config)#interface ethernet 1/11 Console(config-if)#lacp Console(conf[...]
-
Страница 427
A DDRESS T ABL E C OMMANDS 4-141 Addre ss T able Comma nds These comma nds are used t o confi gure the addre ss table for filtering speci fied addres ses, display ing current entri es, clearing t h e ta ble, or setting the agin g time. mac-add ress-table st atic Use this command to map a st atic ad dress to a destination port in a VLAN . Use th e n[...]
-
Страница 428
C OMMAND L IN E I NTE RF AC E 4-142 • action - - delete-on-reset - Assignment lasts un til the switch is rese t. - permanent - As signment i s permanen t. Default Setting No stat ic addresses a re defined. The de fault mode is permanent . Command Mode Global Configuratio n Command Usage The static address for a host device can b e assigned to a s[...]
-
Страница 429
A DDRESS T ABL E C OMMANDS 4-143 Command Mode Pri vileged Exec Example show mac-address -table Use this command to vi ew classes of e ntries in th e bridge-forwa rding datab ase. Syntax show mac-address-ta ble [ addr ess mac-address [ mask ]] [ interface interface ] [ vlan vlan-id ] [ sort { address | vlan | interface }] • mac-address - MAC a ddr[...]
-
Страница 430
C OMMAND L IN E I NTE RF AC E 4-144 Command Usage • The MAC Address Tab le contains the MAC addr esses associa ted with each interface. Note th at the Type fie ld may include t he followin g types: - Learned - Dynam ic address entries - Permane nt - Static ent ry - Delete-o n -reset - Sta t ic entry to be deleted when system is reset • The ma s[...]
-
Страница 431
A DDRESS T ABL E C OMMANDS 4-145 Command Usage The aging t ime is used to age out d ynamically lear ned forwarding infor mation . Example show mac-address -table aging-time Use this command t o show the aging time for entries in the addr ess table. Default Setting None Command Mode Pri vileged Exec Example Console(config)#mac-address-table aging-t [...]
-
Страница 432
C OMMAND L IN E I NTE RF AC E 4-146 Spanni ng Tree Com man ds This secti on includes co mmands that configure th e Spanning T ree Alg orith m (STA) globally for the switch, and com mands tha t configure ST A for the select ed interface . Command F unction Mode Page spanning-tre e Enabl es the spannin g tree protoco l G C 4-147 spanning-tre e mode C[...]
-
Страница 433
S PANNING T REE C OMMANDS 4-147 spanning- tree Use th is command to enable th e Spanning T ree Al g orit h m glo bally for the switch. U se t he no for m to disable it. Syntax spanning-tree no spanning-tree Default Setting Spanning tree is enabled. Command Mode Global Configuratio n Command Usage The Spann ing T ree Algorithm (S TA) can b e used to[...]
-
Страница 434
C OMMAND L IN E I NTE RF AC E 4-148 spanning- tree mode Use th i s comma nd to select t he spanning tr ee mode for th is switch . Use the no for m to restor e the defa ult. Syntax spanning-tree mode { stp | rst p } no spanning-tree mode • stp - Spanning Tree Protocol (IEEE 802.1D) • rstp - Rapid Sp anning Tree Pro tocol (IEEE 802.1w) Default Se[...]
-
Страница 435
S PANNING T REE C OMMANDS 4-149 Example The follo wing example configures t h e swi t ch t o use Rapid Spann ing T ree: spanning-tree for ward-time Use this command to co nfigure the spanning tre e bridge forwa rd time globally for this sw itch. Use the no for m to rest ore the d efault. Syntax spanning-tree for ward -time secon ds no spanning-tree[...]
-
Страница 436
C OMMAND L IN E I NTE RF AC E 4-150 spanning-tree hello-t ime Use th i s comm and to confi gure the span ning tree bri dge hello time globally for this sw itch. Use the no for m to rest ore the d efault. Syntax spanning-tree hello-ti m e tim e no spanning-tree hello-time time - Time in seconds . (Range : 1-10 seconds). The maximum v alue is the low[...]
-
Страница 437
S PANNING T REE C OMMANDS 4-151 Default Setting 20 seconds Command Mode Global Configuratio n Command Usage This command s ets the maxim um time (in s econds) a devi ce can wait without receiving a co nfigura tion mess age befo re atte mpting to reconfi gure. All d evice ports (ex cept for designated por ts) shoul d recei ve conf iguration mes sage[...]
-
Страница 438
C OMMAND L IN E I NTE RF AC E 4-152 Command Mode Global Configuratio n Command Usage Bridge prio rity is used in sele cting the root d evice, root por t, and designa ted por t. T he d evice wi th the h ighes t priorit y beco mes th e STA root devi ce. How ever , if all devi ces hav e the same prior ity , the device with the lowe st MA C address wil[...]
-
Страница 439
S PANNING T REE C OMMANDS 4-153 Example spanning-tree transm ission-limit Use this command to co nfigure the minimum interval b etween th e transm ission of cons ecutiv e RSTP BPDUs . Use the no for m to resto re the defau lt. Syntax spanning-tree transmi ssion-limit coun t no spanning-tree transmission-limit count - T he transmission limit in se c[...]
-
Страница 440
C OMMAND L IN E I NTE RF AC E 4-154 spanning-tree cos t Use th i s comma nd to confi g ure the spanning tre e path cost for t he specified inte rface. Use the no for m to res tore the default. Syntax spanning-tree cost cost no spanning-tree cost cost - The p ath cost for the port. (Range: 1-200,000,000)) The recom mended range is : • Ethernet: 20[...]
-
Страница 441
S PANNING T REE C OMMANDS 4-155 spanning- tree port-priorit y Use this co mmand to configu re the priority for th e specified interfac e. Use the no for m to re store th e default. Syntax spanning-tree por t-priority priority no spanning-tree por t-priority priority - The priority fo r a port. (Range: 0-240, in steps of 16) Default Setting 128 Comm[...]
-
Страница 442
C OMMAND L IN E I NTE RF AC E 4-156 spanning-tree edge-p ort Use thi s command to sp ecify an inte rface as an ed g e port. Use the no for m to restore th e default. Syntax spanning-tree edge-por t no spanning-tree edge-por t Default Setting Disabled Command Mode Interf ace Configur ation (Eth er net, P or t Channel ) Command Usage • You can enab[...]
-
Страница 443
S PANNING T REE C OMMANDS 4-157 spanning-tree por tfast Use this command to s et an interface t o fast forw arding . Use th e no for m to disa ble fast forw arding . Syntax spanning-tree portfast no spanning-tree por tfast Default Setting Disabled Command Mode Interfac e Con figurat ion (Ethe rn et, Port Chan nel) Command Usage • This c ommand is[...]
-
Страница 444
C OMMAND L IN E I NTE RF AC E 4-158 Related Commands spanning-tree edge-por t (4-156) spanning-tree link- type Use this command to co nfigure the li nk type for Rapi d Spanning T ree. Use the no for m to restor e the defa ult. Syntax spanning-tree link-type { auto | point-to-point | shar ed } no spanning-tree link-type • auto - Automatica lly der[...]
-
Страница 445
S PANNING T REE C OMMANDS 4-159 spanning-tree protocol-m igration Use this command to re-check the appropriate BPDU format to send on the se lected interfa ce. Syntax spanning-tree protocol -mig ration in terface interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Command Mod[...]
-
Страница 446
C OMMAND L IN E I NTE RF AC E 4-160 show spa nning-t ree Use th i s comma nd to show the spanning tree configurat ion. Syntax show spanning-tree [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-4) Default Setting None Command Mode Pri vileged Exec Command Usage [...]
-
Страница 447
S PANNING T REE C OMMANDS 4-161 Example Console#show spanning-tree Spanning-tree information ----------------------------------------- ---------------------- Spanning tree mode :RSTP Spanning tree enable/disable :enable Priority :32768 Bridge Hello Time (sec.) :2 Bridge Max Age (sec.) :20 Bridge Forward Delay (sec.) :15 Root Hello Time (sec.) :2 Ro[...]
-
Страница 448
C OMMAND L IN E I NTE RF AC E 4-162 VLAN Commands A VLAN is a g rou p of por t s that ca n be locat ed any where in the network, but co m mun icate as thoug h they belong to the same p hysical segment. This secti on describes co mmands used to create VLAN g roups , add port members , specify ho w VLAN tagging is used, and enable auto m atic VLAN re[...]
-
Страница 449
VLAN C OMMANDS 4-163 Command Mode Global Configuratio n Command Usage • Use the VLA N datab ase co mmand mo de to ad d, cha nge, and delete VLANs. After fini shing configur ation chan ges, you can di splay the VLAN set tings by e ntering the show vlan command. •U s e t h e interface vlan command mode t o define the port memb ership mode a nd ad[...]
-
Страница 450
C OMMAND L IN E I NTE RF AC E 4-164 Default Setting By default only VL AN 1 exists and is active . Command Mode VLAN Da tabase C onfigur ation Command Usage • no vlan vlan-i d del etes the VL AN. • no vlan vlan-i d name r emoves the VLAN name. • no vlan vl an- id state returns the VL AN to the defau lt state (i.e ., active). • You can confi[...]
-
Страница 451
VLAN C OMMANDS 4-165 interface vlan Use this co mmand to enter int erface configurati on mode for VLANs , and configure a physical interface . Syntax interface vlan vlan- id vlan-id - ID of the configur ed VLAN . (Range: 1-4094, no leading zeroes) Default Setting None Command Mode Global Configuratio n Example Th e following exampl e shows how to s[...]
-
Страница 452
C OMMAND L IN E I NTE RF AC E 4-166 switchport mode Use th i s comm and to conf igure the VLAN membership m o de for a p or t. Use the no form to restore the defaul t . Syntax swi tc hpor t mode { tr unk | hy bri d } no switchpor t mode • trunk - Specifies a po rt as an end-po int for a VL AN trunk. A trun k is a direc t link betwe en two s witch[...]
-
Страница 453
VLAN C OMMANDS 4-167 switch port acceptable- frame-types Use this command to config ure the acceptable fra m e types for a port. Use the no for m to re store th e default. Syntax swi tc hpor t acceptable-frame-types { all | tagged } no switchpor t acceptable-fr am e-types • all - The p ort accepts all frames, tagg ed or untagge d . • tagged - T[...]
-
Страница 454
C OMMAND L IN E I NTE RF AC E 4-168 switchport ingres s-filtering Use this co mmand to enab le ing ress fil tering for an i nterface. Us e the no for m to restore the default. Syntax swi tc hpor t ingr ess-filtering no switchpor t ingress-filtering Default Setting Disabled Command Mode Interf ace Configur ation (Eth er net, P or t Channel ) Command[...]
-
Страница 455
VLAN C OMMANDS 4-169 switchport native vlan Use this comma nd to con figure th e PVID (i. e., default VLA N ID) for a port. U se the no for m to r estore the de fault. Syntax swi tc hpor t nativ e vlan vl an- id no switchpor t nativ e vlan vlan-id - Default VLAN ID for a p or t. (Range: 1-4094, no leading zero es) Default Setting VLAN 1 Command Mod[...]
-
Страница 456
C OMMAND L IN E I NTE RF AC E 4-170 switchport allowed vlan Use th i s comm and to conf igure VLAN groups on th e selected in terface . Use the no form to restore the defaul t . Syntax swi tc hport allowed vlan { add vl an- list [ ta gged | untagged ] | remov e vlan-list } no switchpor t allo wed vlan • add vlan-lis t - List of VLAN ident ifiers [...]
-
Страница 457
VLAN C OMMANDS 4-171 • If a VLAN on the forb idden list for an interface is manually added to that int erfac e, the VLAN i s auto matical ly remo ved from the forbidde n list for that interface. Example The following example shows ho w to add VLANs 1, 2, 5 and 6 to the allowed list as tagg e d VLANs for por t 1: switchport forbid den vlan Use thi[...]
-
Страница 458
C OMMAND L IN E I NTE RF AC E 4-172 Example Th e following examp le shows how to pr event por t 1 from be ing ad ded to VLAN 3: Displaying VLAN Inform ation show v lan Use th i s comma nd to show VLAN information. Syntax show v lan [ id vlan -id | name vlan-name ] • id - Keyw ord to be followe d by the VLAN ID. - vlan -i d - ID of the configured [...]
-
Страница 459
VLAN C OMMANDS 4-173 Example Th e following exam ple s hows how to di splay inf or ma tion f or V LAN 1: Configuring P rivate VLANs Pri vate VLAN s provide por t-based se curity and i solation be tween ports with in the assign ed VLAN . This section describes co mmands used to config ure pr ivate VlANs. pvlan Use this command to en able or config u[...]
-
Страница 460
C OMMAND L IN E I NTE RF AC E 4-174 Command Usage • A priv ate VLA N prov ides po rt-bas ed sec urity and isola tion bet ween por ts with in the VLAN . Data tra ffic on the downli nk port s can only be forwarde d to, and from, t he uplink port. • Private VLANs and n ormal VLANs can exist simultaneous l y within the same sw itch. • Enteri ng t[...]
-
Страница 461
GVRP AND B RIDGE E XTENSION C OMMANDS 4-175 GVRP and Bridg e Exte nsio n Com mands GARP VLA N Registratio n Prot ocol de fines a way for switches to exc hang e VLAN info r mation in ord e r t o automa ticall y regist er VLAN members on interface s across t h e netw ork. This secti on describes how to enable GVRP for individual interfaces and global[...]
-
Страница 462
C OMMAND L IN E I NTE RF AC E 4-176 Command Mode Global Configuratio n Command Usage GVRP defines a way for switches to exchange VLAN infor mat ion in order to registe r VLAN member s on por ts a cross the net work. This function sh ould be e nabled to per mit automa tic VLA N registr ation, and to suppor t VL ANs w hich exten d beyo nd the lo cal [...]
-
Страница 463
GVRP AND B RIDGE E XTENSION C OMMANDS 4-177 Example swit chport gvr p Use this command to enable GVRP for a por t. Use the no form to disable it. Syntax s w it ch po rt g vrp no switchpor t gvr p Default Setting Disabled Command Mode Interfac e Con figurat ion (Ethe rn et, Port Chan nel) Example Console#show bridge-ext Max support vlan numbers: 255[...]
-
Страница 464
C OMMAND L IN E I NTE RF AC E 4-178 show gvrp configuration Use this command to show if GVRP is en abled. Syntax show gvr p configuration [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting Shows both glob al and interface-spe cific configuration[...]
-
Страница 465
GVRP AND B RIDGE E XTENSION C OMMANDS 4-179 Default Setting • join: 20 centise conds • leave: 60 centiseconds • leaveall: 1000 centiseconds Command Mode Interfac e Con figurat ion (Ethe rn et, Port Chan nel) Command Usage • Gr oup Ad dress Regis tration Prot ocol is u sed b y GVRP an d GMR P to register or deregister clie nt attrib utes fo [...]
-
Страница 466
C OMMAND L IN E I NTE RF AC E 4-180 show garp timer Use th i s comm and to sho w the GARP timer s for the s elected inter face. Syntax show garp timer [ inter face ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting Sho ws al l GARP timer s . Command Mode No[...]
-
Страница 467
P RIORITY C OMMANDS 4-181 Priority Commands The com mands describe d in this section all ow yo u to specify which data pack ets hav e g reater p recedence when traffic is buffer ed in the switc h due to con g estion . T his swit ch supp or ts CoS w ith four pri ority queue s for each port. Data packets in a p or t’ s high-priority queue will be t[...]
-
Страница 468
C OMMAND L IN E I NTE RF AC E 4-182 switchport prior ity default Use this co mmand to set a priority for incoming untagg ed frames . Use the no for m t o restor e the d efault value. Syntax swi tc hpor t priority default de faul t-p rio rit y-i d no switchport priority default def ault- pr ior ity -id - T he prior ity number for untag g ed ing res [...]
-
Страница 469
P RIORITY C OMMANDS 4-183 Example Th e following examp le shows how to se t a def ault pr iority on por t 3 to 5: queue bandwidth Use this c ommand to a ssign weig hted ro und-rob in (WRR) we ights to the four class of ser vice (CoS) pr iority queues . Use the no for m to restore the defau lt weigh ts. Syntax queue bandwidth weigh t1...we ight4 no [...]
-
Страница 470
C OMMAND L IN E I NTE RF AC E 4-184 queue cos-map Use this c ommand to a ssign cl ass of ser vice (C oS) values to the priori ty queues ( i.e., h ardware outp ut queues 0 - 3). Use t he no for m set the CoS map to the d efault values . Syntax queue cos-map queue_ id [ cos 1 ... cosn ] no queue cos-map • queue_ id - The ID of the prio rity queue. [...]
-
Страница 471
P RIORITY C OMMANDS 4-185 Command Usage CoS assig ned at the ingress port is used to select a Co S priority at the egress port. Example The f ollowing exa mple shows how to map C oS values 0, 1 and 2 to pr iority queue 0, v alue 3 to qu eue 1, values 4 and 5 to queue 2, an d values 6 a nd 7 to queue 3: Related Commands show queue cos-map (4-186) sh[...]
-
Страница 472
C OMMAND L IN E I NTE RF AC E 4-186 show queue cos-map Use th i s com mand to sho w the cla ss of service prior ity map . Syntax show queue cos-map [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting None Command Mode Pri vileged Exec Example Con[...]
-
Страница 473
P RIORITY C OMMANDS 4-187 Priority Commands (Layer 3 and 4) map ip port (Global Configuration) Use this command to en able IP port map ping (i.e ., class o f ser vice mapping for TC P/UDP sockets). Us e the no for m to disable I P por t mapping . Syntax map ip por t no map ip por t Default Setting Disabled Command Mode Global Configuratio n Command[...]
-
Страница 474
C OMMAND L IN E I NTE RF AC E 4-188 Example Th e following examp le shows how to enab le TCP/U DP por t mapping globally: map ip port (Interface Configuration) Use this c ommand to se t IP por t prio rity (i.e., TCP/UDP por t priority ). Use the no form to remov e a specific se tting . Syntax map ip por t port-number cos cos-value no map ip por t p[...]
-
Страница 475
P RIORITY C OMMANDS 4-189 map ip precedence (Global Configuration) Use this command to en able IP pr ecedence mappin g (i.e ., IP T ype of Service). Use the no for m to dis able IP prec edence mappi ng . Syntax map ip precedence no map ip precedence Default Setting Disabled Command Mode Global Configuratio n Command Usage • The prece dence for pr[...]
-
Страница 476
C OMMAND L IN E I NTE RF AC E 4-190 Default Setting The l ist below shows th e default priority mappin g . Command Mode Interf ace Configur ation (Eth er net, P or t Channel ) Command Usage • The prece dence for prio rity mapping is I P Port, IP Preced ence or IP DSCP, and default switch port priorit y. • IP Precedence values are mapped to d ef[...]
-
Страница 477
P RIORITY C OMMANDS 4-191 map ip dscp (Global Configuration) Use this command to en able IP DSCP map ping (i.e ., Differen tiated Ser vices Code Point mapping). Use th e no form to disable IP DSCP mapping . Syntax map ip dscp no map ip dscp Default Setting Disabled Command Mode Global Configuratio n Command Usage • The prece dence for prio rity m[...]
-
Страница 478
C OMMAND L IN E I NTE RF AC E 4-192 Default Setting The D SCP d efault values are define d in the fo llowing table. No te that all the DSCP values that are not speci fied are mapped to CoS valu e 0. Command Mode Interf ace Configur ation (Eth er net, P or t Channel ) Command Usage • The prece dence for prio rity mapping is I P Port, IP Preced enc[...]
-
Страница 479
P RIORITY C OMMANDS 4-193 show map ip por t Use this command to s how the I P port priority ma p. Syntax show map ip port [ in terface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting None Command Mode Pri vileged Exec Example Th e following shows that H [...]
-
Страница 480
C OMMAND L IN E I NTE RF AC E 4-194 show map ip precedence Use th i s comm and to sho w the IP prece dence priori ty map . Syntax show map ip precedence [ in terface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting None Command Mode Pri vileged Exec Examp[...]
-
Страница 481
P RIORITY C OMMANDS 4-195 show map ip dscp Use this command to show the IP DSCP priority map . Syntax show map ip dscp [ interface ] interface • ethernet unit / port - unit - This is device 1. - port - Port number. • port-channel chann el-id (Range: 1-6) Default Setting None Command Mode Pri vileged Exec Example Related Commands map ip dscp (Gl[...]
-
Страница 482
C OMMAND L IN E I NTE RF AC E 4-196 Mult icast Fi lteri ng Co mman ds Th is switch us es IGM P (Int er net Gro up Man age ment Pr otocol) to qu er y for any a ttached ho sts that w ant to recei ve a spec ific multi cast ser vice. It ident ifies the po r ts containi ng hosts requesting a se r vice and sen ds data out to those ports onl y . It then p[...]
-
Страница 483
M ULTICAST F ILTERING C OMMANDS 4-197 ip igmp snooping Use this command t o enable I G MP snooping on this s w itch. Use t h e no for m to disable it. Syntax ip igm p snooping no ip igmp snooping Default Setting Enabl ed Command Mode Global Configuratio n Example The follo wing exam ple enables I GMP snooping . ip igmp snooping vlan static Use this[...]
-
Страница 484
C OMMAND L IN E I NTE RF AC E 4-198 Default Setting None Command Mode Global Configuratio n Example The following shows how to statically config ure a multicast g roup on a por t: ip igmp snooping version Use th i s comm and to conf igure the IGMP s nooping v ersion. Use the no for m to restore the default. Syntax ip igm p snooping version { 1 | 2 [...]
-
Страница 485
M ULTICAST F ILTERING C OMMANDS 4-199 Example The following co nfigures the switch to use IGMP V e rsion 1: show ip igmp snooping Use this comman d to show the IGMP sn ooping co nfiguration. Default Setting None Command Mode Pri vileged Exec Command Usage See “Configuring IGMP Snooping P arameters” on pag e -137 for a description of t he displa[...]
-
Страница 486
C OMMAND L IN E I NTE RF AC E 4-200 show mac-address -table multicast Use th i s comma nd to show known m ulticast addre sses . Syntax show mac-address-ta ble multicast [ vlan vlan-id ] [ user | igmp- snoopi ng ] • vlan -i d - VLAN ID (1 to 4094) • user - Display only the user-con figured multicast entries. • igmp-s noo ping - Display on ly e[...]
-
Страница 487
M ULTICAST F ILTERING C OMMANDS 4-201 IGMP Query Co mmands (Layer 2) ip igmp snooping querier Use this command to en able the switc h as an IGMP q uerier . Use the no for m to disable it. Syntax ip igm p snooping q uerier no ip igmp snooping querier Default Setting Enabl ed Command Mode Global Configuratio n Command Usa ge If enabled, the switch wi[...]
-
Страница 488
C OMMAND L IN E I NTE RF AC E 4-202 ip igmp snooping query-count Use th i s comma nd to confi g ure the quer y count. Use the no for m to restore the defau lt. Syntax ip igmp snooping quer y-count count no ip igmp snooping quer y -count count - T he maxim um number of queries is sued for wh ich ther e has been no r esponse b efore th e switch takes[...]
-
Страница 489
M ULTICAST F ILTERING C OMMANDS 4-203 ip igmp snooping query-int erval Use this command to configure t h e query interval. Use the no form to restore the defau lt. Syntax ip igmp snooping quer y-inter val seconds no ip igmp snooping quer y -inter val seconds - T he fre quency a t which the sw itch sends IG MP host- quer y messages . (Rang e: 60-125[...]
-
Страница 490
C OMMAND L IN E I NTE RF AC E 4-204 Command Usage • The switch m ust b e using IGMPv2 for this co mmand to take e ffect. • Thi s co mmand de fines the time afte r a q uery, duri ng whic h a r espons e is exp ected from a mul t icast client. If a que rier has sent a number of queries defined by the ip igmp snooping query-count , but a client has[...]
-
Страница 491
M ULTICAST F ILTERING C OMMANDS 4-205 Command Mode Global Configuratio n Command Usage The switc h must u se IGMPv2 for t his command to take effe ct. Example Th e followin g shows how to c onfigu re th e de faul t timeo ut t o 300 secon ds: Related Commands ip igmp sno oping version (4-19 8) IGMP Commands (Layer 3) Console(config)#ip igmp snooping[...]
-
Страница 492
C OMMAND L IN E I NTE RF AC E 4-206 ip igmp Use th i s comma nd to enable I G MP on a VLAN interface . Use th e no form of this comm and to disabl e IGMP on the specified in terface. Syntax ip igmp no ip igmp Default Setting Disabled Command Mode Interf ace Configur ation (VLA N) Command Usage IGMP qu er y can be enabled g l obally at Layer 2 via t[...]
-
Страница 493
M ULTICAST F ILTERING C OMMANDS 4-207 ip igmp robustval Use thi s comma nd to spe cif y the ro bust ness (i.e., expect ed pa cket loss) fo r this interface. Use the no form of this command to re s tore the default val u e. Syntax ip igmp robustva l robu st -v a lue no ip igmp robustval rob us t- val ue - T he robustness of this interface . (Range :[...]
-
Страница 494
C OMMAND L IN E I NTE RF AC E 4-208 Default Setting 125 seconds Command Mode Interf ace Configur ation (VLA N) Command Usage • Multicas t routers send host quer y m essag es to determin e the interfaces that are connec t ed to downst ream hosts requesting a specific multicast service. Only the designat ed multicast router for a subnet send s host[...]
-
Страница 495
M ULTICAST F ILTERING C OMMANDS 4-209 Command Mode Interf ace Configur ation (VLA N) Command Usage • The switch m ust b e using IGMPv2 for this co mmand to take e ffect. • Thi s comman d defi nes how lo ng an y respon der (i.e ., client or ro uter) still in the group has to respond to a query message before the router delete s the gr oup. • B[...]
-
Страница 496
C OMMAND L IN E I NTE RF AC E 4-210 Default Setting 1 second Command Mode Interf ace Configur ation (VLA N) Command Usage • A multicast clien t sends an IGMP leave message wh en it leaves a group. The router th en checks to see if this w as the last host in the group by sending an IGMP query and starting a timer based on t his command. If n o rep[...]
-
Страница 497
M ULTICAST F ILTERING C OMMANDS 4-211 Command Mode Interf ace Configur ation (VLA N) Command Usage • All route rs on the s ubnet must sup port the sam e version. Ho wever, the multicast host s on the su bnet ma y su pport e ither IGMP versio n 1 or 2. • The sw itch must be se t to version 2 to enable the ip igmp max-resp-interval (page 4-208). [...]
-
Страница 498
C OMMAND L IN E I NTE RF AC E 4-212 Example Th e following examp le shows the IG MP co nfigur atio n for V LAN 1 , as wel l as the device currentl y ser ving as the I GMP querier fo r this mult icast ser vic e. clear ip igmp group Use th i s comma nd to delete en tries from th e IGMP cach e. Syntax clear ip igmp group [ gr oup-address | interf ace [...]
-
Страница 499
M ULTICAST F ILTERING C OMMANDS 4-213 Example The following example clears all multicast g roup entries for VL AN 1: show ip igmp groups Use thi s command to displa y information o n multica st groups acti ve on this switch. Syntax s h o w i p i g m p gr o u p s [ gr oup-address | inter face vl an vlan-id ] • gr oup-address - IP address o f the m[...]
-
Страница 500
C OMMAND L IN E I NTE RF AC E 4-214 Example Th e following shows the IGMP g r oups c ur rently active on VLAN 1: Console #sho w ip igmp grou ps vlan 1 GroupA ddre ss Inte rfac eVlan Last repo rter Up time Expi re V1Ti mer ------- ---- --- - ----- -- ---- --- - ----- -- ----- -- - ----- -- - ----- -- - ----- --- - 2 34.5 .6.8 1 10. 1.5.1 9 7068 220 [...]
-
Страница 501
IP I NTERFACE C OMMANDS 4-215 IP Inte rface Commands There are no IP ad dresses assigned to t his router b y default. Y ou must man ually config ure a new addres s to manage the router ov er your net work or to connect the r outer to exis ting IP subne ts. Y ou may al so need to a establish a default g ate way between this device an d manag eme nt [...]
-
Страница 502
C OMMAND L IN E I NTE RF AC E 4-216 ip address Use th i s comma nd to set the IP address fo r the cur rentl y selected VLA N interface. Use the no form to restore th e defaul t IP address . Syntax ip address { ip-addr ess netmask | bootp | dhcp } [ secondary ] no ip address • ip-address - IP address • netm as k - Network mask for t he associate[...]
-
Страница 503
IP I NTERFACE C OMMANDS 4-217 You can manually confi gure a specif ic IP address, o r direct the de vice to obta i n an addres s from a BOOTP or DHCP ser ver. Valid IP addresses consist of four numbe r s, 0 to 255, separated by periods. Anyth ing outsid e this format w ill not be accep ted by the co nfiguration progr am. • An inter face can hav e[...]
-
Страница 504
C OMMAND L IN E I NTE RF AC E 4-218 ip default-gateway Use th i s comma nd to a estab lish a static route betw een this rout er and devices th at ex ist on ano ther network se gment. Us e the no for m to remov e the static r oute. Syntax ip default-gatew ay gat ewa y no ip default-gateway gat e wa y - IP add ress of the default g ate wa y Default S[...]
-
Страница 505
IP I NTERFACE C OMMANDS 4-219 show ip interface Use this command to d isplay t he settings of an IP in terface. Default Setting All interfaces Command Mode Pri vileged Exec Example Related Commands show ip redirects (4-219) show ip redirects Use this command to sho w the default gatew ay configur ed for this devic e. Default Setting None Command Mo[...]
-
Страница 506
C OMMAND L IN E I NTE RF AC E 4-220 ping Use this command to se nd ICMP ech o request pack ets to another no de on the netw ork. Syntax ping host [ co unt count ][ size size ] • host - IP address or IP alias of the host. • coun t - Number of packets to send. (Range: 1-16, default: 5) • size - Number of bytes in a packet. (Range: 32-512, defau[...]
-
Страница 507
IP I NTERFACE C OMMANDS 4-221 Example Related Commands interface (4-119) Address Resolution Protocol (ARP) Console#ping 10.1.0.9 Type ESC to abort. PING to 10.1.0.9, by 5 32-byte payload IC MP packets, timeout is 5 seconds response time: 10 ms response time: 10 ms response time: 10 ms response time: 10 ms response time: 0 ms Ping statistics for 10.[...]
-
Страница 508
C OMMAND L IN E I NTE RF AC E 4-222 arp Use this command to add a static entry in the A ddress R esolutio n Protocol (ARP) ca che. Use the no for m to remov e an entry from the ca che. Syntax ar p ip-address hardware-address no ar p ip-addr ess • ip-address - IP address t o map to a specifie d hardware address. • hardw ar e-addr ess - Hard ware[...]
-
Страница 509
IP I NTERFACE C OMMANDS 4-223 arp-timeout Use thi s command t o set the aging tim e for dynami c entries in the Ad dress R esolutio n Proto col (ARP) cac he. Us e the no form to restore th e default. Syntax ar p-timeout second s no ar p-timeout seconds - T h e time a d ynamic entr y remains in the ARP cache. (Range: 300-86400; 86400 is one da y) De[...]
-
Страница 510
C OMMAND L IN E I NTE RF AC E 4-224 show a rp Use th i s comm and to disp lay entri es in the Add ress R esolution Protocol (ARP) cache. Command Mode Nor m al Exec , Privileged Exec Command Usage This command d isplays i nfor mation about th e ARP cache . T he first line sho ws the cac he timeout. It also sho ws each cac he entry , includin g the c[...]
-
Страница 511
IP R OUTING C OMMANDS 4-225 Command Mode Interf ace Configur ation (VLA N) Command Usage Pro xy ARP allows a non-rou ting device to deter mine the MA C address of a ho st on anot her su bnet or net work. Example IP Routi ng Commands After you configu re network int erfaces for this rout er, you must set the paths u sed to s end t raffic betwee n di[...]
-
Страница 512
C OMMAND L IN E I NTE RF AC E 4-226 Global Routing Configurati on ip routing Use this co mmand to enab le IP routing . Use the no form to disable IP routing . Syntax ip r outing no ip routing Default Setting Enabl ed Command Mode Global Configuratio n Command Usage • The comma nd affects both s tatic and dynam ic unicast rout ing. • If IP routi[...]
-
Страница 513
IP R OUTING C OMMANDS 4-227 ip route Use this command to co nfigure sta t ic rou t es . Use the no for m to remov e static r out es. Syntax ip r oute { destin ation-ip netmask | default } { gat e wa y } [ metric metric ] no ip route { de stination-ip netmask | def aul t | * } • destination-ip – IP addr ess of th e destin ation ne twork, su bnet[...]
-
Страница 514
C OMMAND L IN E I NTE RF AC E 4-228 clear ip route Use th i s comma nd to remov e dynamically lear ned ent ries from the I P routing t able. Syntax clear ip route { network [ ne tm ask ] | * } • netw ork – Ne twork or subne t addr ess. • netm as k - Network mask for t he associated IP s ubnet. This mask ident ifies the host address bit s used[...]
-
Страница 515
IP R OUTING C OMMANDS 4-229 Command Usage If the address is sp ecified with out the netmask parameter, the route r disp lays all ro utes for the correspo nding natur al class a ddress (page 4-233). Example show ip traffic Use this command to d isplay s t atist i cs for IP , ICMP , UDP , TCP and ARP protoc ols. Command Mode Pri vileged Exec Command [...]
-
Страница 516
C OMMAND L IN E I NTE RF AC E 4-230 Example Console#show ip traffic IP statistics: Rcvd: 5 total, 5 local destination 0 checksum errors 0 unknown protocol, 0 not a gate way Frags: 0 reassembled, 0 timeouts 0 fragmented, 0 couldn't fragmen t Sent: 9 generated 0 no route ICMP statistics: Rcvd: 0 checksum errors, 0 redirects, 0 unreachable, 0 ech[...]
-
Страница 517
IP R OUTING C OMMANDS 4-231 Routing Informatio n Protocol (RIP) router rip Use thi s command to enable R outin g Inform atio n Protocol ( RIP) routi ng for all I P interfaces on the rout er . Use the no form to disable it. Syntax router rip no router rip Command Function Mode P age router rip E nables the R IP routing protocol GC 4- 231 timers basi[...]
-
Страница 518
C OMMAND L IN E I NTE RF AC E 4-232 Command Mode Global Configuratio n Default Setting Disabled Command Usage • RIP is us ed to specify how routers exchange ro uting table in formation. • This com mand is also us ed to enter ro uter configu ration mode. Example Related Commands network (4-233) timers basic Use this c ommand to c onfigure th e R[...]
-
Страница 519
IP R OUTING C OMMANDS 4-233 Command Usage •T h e update timer sets the r ate at whic h updat es are se nt. This is the fundamental timer used to con trol all basic RIP processes. •T h e timeout t imer is the ti me after whi ch there have b een no update message s that a route is declared dead. T he route is marked inacce ssible (i. e., the metr[...]
-
Страница 520
C OMMAND L IN E I NTE RF AC E 4-234 Default Setting No netw orks are specified . Command Usage • RIP only se nds upda tes to int erfa ces spe cifie d by this c ommand . • Subnet addresses a re interpr eted as cl ass A, B or C, based on the first field in the specified address. In other words, if a subnet add ress nnn.xxx.xxx .xxx is ente red, t[...]
-
Страница 521
IP R OUTING C OMMANDS 4-235 Command Usage This c ommand can be used to c onfigure a static n eighbor wit h which this router wil l ex ch ange in for matio n, rather than relyin g on broadcast messa g es generated b y the RIP p rotocol. Example vers i on Use this command to s p ecify a RIP version used global l y b y the router . Use the no for m to[...]
-
Страница 522
C OMMAND L IN E I NTE RF AC E 4-236 Example This example s ets the global v ersion for RIP to s end and recei ve vers ion 2 packet s . Related Commands ip rip recei ve v ersion (4-236) ip rip send version (4-237) ip rip receive version Use this command to specify a R IP v ersion to rec eive on an interface . Use the no for m to restor e the default[...]
-
Страница 523
IP R OUTING C OMMANDS 4-237 • Y ou can s p ecify t he receiv e v ersion base d on these op tions: - Use “no ne” if you do not want t o add any dyn amic entries to the routing t able for an inter face. (For examp le, you may only wan t to allow stat i c routes for a specific interface.) - Use “1 ” or “ 2” if all route rs in the loc al [...]
-
Страница 524
C OMMAND L IN E I NTE RF AC E 4-238 Default Setting The de fault dep ends on th e setting sp ecified wit h the ve r s i o n command: Global RIPv1 - R outes br oadcast to ot her routers wit h RIPv2 Global RIPv2 - RIPv2 packets Command Usage • Use this command to o verride the global sett i ng specif i ed by t he RIP ver si o n command. • Y ou ca[...]
-
Страница 525
IP R OUTING C OMMANDS 4-239 ip split-horizon Use this command t o enable split-horiz on or poison -reverse (a var iat ion) on an in terface. Us e the no fo r m to d isabl e split-h orizon . Syntax ip split-h orizon [ poison-rever se ] no ip split-horiz o n poison-reverse - Enables poiso n-reverse on the cu r rent inter face. Command Mode Interf ace[...]
-
Страница 526
C OMMAND L IN E I NTE RF AC E 4-240 ip rip authenticat ion key Use this co mmand to enab le authenticatio n for RIPv2 pack ets and to specify t he key that must be used on an interface . Use the no for m to prev ent au thentica tion. Syntax ip rip authentication key key -s tr i ng no ip rip authentication key -s t r i n g - A pa ssword used for au [...]
-
Страница 527
IP R OUTING C OMMANDS 4-241 ip rip authenticat ion mode Use this comma nd to sp ecify th e type of authentic ation tha t can be u sed on a n interfa ce. N ote that the current fi r mw are v ersion o nly supp or ts a simple pass word. Use th e no for m to res tore the default value . Syntax ip rip authentication mode { text } no ip rip authenticatio[...]
-
Страница 528
C OMMAND L IN E I NTE RF AC E 4-242 show rip globals Use th i s comm and to disp lay global configuratio n setting s for RIP . Command Mode Pri vileged Exec Example show ip rip Use this command to d i spla y infor mation ab out interfaces configured for RIP . Syntax show ip rip { co nfiguration | status | pe er } • configuration - Shows RIP confi[...]
-
Страница 529
IP R OUTING C OMMANDS 4-243 Command Mode Pri vileged Exec Example Console#show ip rip configuration Interface SendMode ReceiveMode Poison Authentication --------------- --------------- ------------- -------------- ------------------ 10.1.0.253 rip1Compatible RIPv1Orv2 SplitHorizon noAuthentication 10.1.1.253 rip1Compatible RIPv1Orv2 SplitHorizon no[...]
-
Страница 530
C OMMAND L IN E I NTE RF AC E 4-244 Open Shortest Path Fir st (OSPF) Version Whethe r RIPv1 or RIPv2 pa ckets were rece ived from this peer. RcvBadPackets Number of bad RIP pa ckets received from this peer. RcvBadRoutes Number of bad rou tes received from this pe er. Command Function Mode Pa ge General Configuration router ospf E nables or dis able[...]
-
Страница 531
IP R OUTING C OMMANDS 4-245 Interface Configuration ip ospf authentication Specifies the authentication type for an inte rface IC 4-263 ip ospf authen tication-key Assig ns a simple pass word to be used by neighborin g routers IC 4-264 ip ospf message -diges t-key Enabl es MD5 authentication and sets th e key for an interface IC 4-265 ip ospf cost [...]
-
Страница 532
C OMMAND L IN E I NTE RF AC E 4-246 router ospf Use this co mmand to en able Ope n Shor test Path First (OSP F) routin g for all I P inter faces on the router . Use the no for m to disable it. Syntax router ospf no router ospf Command Mode Global Configuratio n Default Setting Disabled Command Usage • OSPF is used to specify ho w routers exchan g[...]
-
Страница 533
IP R OUTING C OMMANDS 4-247 router-id Use this command t o assign a un ique router ID for this d evice within the autonomo us syst em. U se the no for m to use t h e def ault route r ident ification metho d (i.e ., the lo west int erface addres s). Syntax router-id ip-address no router-id ip-address - R outer ID f or matted as an I P address . Comm[...]
-
Страница 534
C OMMAND L IN E I NTE RF AC E 4-248 compatible rfc1583 Use this command to calculate summary route costs using RFC 1583 (OSPFv1). Use t he no for m to calculate costs using RFC 2328 (OSPFv2). Syntax compatible rfc1583 no compatible rfc1583 Command Mode R outer Configuration Default Setting RFC 1583 compatible Command Usage All routers in an OSPF ro[...]
-
Страница 535
IP R OUTING C OMMANDS 4-249 Command Mode R outer Configuration Default Setting Disabled Command Usage • The me tric for the default e xternal r oute is used to calcula te the path cost f or traffic pas s ed from other routers w ithin the A S out through the A SBR. • Wh en y ou u se thi s co mma nd t o re dist rib ute rou tes i nto a rou tin g d[...]
-
Страница 536
C OMMAND L IN E I NTE RF AC E 4-250 timers spf Use th i s comm and to conf igure the hol d time betwee n making tw o consec utive shortest path fi rst (SPF) calcu lations . Use the no fo r m to restore the defa ult value. Syntax timer s spf sp f- ho l dt im e no timer s spf sp f-holdtime - Minimum time between two consecutive SPF calculations . ( R[...]
-
Страница 537
IP R OUTING C OMMANDS 4-251 area range Use this command to sum marize the rout es advertised b y an Area Borde r Router (ABR). Use the no fo r m to dis ab le thi s fu nct i on. Syntax area area-id ra nge ip-address netmask [ adver tis e | not-advertise ] no area ar ea-id range ip-address netmask [ advertise | not-adver tise ] • area-id - Ide nti [...]
-
Страница 538
C OMMAND L IN E I NTE RF AC E 4-252 area default-cost Use this command to spe cify a cost fo r the default sum mar y route sent into a s tub or not-s o-stubby ar ea (NSSA) from a n Area Border R outer (ABR). Us e the no for m to remove the ass igned de fault co st. Syntax area ar ea-id default-cost cost no area ar ea-id default-cost • area-id - I[...]
-
Страница 539
IP R OUTING C OMMANDS 4-253 summary-address Use this command to agg regate routes learned fr om other prot ocols . Use the no for m to remove a summ ar y address . Syntax summar y-address summar y-address netmask no summar y-addr ess summar y-addr ess net mask • summar y-addr ess - Summary address co vering a ra nge of addresses . • netm as k -[...]
-
Страница 540
C OMMAND L IN E I NTE RF AC E 4-254 redistribute Use th is command to import external ro uting info r mation from othe r routing do mains (i.e., pr otoco ls) into the auton omous syst em. U se the no for m to disable this feat ure. Syntax redistribut e [ rip | static ] [ metric metric -value ] [ metric-ty pe type-value ] no redistribute [ rip | sta[...]
-
Страница 541
IP R OUTING C OMMANDS 4-255 • Metric t ype specifies th e way to adverti se routes to de stinations outside the AS via E xternal LSAs. Sp ecify Type 1 to add th e interna l cost metric to t he external route met ric. In other wo rds, the cost of th e route fr om any router wi thin the AS is equal to the co st associated with reachi ng the adverti[...]
-
Страница 542
C OMMAND L IN E I NTE RF AC E 4-256 Command Usage • An area ID un iquely defines an OSPF bro adcast area. The area ID 0.0.0. 0 ind icates the OSPF bac kbone for an a utonom ous syst em. Ea ch route r mus t be co nnect ed to the ba ckbo ne via a direc t conn ect ion or a virtual link. • Set the a rea ID to th e sa me valu e for a ll rout ers on [...]
-
Страница 543
IP R OUTING C OMMANDS 4-257 area stub Use this co mmand to defi ne a stub area. T o remo ve a stub , use the no for m wi thout the optio nal keyword. T o remove the summar y attrib ute, use the no form with the summar y k eywor d. Syntax area area-id stub [ summar y ] no area ar ea-id stub [ summa r y ] • area-id - Identifies the stub area . (The[...]
-
Страница 544
C OMMAND L IN E I NTE RF AC E 4-258 Related Commands area default-co s t (4-252) area nssa Use this c ommand to de fine a not-s o-stubby a rea (N SSA). T o remove an NSSA, use t he no for m without any optional keyw ords . T o remo ve an optiona l attrib ute, use the no for m wi thout th e relevant keyword. Syntax area area-id nssa [ no-redistribut[...]
-
Страница 545
IP R OUTING C OMMANDS 4-259 Command Usage • All rout ers in a NSSA mu st be configure d with the same area ID. • An NSSA is similar t o a stub, b ecause when the router is an AB R, it can send a de fault rou te for oth er are as in the AS into the NS SA using the default- infor mati on-originate keyw ord. How ever , an NSSA is differen t from a[...]
-
Страница 546
C OMMAND L IN E I NTE RF AC E 4-260 area virtual-link Use this command to define a virtual link. T o rem ov e a vir tual link, use the no form with no op tional k eywords . T o restore th e default va lue for an attribut e, use the no for m wi th the requi red keyword. Syntax area area-id vir tual-link rou t er -i d [ authentication [ message-diges[...]
-
Страница 547
IP R OUTING C OMMANDS 4-261 to an autonomous system. (Rang e: 1-65535 seconds; Default: 10 second s) • retransmit-inter v al seconds - Specifies the i nter val at wh ich the ABR retransmits link-state advertisements (LSA) ov e r the virt ual link. The retran smit inter val should be set t o a cons er vative v a lue that provides a n adeq uate f l[...]
-
Страница 548
C OMMAND L IN E I NTE RF AC E 4-262 Default Setting area-id : Non e ro ute r- id : No ne hello-inter val : 10 seconds retransmit-inter v al : 5 sec onds transmit-delay : 1 se cond dead-inter val : 40 seconds authentication-key : None message-digest-key : No ne Command Usage • All are as must be co nnected to a backbone area (0. 0.0.0) to main tai[...]
-
Страница 549
IP R OUTING C OMMANDS 4-263 ip ospf authentication Use this co mmand to specify the authen tication ty pe used for an interf ace. Enter this comma nd withou t any opti onal paramet ers to speci fy plain t ext (or simple password) auth entica tion. Use the no for m to restore t h e default of n o authen tication . Syntax ip ospf authentication [ mes[...]
-
Страница 550
C OMMAND L IN E I NTE RF AC E 4-264 ip ospf authentication- key Use this command to assign a simple passw ord to be use d by n e ighboring routers . Use the no for m to remov e the passw o rd. Syntax ip ospf authentication-key key no ip ospf authentication-key key - Sets a p lain text passw ord. (Ran g e: 1-8 ch aracters) Command Mode Interf ace Co[...]
-
Страница 551
IP R OUTING C OMMANDS 4-265 ip ospf message-diges t-key Use this command to enable mes s age-digest (M D5) authen tication on the specified int erface and to assig n a key-id an d key to be used by neighboring routers . Use the no for m to re move an existing key . Syntax ip ospf message-digest-key key - id md5 key no ip ospf message-digest-key ke [...]
-
Страница 552
C OMMAND L IN E I NTE RF AC E 4-266 Related Commands ip ospf authentication (4-263) ip ospf cost Use th i s comm and to expl icitly set th e cost of sen ding a pac ket on an interface. Use the no form to restore the default value . Syntax ip ospf cos t cost no ip ospf cost cost - Link metric for this inte rface . Use higher values to indicate slow [...]
-
Страница 553
IP R OUTING C OMMANDS 4-267 ip ospf dead-interval Use this command to set the int er va l at which hello pac kets are not seen before n eighbors d eclare the rou t er do wn. Use the no f or m to restore the defau lt value. Syntax ip ospf dead-inter val second s no ip ospf dead-inter val seconds - T he maximum time that neighbor routers can wait for[...]
-
Страница 554
C OMMAND L IN E I NTE RF AC E 4-268 ip ospf hello-interval Use this command to s pecify the inter val between sendin g hello p ackets on an interface . Use the no for m to restore the defau l t value . Syntax ip ospf hello-inter val seconds no ip ospf hello-inter v al seconds - In ter val at which he llo packets are sent fr om an interfa ce. This i[...]
-
Страница 555
IP R OUTING C OMMANDS 4-269 Command Mode Interf ace Configur ation (VLA N) Default Setting 1 Command Usage • Set the priority to z ero to prevent a router from bei ng elected a s a DR or BDR. I f set to any value other than zero , the router w ith the high est priority will become the DR and the route r with the next highest prio rity b ecom es t[...]
-
Страница 556
C OMMAND L IN E I NTE RF AC E 4-270 Command Usage A router will resen d an LSA to a neighb or if it receives no ackno w ledgment. T he retransm it inter val should be set to a conse r vative value that p rovides an adeq uate flow o f ro uting information, but does n o t produ ce unnecessa r y protoco l traffic . Note that this value should be larg [...]
-
Страница 557
IP R OUTING C OMMANDS 4-271 show ip ospf Use thi s command to show bas ic infor matio n about th e routing config urati on. Command Mode Pri vileged Exec Example Console#show ip ospf Routing Process with ID 10.1.1.253 Supports only single TOS(TOS0) route It is an area border and autonomous syste m boundary router Redistributing External Routes from[...]
-
Страница 558
C OMMAND L IN E I NTE RF AC E 4-272 show ip ospf bord er-routers Use this command to sh ow entri es in the routi ng table that lead to an Ar ea Border Router (A BR) or Autono mous Syst em Boundar y Router (ASBR) . Command Mode Pri vileged Exec Example Console #s ho w ip os pf bord er -r out er s Desti nati on N ext H op Cos t T ype RteT ype Ar ea S[...]
-
Страница 559
IP R OUTING C OMMANDS 4-273 show ip ospf database Use this command to s h ow i nformation abo ut different OS PF Link State Advertisement s (LSAs) stored in t his router’ s database. Syntax show ip os pf [ are a-i d ] database [ adv-router [ ip-address ]] show ip os pf [ are a-i d ] database [ asbr -summar y ] [ link-state-id ] show ip os pf [ ar[...]
-
Страница 560
C OMMAND L IN E I NTE RF AC E 4-274 Als o , no te th at w hen an T yp e 5 ASB R E xter nal LSA is des crib ing a default route , its link-state-id is set to the default dest inati on (0.0.0.0). • self-originate - Shows LSAs origin ated by this r outer. • database- summ ar y - Sh ows a co unt for each LSA type for ea ch area st ored in the d ata[...]
-
Страница 561
IP R OUTING C OMMANDS 4-275 Th e followi ng shows output when using the asbr-summary keyw ord. Consol e#sh ow i p os pf d atabas e as br-s umma ry OSPF Ro uter with id (10.1.1. 253) Displ aying Summ ary ASB Link State s(Area 0. 0.0.0) LS age : 43 3 Optio ns: (No TOS- capabili ty) LS Type : Summary Li nks (AS Boun dary Route r) Link St ate ID: 192. [...]
-
Страница 562
C OMMAND L IN E I NTE RF AC E 4-276 Th e followi ng shows output when using the database-s um mar y keyword . Th e followi ng shows output when using the exter nal keyw ord. Console #sho w ip ospf dat abase d atab ase-s umma ry Area ID (10 .1.0 .0) Rout er Net work Sum -Net S um-A SBR Exte rnal- AS Ex tern al-Nssa 2 1 1 0 0 0 Total LSA Counts : 4 C[...]
-
Страница 563
IP R OUTING C OMMANDS 4-277 Field Description OSPF Router id Router ID LS age Age of LSA (in seco nds) Options Optiona l capabilities as sociated with the LSA LS Type A S External Links - LSA desc ribes routes t o destina tions outside the AS (including default external routes for the AS) Link State ID IP netw ork number (External Network Number) A[...]
-
Страница 564
C OMMAND L IN E I NTE RF AC E 4-278 Th e followi ng shows output when using the network keyw ord. Consol e#sh ow i p os pf d atabas e ne twor k OSPF Ro uter with id (10.1.1. 253) Disp layi ng N et Lin k St ates (Are a 10 .1.0.0) Link Sta te Dat a Ne tw or k (T yp e 2) ------ ---- ---- ---- ---- ------ --- LS age : 43 3 Option s: S uppo rt E xter na[...]
-
Страница 565
IP R OUTING C OMMANDS 4-279 Th e followi ng shows output when using the router keyw ord. Consol e#sh ow i p os pf d atabas e ro uter OSPF Ro uter with id (10.1.1. 253) Displ aying Rout er Link Stat es(Area 10.1 .0.0) Link St ate Data Rou ter (Type 1) ------ ---- ---- ---- ---- ------ --- LS age : 23 3 Option s: S uppo rt E xter nal ro utin g ca pab[...]
-
Страница 566
C OMMAND L IN E I NTE RF AC E 4-280 Th e followi ng shows output when using the summar y keyw ord. Lin k ID Lin k type and co rresp onding Rout er ID or net work ad dress Link Data • Router ID for transit network • Network's IP address mask for stu b network • Neighbor Router ID for virtual link Link Type Link-state type, inc luding tra [...]
-
Страница 567
IP R OUTING C OMMANDS 4-281 show ip ospf interface Use this co mmand to disp l ay s ummar y infor mation fo r OSPF interfaces . Syntax show ip os pf inter face [ vla n vlan-id ] vlan-id - VLAN ID (Range : 1-4094) Command Mode Pri vileged Exec Example LS Sequence Number Sequence number of LSA (used to detect older du plicate LSAs) LS Checksum Checks[...]
-
Страница 568
C OMMAND L IN E I NTE RF AC E 4-282 show ip osp f neighbor Use th is command to displa y information abou t neighbor ing routers on each interface with in an OSPF area. Syntax show ip ospf neighbor Command Mode Pri vileged Exec Example Cost Interface tr a nsmit cost Transmit Dela y I nterface transm it delay (i n seconds) State • Disabled – OSP[...]
-
Страница 569
IP R OUTING C OMMANDS 4-283 show ip ospf summary-address Use this command t o display all summar y address infor mation. Syntax show ip ospf s um mar y-address Command Mode Pri vileged Exec Example This e xample sh ows a summar y addres s and asso ciate d network mask. Field Description ID Neighbor’s router ID Pri N eighbor’s router pr iority S[...]
-
Страница 570
C OMMAND L IN E I NTE RF AC E 4-284 Related Commands summar y-address (4-253) show ip ospf virtual-links Use th i s comma nd to displ ay detaile d inform ation about vir tual links. Syntax show ip ospf virtual-links Command Mode Pri vileged Exec Example Related Commands area virtual-link (4-260) Console#show ip ospf virtual-links Virtual Link to ro[...]
-
Страница 571
M ULTICAST R OUTING C OMMANDS 4-285 Multic ast Ro uting Comman ds This router u ses IGMP snoo ping and query to de ter mine the ports connecte d to downstream m ulticast hosts , and to propagate this infor mation back up thr ough th e multicast tree to ensure tha t requ ested ser vices ar e forwarde d through eac h inter mediate n ode betwe en the [...]
-
Страница 572
C OMMAND L IN E I NTE RF AC E 4-286 ip igmp snooping vlan mrouter Use this command to st atically config ure a multicast router port . Use the no form t o remo ve the configurat ion. Syntax ip igm p snooping vlan vla n-i d mrouter interf ace no ip igmp snooping vlan vlan-id mrouter interface • vlan -i d - VLAN ID (Range: 1-4094) • interface •[...]
-
Страница 573
M ULTICAST R OUTING C OMMANDS 4-287 show ip igmp snooping mr outer Use this command to d i spla y infor mat ion on statically config ured and dynamically lear ned multicast rout er port s . Syntax show ip igmp snoo ping mrouter [ vlan vlan-id ] vlan-id - VLAN ID (Range : 1-4094) Default Setting Displays multicast router por ts for all configured V [...]
-
Страница 574
C OMMAND L IN E I NTE RF AC E 4-288 ip multicast-routing Use this command to enable IP multicast routin g . Use the no form to disable IP multicast routing. Syntax ip multi cast-r outing no ip multicast-routing Default Setting Disabled Command Mode Global Configuratio n Command Usage This c ommand is used to enable multicast routing globally for th[...]
-
Страница 575
M ULTICAST R OUTING C OMMANDS 4-289 Command Mode Pri vileged Exec Command Usage This c ommand displays infor matio n for mu l ticast routing . If no option al parameter s are sel ected, detai led infor mation for each en tr y in the multicast address t able is displayed. If you select a multicast g roup and source pair, detailed info r mation is di[...]
-
Страница 576
C OMMAND L IN E I NTE RF AC E 4-290 This example lists all entries in the multicast table in sum mar y for m: DVMRP Multicast Rout ing Commands Console#show ip mroute summary IP Multicast Forwarding is enabled. IP Multicast Routing Table (Summary) Flags: P - Prune UP Group Source Source Mask Interface Owner Flags --------------- --------------- ---[...]
-
Страница 577
M ULTICAST R OUTING C OMMANDS 4-291 router dvmrp Use this co mmand to en able Distanc e-V ecto r Multicas t Routing (D VM RP) global ly for the router and to enter router configurat ion mode . Use the no for m to disa ble D V MRP multicast routing . Syntax router dvmr p no router dvmr p Command Mode Global Configuratio n Command Usage This com mand[...]
-
Страница 578
C OMMAND L IN E I NTE RF AC E 4-292 Related Commands ip dvmrp (4-296) show router dvmrp (4-298) probe-interval Use this comm and to s et the in ter val for sending neig hbor pr obe messa ge s to the multicast g roup addre ss for all DVMRP routers . Use the no for m to restore the defa ult value. Syntax probe-inter val secon ds second s - Inter val [...]
-
Страница 579
M ULTICAST R OUTING C OMMANDS 4-293 nbr-timeou t Use this co mmand to set the inter val to wait for messa ges from a D V MRP neighb or before dec laring it dead. Use the no for m to restor e the defa ult val u e. Syntax nbr-timeout seconds second s - Inter val before declari n g a neighbor dead. (Range: 1-65535) Default Setting 35 seconds Command M[...]
-
Страница 580
C OMMAND L IN E I NTE RF AC E 4-294 Command Mode R outer Configuration Example flash-update-inter val Use th is command to speci fy how o ften to se nd trigg er update s, w hich ref le ct chan ge s in th e net work topol og y . Use th e no for m to restor e the defau lt value. Syntax f lash-update-inter val secon ds second s - Inter val between sen[...]
-
Страница 581
M ULTICAST R OUTING C OMMANDS 4-295 Default Setting 7200 seconds Command Mode R outer Configuration Command Usage This command s ets the prune state life time. Aft er the pr une sta te expires , the router will resum e floo ding multicast traffic from th e multicast source device. Example default-gateway Use th is command to speci fy the def ault D[...]
-
Страница 582
C OMMAND L IN E I NTE RF AC E 4-296 to th e router. When t he router recei ves these mess ages, it reco rds all the do wnstream route rs for the default route. • When mul ticast tr affic with an u nknown source address (i .e., not fo und in the route table) is received on the default ups tream route i nterface, the route r forward s this tra ffic[...]
-
Страница 583
M ULTICAST R OUTING C OMMANDS 4-297 Example ip dvmrp metric Use this command to con figure the metric used in selecting the reverse path t o ne tworks co nne cted d ire ctly to an inte rfac e on this route r. Use the no for m t o restor e the d efault value. Syntax ip dvmr p metric interface-metric no ip dvmr p metric interface-metric - Metric u se[...]
-
Страница 584
C OMMAND L IN E I NTE RF AC E 4-298 clear ip dvmrp route Use this command to cle ar all dynami c routes learned b y DVM RP . Command Mode Pri vileged Exec Example As sh own belo w , this comman d clears ev er ything from th e route tabl e ex cept for the defaul t route. show router dvmrp Use this comman d to display the global DVMRP configuration s[...]
-
Страница 585
M ULTICAST R OUTING C OMMANDS 4-299 Example The defa ult setting s are sho wn in the f ollowin g example: show ip dvmrp route Use this command to d i spla y all en tries in the D V MRP routing tabl e. Command Mode Nor m al Exec , Privileged Exec Example DMVRP r o utes ar e shown in the followi ng example: Console#show route dvmrp Admin Status : ena[...]
-
Страница 586
C OMMAND L IN E I NTE RF AC E 4-300 show ip dvmrp neighbor Use this command to d i spla y all of the D VMRP neighbo r routers . Command Mode Nor m al Exec , Privileged Exec Example UpTime The time elapsed since this entry was created. Expire The time remaining before this entry will be aged out. Console#show ip dvmrp neighbor Address Interface Upti[...]
-
Страница 587
M ULTICAST R OUTING C OMMANDS 4-301 show i p dvmrp interf ace Use this command to d i spla y the D VMRP configurat ion for inte rfaces which have enab led DVMRP . Command Mode Nor m al Exec , Privileged Exec Example PIM-DM Multicast Routing Comman ds Console#show ip dvmrp interface Vlan 1 is up DVMRP is enabled Metric is 1 Console# Command Functi o[...]
-
Страница 588
C OMMAND L IN E I NTE RF AC E 4-302 router pim Use thi s command t o enable Pr otocol-I nde pende nt Multic ast - Dens e Mode (PIM -DM) globally f or the router a nd to enter r outer configurat ion mode. Use the no for m to disa ble PIM-DM multicast routing . Syntax router pim no router pim Default Setting Disabled Command Mode Global Configuratio [...]
-
Страница 589
M ULTICAST R OUTING C OMMANDS 4-303 ip pim dense-mode Use this command to en able PIM-DM on t h e speci fied interface . Use the no form t o disable PI M-DM on this interface . Syntax ip pim dense-mode no pim dense-mode Default Setting Disabled Command Mode Interf ace Configur ation (VLA N) Command Usage • To fully e nable PIM- DM, you nee d to e[...]
-
Страница 590
C OMMAND L IN E I NTE RF AC E 4-304 Example ip pim hello-interval Use th i s comma nd to confi g ure the frequency at whic h PIM hel lo messages ar e transmitte d. Use the no form to restore the default v alue. Syntax ip pim hello-inter val seconds no pim hello-inter val second s - Inter val between sending PIM he llo messag es . (Range: 1-65535) D[...]
-
Страница 591
M ULTICAST R OUTING C OMMANDS 4-305 ip pim hello-holdtime Use this command to con figure the inter val to wait for hello messag es from a n eighbori n g PIM r outer before declaring it dead. Use th e no for m to restore th e default v alue. Syntax ip pim hello-holdtime second s no ip pim hello-inter val second s - The hold time for PIM hello messag[...]
-
Страница 592
C OMMAND L IN E I NTE RF AC E 4-306 Default Setting 5 second s Command Mode Interf ace Configur ation (VLA N) Command Usage • When a rout er first starts or PIM is enabled on an interface, the hello-int erval is se t to ra ndom valu e betw een 0 an d the trigger-hello-inte rval. This prevents sync hronization of He llo messages on multi-access li[...]
-
Страница 593
M ULTICAST R OUTING C OMMANDS 4-307 Command Usage The multicast in terface that fi rst receiv e s a multicast stream from a particular source forw ards this traffic t o all other PIM interface s on the router . If there are n o request ing g roups on that interface, the leaf node sends a prune message upstream and enters a prune state for this mult[...]
-
Страница 594
C OMMAND L IN E I NTE RF AC E 4-308 Example ip pim max-graft-r etries Use this comm and to configure the maximum number of time s to resend a Graft m essage if it has not b een ackno wledged. Use the no f o r m t o re s t o r e the de fault value. Syntax ip pim max-g raft-retries re tri es no ip pim g raft-retr y-inter val re tri es - Th e maximum [...]
-
Страница 595
M ULTICAST R OUTING C OMMANDS 4-309 show ip pim interface Use this command to d i spla y infor mation ab out interfaces configured for PIM. Syntax show ip pi m interf ace vlan-id vlan-id - VLAN ID (Range : 1-4094) Command Mode Nor m al Exec , Privileged Exec Command Usage This co mmand displa ys the PIM sett ings for the spec ified inte rface as de[...]
-
Страница 596
C OMMAND L IN E I NTE RF AC E 4-310 Command Mode Nor m al Exec , Privileged Exec Example Console#show ip pim neighbor Address VLAN Interface Uptime Expire Mode --------------- ---------------- -------- -------- ------- 10.1.0.254 1 17:38:16 00:01:25 Dense Console# Field Description Add ress IP addr ess of the nex t-hop router . VLAN Interf ace Inte[...]
-
Страница 597
A-1 A PPENDIX A T ROUBLESHOOTING Troubleshooting Chart Symptom Actio n Cannot co nnect using Teln et, W eb br owser, or SNMP software • Be sure you have confi gured the agent with a valid IP address, subnet mask a nd default gateway. • If you are trying to conn ect to the agent via the IP addres s for a tagged VLAN group , your managem ent sta [...]
-
Страница 598
T R OUBLESHOOTING A-2[...]
-
Страница 599
B-1 A PPENDIX B U PGRADING F IRMW ARE VIA THE S ERIAL P ORT Th e switch c onta ins thr ee fi r mwar e comp onents that ca n be up g rad ed; the loader code, di agnostics (o r Boot-R OM) code, and r untime o p eratio n code . The r untime code c an be upgraded via the swi tch’ s RS-232 serial conso le port, via a netw ork connection to a TFTP se r[...]
-
Страница 600
U PGRADING F IRMW ARE VIA THE S ERIAL P ORT B-2 power on or rebo oting th e swit ch. Screen te xt similar to that s hown below displ ays: 5. Press <c> to chan g e the baud r ate of the switc h’ s seri al connectio n. 6. Press <b> to select the option for 115200 baud. 7. Th ere are tw o baud rate settings available , 9600 and 115200. U[...]
-
Страница 601
B-3 12. If u sing Wi ndows Hyper T er min al, click the “Transfer” butt on, and then c lick “Send Fi le.... ” Select the XModem Protoc ol and then use the “Br owse” button to select the req uired fir mware co de file from your PC sy stem . Th e “ Xmode m fil e send ” wind ow displ ays the prog r ess of th e down load proc edur e. No[...]
-
Страница 602
U PGRADING F IRMW ARE VIA THE S ERIAL P ORT B-4 16. T o set the new do wnloaded file as the startup file , use the [S ]et Star tup File menu option. 17. When y ou hav e finished do wnloading co de files , use the [C]h ange Baudrate menu option to ch ang e the baud r ate of the switch ’ s serial connection b ack to 9600 baud. 18. Set your PC’ s [...]
-
Страница 603
Glossary-1 G LOSSA RY Acc ess Co ntro l Li st (AC L) A CLs can limit network traffic and restrict acc ess to cer tain users or devic es by checking each pack e t for cert ain IP or MAC (i.e., La y er 2) infor mation. Address Re soluti on Proto col (ARP) ARP converts between IP addresse s and MAC (i.e., hardware) addresses. ARP is used to locate the[...]
-
Страница 604
G LOSSAR Y Glossary-2 Dynamic Ho st Control Protoc ol (DHCP) Provides a framework for passing c onfiguration in for mation t o hosts on a TCP/I P network. DHCP is based on the Bootstrap Proto col (BOOTP), ad ding the capabilit y of automatic all ocati on of reusable net work addresses and addit ional configurat ion o ptions. Extensible Authenticati[...]
-
Страница 605
G LOSSAR Y Glossary-3 IEEE 802.1Q VLAN T a g ging—De fines Eth erne t frame tags which ca rr y VLAN in for mation. It allows switches to assign ends tations to different vir tual LANs, and defines a standard wa y for VLANs to communicate across switched networks . IEEE 802.1p An IEEE standard for providing qual ity of ser vice (QoS) in Ether net [...]
-
Страница 606
G LOSSAR Y Glossary-4 Internet Group Management Protocol (I GMP) A protocol through which hosts can register wit h their local router for multicast ser vic es . If t here is more than one multicas t router on a given subnetwork, one of the routers is made the “que rier” and assumes resp onsibility for kee ping track of grou p membersh ip . In-B[...]
-
Страница 607
G LOSSAR Y Glossary-5 Management Inf or mation Base (MIB) An acronym fo r Manag ement Info r mation Ba se. It is a set o f database object s that contains inf or mation abo ut a specifi c device. Multicas t Switc hing A process whereby the switch filters incoming multicast frames for ser vices for which no attached host has registered , or forwards[...]
-
Страница 608
G LOSSAR Y Glossary-6 Private VLANs Private VLANs provide port- based se curity and isolation betwee n ports within the assigned V LAN . Data tra ffic on downlink por ts can only be forwarded to, and from, uplink por ts. Protocol-Independent Multicasting (PIM) This multicast routing protocol f loods multicast traffic downstream, and calcula tes the[...]
-
Страница 609
G LOSSAR Y Glossary-7 Simple Networ k Time Proto col (SNTP) SNTP allows a device to set it s inter nal clock based on pe riodic updates from a Network Time Protocol (NTP) ser ver . Update s can be requeste d from a specific NTP ser ver, or can be receiv ed via broadcasts se nt by NTP ser vers . Spanning Tree P rotocol (STP) A technolog y that check[...]
-
Страница 610
G LOSSAR Y Glossary-8 XModem A protocol used to transfer file s between devices. Data is groupe d in 128-byte blocks and er ror-corr ected.[...]
-
Страница 611
Index-1 A acceptab le frame type 3 -115 , 4-167 Access Control List See ACL ACL Extended IP 3-42 , 4-7 5 , 4-76 , 4-79 MAC 3-42 , 4-75 , 4- 84 , 4-84 – 4-88 Standard IP 3-42 , 4-75 , 4- 76 , 4-78 Address Reso lution Protocol Se e ARP addres s table 3-84 , 4-141 aging time 3-87 , 4-145 ARP configuratio n 3-159 , 4-221 descriptio n 3-157 proxy 3-15[...]
-
Страница 612
I NDE X Index-2 F firmware displaying version 3 -14 , 4-52 upgra ding 3-2 2 , 4-53 , B-1 G GARP VLAN Regis tration Proto col See GVRP gateway, defau lt 3 -154 , 4-218 GVRP global setting 3-107 , 4-175 interface configu ration 3-115 , 4-1 77 H hardware version, displ aying 3-14 , 4- 52 I IEEE 802.1D 3-87 , 4-1 48 IEEE 802.1w 3-87 , 4-148 IEEE 802.1x[...]
-
Страница 613
I NDEX Index-3 routing table 3-219 , 4-288 multicast services configuring 3-1 43 , 4-197 displaying 3-142 , 4-200 multicast, static router port 3-140 , 4-28 6 O OSPF 3-186 , 4-244 area borde r router 3-189 , 4-251 AS summary route 3-208 , 4-253 autonomou s system bou ndary router 3-189 , 4-249 backbone 3-192 , 4 -256 default external route 3-190 , [...]
-
Страница 614
I NDE X Index-4 S serial port configuring 4-1 3 XModem down loads B-1 Simple Network M anagement Protocol Se e SNMP SNMP 3-50 community string 3-50 , 4-90 enab ling tr aps 3-51 , 4-94 trap manag er 3-51 , 4-93 software displaying version 3 -14 , 4-52 downloading 3-22 , 4-53 , B-1 Spanning Tre e Protocol See STA STA 3-87 , 4-146 edge port 3-97 , 3-1[...]
-
Страница 615
I NDEX Index-5 W Web interface access requirements 3-1 configurat ion b uttons 3-4 home page 3-3 menu list 3 -5 pan el displa y 3-4 X XMode m downlo ads B-1[...]
-
Страница 616
I NDE X Index-6[...]
-
Страница 617
[...]
-
Страница 618
38 T esla Irvine, CA 92 618 Phone: (9 49) 67 9-8000 FOR TECHNICAL SUPPOR T , CALL: From U.S.A. an d Cana da (2 4 hours a day , 7 da ys a w ee k) (800) SMC-4-YOU; Ph n: (94 9) 679 -8000; Fax: (949 ) 679- 1481 From Europ e Co nt act detail s ca n be found on www .smc -europ e.com o r w ww .smc.c om INTERNET E-mail a d dre sses: techsupp ort@smc. com [...]