Vai alla pagina of
Manuali d’uso simili
-
Switch
Accton Technology ES3005
2 pagine 0.18 mb -
Switch
Accton Technology ETHERHUB-16MI+ 150858-101
9 pagine 5.81 mb -
Switch
Accton Technology 150185-101
10 pagine 1.54 mb -
Switch
Accton Technology ES4324
60 pagine 1.37 mb -
Switch
Accton Technology ES3526XA
512 pagine 5.85 mb -
Switch
Accton Technology 12SE
50 pagine 0.37 mb -
Switch
Accton Technology ES3552XA
512 pagine 5.85 mb -
Switch
Accton Technology EN2218
62 pagine 0.24 mb
Un buon manuale d’uso
Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Accton Technology ES3628C. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Accton Technology ES3628C o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.
Che cosa è il manuale d’uso?
La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Accton Technology ES3628C descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.
Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.
Quindi cosa dovrebbe contenere il manuale perfetto?
Innanzitutto, il manuale d’uso Accton Technology ES3628C dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Accton Technology ES3628C
- nome del fabbricante e anno di fabbricazione Accton Technology ES3628C
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Accton Technology ES3628C
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti
Perché non leggiamo i manuali d’uso?
Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Accton Technology ES3628C non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Accton Technology ES3628C e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Accton Technology in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Accton Technology ES3628C, come nel caso della versione cartacea.
Perché leggere il manuale d’uso?
Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Accton Technology ES3628C, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.
Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Accton Technology ES3628C. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.
Sommario del manuale d’uso
-
Pagina 1
P owered by Accton Manage ment G uide ES3628C 24 10/100 Ports + 4GE Intellig ent Layer 2/3/4 Fast Ethernet Switch www .edge-core.com[...]
-
Pagina 2
[...]
-
Pagina 3
Manage ment Guide Fast Ethernet Switch Layer 3 Stand alone Swi tch with 24 10 0BASE-T X (RJ- 45) Por ts, 2 100 0BASE- T (RJ-45 ) Po rts, a nd 2 SFP Slots[...]
-
Pagina 4
ES362 8C F3.1.0.1 8 E0320 05-R01 1491000 05100 H[...]
-
Pagina 5
v Contents Chapter 1: Introduc tion 1-1 Key Featu res 1-1 Descripti on of Software Features 1-2 Sys tem Defa ult s 1-7 Chapter 2: Initial Configuration 2-1 Connectin g to the Swit ch 2-1 Config uration O ptions 2-1 Requi red Connect ions 2-2 Remo te C onn ect ion s 2-3 Basi c Conf igu rati on 2-3 Conso le Conn ection 2-3 Setting Pa sswords 2-4 Sett[...]
-
Pagina 6
Contents vi Savi ng or Resto ring Con figuration Setting s 3-23 Downloa ding Confi guration Se ttings from a Server 3-24 Console Port Setti ngs 3-25 Telnet Setti ngs 3-27 Confi guring Eve nt Loggin g 3-29 System Log Configurati on 3-29 Remot e Log Confi guration 3-30 Displ aying Lo g Messages 3-32 Sending Simple Ma il Transf er Protocol Alerts 3-32[...]
-
Pagina 7
Contents vii Config uring ACL M asks 3- 83 Specifyi ng the Mask Ty pe 3-83 Config uring an IP A CL Mask 3-84 Config uring a MAC ACL M ask 3-86 Binding a Port to an Access Co ntrol List 3-87 Port Conf iguration 3-88 Displ aying Con nection St atus 3-88 Config uring Inte rface Conne ctions 3-91 Creatin g Trunk G roups 3-93 Staticall y Configuri ng a [...]
-
Pagina 8
Contents viii Mappin g Protocols to VLANs 3-149 Class o f Service C onfigura tion 3-150 Layer 2 Que ue Set ting s 3-15 0 Setting th e Default Pri ority for Interfa ces 3-150 Mappin g CoS Values to Egress Queue s 3-152 Selectin g the Que ue Mode 3-1 54 Setting th e Service Weight for Traffic Classe s 3-154 Layer 3 /4 Priority Settings 3-156 Mappin g[...]
-
Pagina 9
Contents ix IP Routi ng 3-205 Overvi ew 3-205 Initial C onfigura tion 3-205 IP Switching 3-206 Routin g Path Mana gement 3-207 Routin g Protocols 3-207 Basic IP Interface C onfigura tion 3-208 Config uring IP R outing Int erfaces 3-2 09 Address Resolutio n Protocol 3-211 Proxy ARP 3-211 Basi c ARP Conf igur ati on 3-212 Config uring Static AR P Add[...]
-
Pagina 10
Contents x Conf igu ring DVMR P Int erf ace S et tings 3- 268 Displ aying Nei ghbor Informat ion 3-270 Displ aying the Routing Ta ble 3-271 Configuri ng PIM-DM 3-272 Config uring Globa l PIM-DM Sett ings 3-272 Conf igu ring PIM -DM I nte rf ace Se tti ngs 3-27 3 Disp layi ng I nte rfac e In form ati on 3- 276 Displ aying Nei ghbor Informat ion 3-27[...]
-
Pagina 11
Contents xi disabl e 4-21 configu re 4-22 show history 4-22 reload 4- 23 end 4- 23 exit 4- 24 quit 4- 24 System M anageme nt Comm ands 4-25 Devic e Designa tion Comm ands 4-25 prompt 4- 25 hostnam e 4-26 User Acce ss Com mands 4-27 usernam e 4-27 enable p assword 4-28 IP Filter Comm ands 4-29 managem ent 4-29 show man ageme nt 4-30 Web Serve r Comm[...]
-
Pagina 12
Contents xii SMTP Alert Comma nds 4-49 logging send mail hos t 4-50 logging send mail lev el 4-50 logging send mail sou rce-em ail 4-51 logging send mail des tination-e mail 4-51 logging send mail 4-52 show log ging sendm ail 4-52 Time Command s 4-53 sntp c lie nt 4-53 sntp s erv er 4-54 sntp po ll 4-55 show snt p 4-55 clock t ime zone 4- 56 calend[...]
-
Pagina 13
Contents xiii Port Securi ty Commands 4-77 port sec urity 4-78 802.1X Port Authen tication 4-79 dot1x sy stem-au th-control 4-80 dot1x de fault 4-80 dot1x m ax-req 4-80 dot1x po rt-control 4-81 dot1x op eration -mode 4- 81 dot1x re-a uthentica te 4- 82 dot1x re-a uthentica tion 4-82 dot1x tim eout qui et-period 4-83 dot1x tim eout re-au thperiod 4-[...]
-
Pagina 14
Contents xiv snmp-serv er engine-id 4-113 show s nmp e ngi ne-i d 4-11 4 snmp- serve r vi ew 4 -11 5 show snmp vi ew 4-116 snmp-serv er group 4-116 show snmp gro up 4-117 snmp-serv er user 4-118 show snmp us er 4-120 DHCP Commands 4-121 DHCP Client 4-121 ip dhcp client-i dentifier 4-121 ip dhcp restart client 4-122 DHCP Relay 4-123 ip dhcp restart [...]
-
Pagina 15
Contents xv Inte rfac e Co mman ds 4 -14 3 interf ace 4-143 des cri ption 4- 144 speed-d uplex 4-1 44 negot iat io n 4- 145 capabi lities 4-1 46 shutdow n 4-148 switchp ort broad cast pac ket-rate 4-148 clear coun ters 4-149 show int erfaces status 4-150 show int erfaces counters 4-151 show int erfaces switchpo rt 4-152 Mirror Port Commands 4-154 p[...]
-
Pagina 16
Contents xvi max-ho ps 4-179 spanni ng-tree sp anning -disable d 4-179 spanni ng-tree co st 4-180 spanni ng-tree port -priority 4-180 spanni ng-tree edg e-port 4-181 spanni ng-tree port fast 4-182 spanni ng-tree lin k-type 4-183 spanni ng-tree ms t cost 4-183 spanni ng-tree mst p ort-priority 4-184 spanni ng-tree prot ocol-mig ration 4-185 show spa[...]
-
Pagina 17
Contents xvii queue ba ndwidth 4-208 queue co s-map 4-2 09 show q ueue mode 4-210 show q ueue band width 4-210 show q ueue cos -map 4-211 Priority Co mmands (Layer 3 a nd 4) 4-212 map ip p ort (Global Co nfigura tion) 4-212 map ip p ort (Interface Co nfiguratio n) 4-212 map ip p recedenc e (Global Configurati on) 4-213 map ip p recedenc e (Interfac[...]
-
Pagina 18
Contents xviii ip igmp query-int erval 4-238 ip igmp max-resp-in terval 4-238 ip igmp last- memb-que ry-interval 4-239 ip igmp version 4-240 show ip igmp inte rface 4-240 clear ip igmp gro up 4-241 show ip igmp g roups 4-2 41 IP Interface Comm ands 4-243 Basi c IP Configurati on 4-243 ip addre ss 4-243 ip defau lt-gateway 4-245 show ip interfac e 4[...]
-
Pagina 19
Contents xix default-i nformation originate 4-269 timers s pf 4-270 area range 4-270 area defa ult-cost 4-271 summar y-address 4-272 redi stri but e 4- 272 network are a 4-273 area stub 4-274 area nssa 4-275 area vir tual- li nk 4 -276 ip ospf a uthentic ation 4-278 ip ospf a uthentic ation-key 4-279 ip ospf m essage -digest-ke y 4-280 ip ospf c os[...]
-
Pagina 20
Contents xx show ip dvmrp rout e 4-308 show ip dvmrp nei ghbor 4-3 09 show ip dvmrp int erface 4-309 PIM-DM Multic ast Rout ing Comma nds 4-310 router pim 4-310 ip pim dense -mode 4-311 ip pim hello- interva l 4-312 ip pim hello- holdtime 4-312 ip pim trigger-hel lo-inter val 4-313 ip pim join-prune -holdtime 4-313 ip pim graft-retry-in terval 4-3 [...]
-
Pagina 21
xxi Tables Table 1- 1 Key Featu res 1-1 Tab le 1 -2 Sy st em D efa ult s 1-7 Table 3- 1 Web Page C onfigura tion Button s 3-3 Table 3- 2 Switch Main Men u 3-4 Table 3- 3 Logging Lev els 3-29 Table 3- 4 SNMPv3 Security Mod els and L evels 3-38 Table 3-5 Sup ported Notif ication Messa ges 3-49 Table 3-6 HTTPS Sys tem Support 3-58 Table 3- 7 802.1X St[...]
-
Pagina 22
xxii T ables Table 4-1 8 Logging Levels 4-44 Table 4-1 9 s how l ogging fla sh/ram - dis play des cription 4-48 Table 4-2 0 show logging trap - disp lay des cription 4-48 Table 4-2 1 SMTP Alert Comm ands 4-49 Table 4-22 Time Comm ands 4-53 Table 4-2 3 System Status C ommands 4-57 Table 4-24 Frame Size Command s 4-63 Table 4-2 5 Flash/File Co mmands[...]
-
Pagina 23
xxiii T ables Table 4- 63 Private VLAN C ommands 4-197 Table 4- 64 Protocol-based V LAN Comm ands 4-198 Table 4- 65 GVRP and Bridge Ext ensio n Commands 4-20 2 Table 4- 66 Priority Com mands 4 -206 Table 4- 67 Priority Comm ands ( Layer 2) 4-206 Table 4- 68 Default CoS Priori ty Level s 4-209 Table 4- 69 Priority Comm ands ( Layer 3 an d 4) 4 -212 [...]
-
Pagina 24
xxiv T ables Table 4-1 08 show i p dvmrp n eighbor - di splay d escriptio n 4-309 Table 4-1 09 PIM-DM Mul ticast Rou ting Com mands 4-310 Table 4-1 10 show i p pim nei ghbor - dis play des cription 4-316 Table 4-1 11 Router Red undancy Commands 4-316 Table 4-1 12 VRRP Comma nds 4-317 Table 4-1 13 show vrrp - display descr iption 4 -322 Table 4-1 14[...]
-
Pagina 25
xxv Figures Figur e 3- 1 Home P ag e 3-2 Figure 3-2 Front Panel Indi cators 3 -3 Figure 3 -3 System Informa tion 3-12 Figure 3 -4 Switch Inform ation 3-14 Figure 3 -5 Displaying Bridge Ext ension Con figuration 3-15 Figure 3 -6 Configuring S upport for Jum bo Frames 3-16 Figure 3 -7 IP Interface Co nfiguration - M anual 3-18 Figure 3 -8 Default Gat[...]
-
Pagina 26
xxvi Figures Figure 3 -42 802.1X Port Stat istics 3-73 Figure 3-43 IP Filter 3-75 Figure 3 -44 Selecting ACL Ty pe 3-77 Figure 3 -45 ACL Configurati on - Standard IP 3-78 Figure 3 -46 ACL Configur ation - Ext ended IP 3-80 Figure 3 -47 ACL Configur ation - MAC 3-8 2 Figure 3 -48 Selecting ACL Mask Type s 3-83 Figure 3 -49 ACL Mask Con figuration - [...]
-
Pagina 27
xxvii Figures Figure 3- 87 Q ueue Mode 3- 154 Figure 3-88 Queue Sch edulin g 3- 155 Figure 3 -89 IP Precedence/DS CP Priority S tatus 3-156 Figure 3-90 IP Precedenc e Priority 3 -157 Figure 3-91 IP DSCP Priority 3-159 Figure 3-92 IP Port Priority Statu s 3-16 0 Figure 3-93 IP Port Priority 3-160 Figure 3 -94 Configuring C lass M aps 3-164 Figure 3 [...]
-
Pagina 28
xxviii Figures Figure 3-132 RIP Inte rface Settings 3-231 Figure 3-133 RIP Stati stics 3-233 Figure 3-134 O SPF General Config uration 3-238 Figure 3-135 O SPF Area Configuratio n 3-241 Figure 3-136 O SPF Range Configurat ion 3-243 Figure 3-137 O SPF Interface Config uration 3-246 Figure 3 -138 OSPF Inte rface Config uration - De tailed 3-247 Figur[...]
-
Pagina 29
1-1 Chapter 1: Introduction This switc h provid es a broad r ange of fe atures for Layer 2 switching and Laye r 3 routing. It in cludes a manag ement agent tha t allows you to configu re the fea tures listed in this manual . The defaul t configur ation can be used for most of the features provided by this swi tch. Howe ver , there ar e many opt ion[...]
-
Pagina 30
Introduction 1-2 1 Description of Software F eatures The sw itch pr ovides a w ide range o f a dvanced perf orman ce enha ncin g feat ures. Flow cont rol elimina tes the l oss of packets du e to bottlene cks cau sed by po rt satura tion. Broadc ast stor m suppr ession pr even ts broadcas t traffic storms f rom engulfin g the netw ork. Untagg ed (po[...]
-
Pagina 31
Description of Softw are Feat ures 1-3 1 Access C ontrol Lists – ACLs prov ide packet filtering for IP frames (based on address , protocol, TCP/UDP port numb er or TCP con trol co de) or any fra mes (based on MAC add ress or Et hernet type). ACLs ca n by used to improv e perform ance by blocking un neces sary network t raffic or to implem ent sec[...]
-
Pagina 32
Introduction 1-4 1 IEEE 802.1D Bridge – Th e switch s upports IEE E 802.1D tr ansparent br idging . The address table facilitates data s witching by learni ng addres ses, and t hen filte ring or forwar ding traffic based on this info rmatio n. The ad dress table su pports up to 16K address es. Store-and-Forward Swit ching – The sw itch copies e[...]
-
Pagina 33
Description of Softw are Feat ures 1-5 1 • Use pri vate VLA Ns to restrict traffic to pa ss only betw een da ta ports and t he uplink ports, ther eby iso lating ad jace nt ports wi thin the same VL AN, and allowi ng you to limit the tota l numbe r of VLANs th at need to be co nfigur ed. • Use prot ocol V LANs to re strict tr affic to s pecified[...]
-
Pagina 34
Introduction 1-6 1 remote net work, the switch checks to see i f it has t he best rout e. If it doe s, it sends it s own MAC a ddre ss t o the host . Th e host the n send s tr af fic f or the r emot e destinat ion via the switch, which uses its own rout ing table to reac h the dest ination on th e othe r netw ork. Quality of Service – Dif ferenti[...]
-
Pagina 35
System Defaults 1-7 1 System Defaults The switc h’s system de faults are provi ded in th e configur ation file “Fact ory_D efault_ Config. cfg.” To re set the s witch def aults, thi s file shou ld be set as the start up configur ation file (page 3-2 4). The f ollo wing t abl e list s so me of the ba sic sy stem de faul ts . T ab le 1-2 Syst e[...]
-
Pagina 36
Introduction 1-8 1 SNMP SNMP Ag ent Enabl ed Communi ty Strin gs “pu blic” (r ead on ly) “privat e” (read/w rite) Traps Au thentic ation tr aps: e nabled Link-up-d own ev ents: e nabled SNMP V3 View: defaul tview Group: pu blic (re ad onl y); priv ate (rea d/write ) Port Conf iguratio n Ad min St atus Enabled Auto-neg otiation En abled Flow[...]
-
Pagina 37
System Defaults 1-9 1 IP Setting s Managem ent. V LAN Any VLAN co nfigure d with an IP addres s IP Address 0.0.0.0 Subnet M ask 255.0.0.0 Default G ateway 0.0.0.0 DHCP Cli ent: En abled Relay: Dis abled Serv er: Di sa bled DNS Server: D isabled BOOTP Dis abled ARP Enabl ed Cach e T imeou t: 20 minut es Proxy: Dis abled Unicast R outing RIP Disabl e[...]
-
Pagina 38
Introduction 1-10 1[...]
-
Pagina 39
2-1 Chapter 2: Initia l Configuration Connecting to the Switch Configurati on Options The switc h includes a built-in ne twork managem ent age nt. The ag ent offers a var iety of m anageme nt opt ions, includi ng S NMP , R MON a nd a web- based interfac e. A PC may also be connec ted dire ctly to the sw itch for configu ration and monitor ing via a[...]
-
Pagina 40
Initial Confi guration 2-2 2 • Configu re Spa nning Tree param eter s • Configure Class of Service (CoS) p riorit y queui ng • Configu re up to 12 sta tic or LAC P trunks • Enable po rt mirror ing • Set br oadca st st orm c ontrol o n an y po rt • Displa y system in forma tion and st atistics Required Connections The switch pr ovides an[...]
-
Pagina 41
Basic Configur ation 2-3 2 Remote Connections Prior to acces sing t he s witch’s on board a gent via a netw ork c onnec tion, y ou mus t fi rst c onf igure it w ith a val id I P add ress , su bnet mask, and defa ult g atewa y us ing a console connec tion, DH CP or BOO TP proto col. The IP address f or this switch is obtained via DHCP by default. [...]
-
Pagina 42
Initial Confi guration 2-4 2 Setting Passwords Note: If this is yo ur first time to log into the CLI program, y ou should define new passwords for both default user names us ing the “u sername” comm and, record them and put them in a saf e place. Passwo rds can con sist of up t o 8 alphanu meri c charact ers and ar e case s ensitive . T o pre v[...]
-
Pagina 43
Basic Configur ation 2-5 2 Before y ou can assi gn an IP addr ess to th e switch , you mus t obtain the f ollowing inform ation from y our netwo rk adm inistrat or: • I P addr ess fo r the sw itch • Default ga teway for the netwo rk • Network mask for thi s network T o assig n an IP add ress to the switch, comp lete the fo llowing st eps: 1. [...]
-
Pagina 44
Initial Confi guration 2-6 2 5. W ait a few minutes, and then c heck t he IP conf iguratio n settings by typin g the “show ip int erface ” comm and. Pre ss <Ent er>. 6. Then save y our con figurat ion chang es by typi ng “copy running- confi g startup-co nfig.” Ente r the startup file name and pr ess <E nter>. Enabling SNMP Mana[...]
-
Pagina 45
Basic Configur ation 2-7 2 The defa ult s tri ngs are: • public - wit h read- only acces s. Aut horize d mana geme nt stat ions a re o nly able to ret rieve MIB obje cts. • private - w ith read-wr ite acces s. A uthorized ma nagemen t stat ions a re ab le to bot h ret rieve and modify MIB obje cts. T o preve nt unaut horiz ed acce ss to the s w[...]
-
Pagina 46
Initial Confi guration 2-8 2 Configuring Acc ess for SNMP Vers ion 3 Clients T o configu re manag eme nt access for SNMPv 3 clien ts, you need to f irst create a view tha t defines the port ions of M IB that the client ca n read or write, assign t he view to a group , and then assi gn the use r to a group . The follow ing exam ple creat es one view[...]
-
Pagina 47
Managing System Files 2-9 2 Managing System Files The s wit ch’ s fl ash memory supp ort s th ree type s of syste m fi les t hat can be mana ged by the CLI program, web interface, or SNMP . The switch’ s file system allows files to be upload ed and d ownloade d, cop ied, deleted , and se t as a start-up fil e. The thre e types of files ar e: ?[...]
-
Pagina 48
Initial Confi guration 2-10 2[...]
-
Pagina 49
3-1 Chapter 3: Config urin g the Switc h Using the Web In terface This swit ch prov ides an e mbedde d HTTP web agent. Using a we b browse r yo u can configur e the swit ch and view statistics t o monitor network ac tivity . The web ag ent can be acce ssed by any com puter on the netwo rk using a standard w eb brow ser (Interne t Explorer 5.0 or ab[...]
-
Pagina 50
Configuring the Switch 3-2 3 Navigating the Web Brow ser Interface T o access the web- brows er interfac e you m ust first ent er a user name and password . The ad minist rator h as Rea d/Write ac cess to all co nfigurat ion parame ters and statistics. The defaul t user na me and passwo rd “ad min” is used for the administ rator . Home Page Whe[...]
-
Pagina 51
Navigating the Web Brow ser Interface 3-3 3 Configurati on Options Configu rable paramete rs have a dial og b ox or a drop -down list. Once a conf iguration change ha s been m ade on a page, be sure t o click on th e Apply but ton to co nfirm the new set ting. The following table summ arizes the web page conf igurati on buttons. Notes: 1. To ensu r[...]
-
Pagina 52
Configuring the Switch 3-4 3 Main Menu Using th e onboa rd web agent , you can de fine sy stem parame ters, manage an d contro l the switc h, and all its ports, or m onitor netw ork cond itions. The follow ing table briefly des cribes the selec tions av ailable from this pr ogram. T able 3-2 Switc h Main Menu Menu Descr iption Page System 3-12 Syst[...]
-
Pagina 53
Navigating the Web Brow ser Interface 3-5 3 SNMPv3 3-4 2 Engine ID Sets t he SNM P v3 e ngine ID 3-43 Remote E ngine ID Sets the S NMP v3 eng ine ID on a re mote d evice 3-43 User s Conf igu res SN MP v3 us ers 3-44 Remote U sers Configure s SNM P v3 u sers on a rem ote device 3-46 Grou ps Conf igu res SN MP v3 gr oups 3-48 View s Con figu res SN M[...]
-
Pagina 54
Configuring the Switch 3-6 3 LACP 3-93 Configura tion Allo ws po rts to d ynamic ally join tru nks 3-95 Aggregat ion Port Config ures para meters for link aggregat ion group mem bers 3-9 8 Port Coun ters In formati on Displays s tatistic s for LA CP pr otocol messag es 3-101 Port Inter nal Info rmatio n Displays settings and o peratio nal sta te fo[...]
-
Pagina 55
Navigating the Web Brow ser Interface 3-7 3 Trun k Co nfigu rati on Conf igur es tru nk set tin gs for a spe cifi ed MST inst ance 3-133 VLAN 3-135 802.1Q V LAN GVRP Sta tus En ables G VRP V LAN r egistra tion pro tocol 3-138 Basic Info rmatio n Displays infor mation on the VLAN type s upporte d by this s witch 3-13 8 Current T able Shows the cu rr[...]
-
Pagina 56
Configuring the Switch 3-8 3 QoS 3-161 Diff Ser v Con figu re Q oS cla ssif icat ion cr it eria and se rvic e poli ci es 3-161 Clas s Map Cr eates a clas s ma p for a type o f traf fi c 3-162 Policy Ma p Cre ates a policy map fo r multiple interfac es 3 -165 Service P olicy Ap plies a policy map de fined to an ingre ss port 3-168 IGMP Sn oopin g 3-[...]
-
Pagina 57
Navigating the Web Brow ser Interface 3-9 3 ARP 3-21 1 General Sets the pro tocol tim eout, an d enable s or disab les prox y ARP for the specif ied VL AN 3-212 Static Add resses Statica lly ma ps a ph ysical addres s to an IP addres s 3 -213 Dynamic A ddres ses Shows dy namica lly lear ned en tries in the IP routing ta ble 3-214 Other Add resses S[...]
-
Pagina 58
Configuring the Switch 3-10 3 Routing P rotoco l 3 -207 RIP 3-225 General S ettings En ables o r disab les RIP , sets the glo bal RIP versio n and timer values 3-226 Network A ddress es Configure s the n etwork interfa ces that w ill use RIP 3 -228 Interface Setting s Config ures R IP para meters for ea ch interfac e, incl uding s end and recei ve [...]
-
Pagina 59
Navigating the Web Brow ser Interface 3-11 3 PIM-DM General S ettings En ables o r disab les PIM -DM g lobally for the switch 3-272 Interface Setting s Enabl es or d isables PIM-D M per i nterfac e, conf igures protoc ol settings fo r hello , prune and g raft me ssage s 3-273 Interface Info rmatio n Displa ys summar y information for eac h interfac[...]
-
Pagina 60
Configuring the Switch 3-12 3 Basic Configuration Displaying Syste m Information Y o u can easi ly identi fy the syst em by dis playin g the device name , locatio n and contac t informati on. Field Attributes • Syst em Name – Name assi gned to th e switch s ystem. • Object ID – MIB II object ID for switch’s networ k manage men t subsyst e[...]
-
Pagina 61
Basic Configur ation 3-13 3 CLI – S peci fy th e ho stnam e, l ocat ion and co nt act infor mat ion. Displaying Switch Hardware/Soft ware Versions Use the Sw itch Infor matio n page to displa y hardw are/firm ware ve rsion nu mbers for the main bo ard and m anage ment so ftware, as we ll as the powe r status of th e system . Field Attributes Main[...]
-
Pagina 62
Configuring the Switch 3-14 3 • Operation Code Version – Version nu mbe r of runtime code. • Role – Shows tha t this switch is operating as Maste r or Slave 2 . These addi tiona l parameters ar e displaye d for the CLI. • Unit ID – Unit number in sta ck 2 . • Redundant Power Status – Displa ys the status of th e redunda nt powe r su[...]
-
Pagina 63
Basic Configur ation 3-15 3 Displaying Bridge Extension Capa bilities The Bridg e MIB includ es exte nsions for manage d devices that supp ort Multi cast Fil ter ing, T raf fic Cl asses , and Vi rtu al L ANs. Y ou can acces s the se ex tens ions to dis play def ault se tti ngs for t he key va riabl es. Field Attributes • Extended Multica st Filte[...]
-
Pagina 64
Configuring the Switch 3-16 3 CLI – Enter the fo llowing co mman d. Configuring Suppor t for Jumbo Frames The switc h provides more efficient throug hput for la rge seque ntial data tran sfers by support ing jumb o frame s up to 9216 bytes. Com pared to standa rd Ether net frame s that run only up to 1.5 KB, usi ng jum bo frames s ignificant ly r[...]
-
Pagina 65
Basic Configur ation 3-17 3 Setting the Switch’s IP Address Thi s sec tion desc ribe s how to confi gur e an in it ial I P int erf ace f or m anage ment access over th e network. The IP address f or this switch i s obtained vi a DHCP by default. T o manua lly configu re an ad dress, y ou need to change t he switc h’s default set ting s to valu [...]
-
Pagina 66
Configuring the Switch 3-18 3 Manual Co nfiguration We b – Clic k IP , General, R outing Inter face. Se lect the VLA N through which the manage ment station i s attached, s et the IP Addr ess Mode to “St atic,” a nd speci fy a “Primar y” interfac e. Enter th e IP addres s, subne t mask an d gate way , then c lick Apply . Figure 3-7 IP In [...]
-
Pagina 67
Basic Configur ation 3-19 3 Using DHCP/BOOTP If your network pr ovides DHCP/BOOTP services, you can configure the switch to be dyna mic ally co nfi gured by thes e serv ices . We b – Cl ick IP , General, Routing Int erface . S pecify the VLA N to wh ich the mana gemen t st atio n is att ached, set th e IP Addr ess Mo de to D HCP or BO OTP . Clic [...]
-
Pagina 68
Configuring the Switch 3-20 3 Renewing DCHP – DHC P may lease addres ses to clients indefini tely or fo r a specific period o f time. If the address ex pires or the switch is mo ved to a not h er network segmen t, you will lo se management access to the switch. In this case , you can reboot th e switch or submi t a client requ est to rest art DHC[...]
-
Pagina 69
Basic Configur ation 3-21 3 Downloadi ng System Softw are from a Se rver When dow nload ing runti me code, you can specify the destin ation file na me to replace th e curren t image, or first dow nload th e file using a differen t name f rom the current ru ntime co de file, an d then set the new fi le as the startup fi le. We b – Cl ick System , [...]
-
Pagina 70
Configuring the Switch 3-22 3 T o delete a f ile select Sy stem, File M anagem ent, Del ete. Sele ct the file na me from the given l ist by check ing the t ick box and click Appl y . Note that the file cur rently designa ted as th e startup code ca nnot be delete d. Figure 3 -12 D eleting Files CLI – T o downlo ad new firmware fo rm a TFTP se rve[...]
-
Pagina 71
Basic Configur ation 3-23 3 Saving or Restoring Confi guration Settings Y ou c an up load/d ownload configu ration s ettings to/from a TFT P server, or copy files to and from switch units in a stack 4 . Th e conf igur atio n file can be later downl oaded to restor e the switch ’s settings. Command Attributes • File Trans fer Metho d – The con[...]
-
Pagina 72
Configuring the Switch 3-24 3 Downloadi ng Configuration Se ttings from a Se rver Y ou ca n dow nload th e configura tion file un der a new file name an d then set it as the startup file, or you can sp ecify the cur rent sta rtup co nfigurat ion file a s the desti nation file to direct ly replac e it. Note th at the file “ Factory _Defaul t_Con f[...]
-
Pagina 73
Basic Configur ation 3-25 3 CLI – Enter the IP address of the TFTP s erver , specif y the s ource file on th e ser ver , set the startup file name on the sw itch, and t hen res tart the switch . T o selec t anothe r configur ation file as the start-up configur ation, use the boot system comma nd and then restart the s witch. Console Port Settings[...]
-
Pagina 74
Configuring the Switch 3-26 3 • Speed – Sets the termi nal line’s baud rate for trans mit (to ter minal) and r eceive (from termi nal). Set the speed to matc h the baud r ate of the dev ice conn ected to the serial po rt. (Ran ge: 9600, 19200, 38 400, 5760 0, or 1 1 5200 ba ud, Auto ; Default: Auto ) • Stop Bits – Sets the nu mber of the [...]
-
Pagina 75
Basic Configur ation 3-27 3 CLI – Enter Line Co nfigur ation mod e for the console, t hen speci fy the conne ction parameter s as requi red. T o disp lay the cu rrent c onsole po rt settings , use the s how line command fr om the Normal Exec level. Telnet Set tings Y ou ca n acces s the on board con figur ation prog ram over the netwo rk using T [...]
-
Pagina 76
Configuring the Switch 3-28 3 • Password 6 – Specifies a passw ord f or the li ne con nection. When a conn ection is started on a line with pa sswor d protec tion, the system prompts f or the pas sword. If you ente r the correc t pass word, th e system shows a prompt . (Defau lt: No password ) • Login 6 – Ena bles passw ord ch ecking at log[...]
-
Pagina 77
Basic Configur ation 3-29 3 Configuring Event Logging The sw itch allow s you to c ontrol the logg ing of error m essag es, incl uding t he typ e of events that are re corded in switch mem ory , logging to a rem ote Syst em Log (sy slog) server, and disp lays a list of recen t event me ssages . System Log Configuration The syste m allows yo u to en[...]
-
Pagina 78
Configuring the Switch 3-30 3 We b – Click Sy stem, Logs , System Logs. S pecify Sy stem Lo g St atus, set the leve l o f event mess age s to be lo gge d to RA M an d fl ash m emor y , then cli ck Ap pl y . Figu re 3 -17 Sys tem Lo gs CLI – Enable system logging an d then specif y the level of mes sages to be logge d to RAM an d flash mem ory .[...]
-
Pagina 79
Basic Configur ation 3-31 3 We b – Click System, Logs, Remote Logs. T o add an I P address to t he Host IP List, type the new IP addre ss in the Ho st IP Addr ess box, and then clic k Add. T o de lete an IP addr ess, click the entry i n the Hos t IP List, and t hen click R emove . Figu re 3 -18 Rem ote Lo gs CLI – Enter the sy slog ser ver host[...]
-
Pagina 80
Configuring the Switch 3-32 3 Displaying Log Me ssages Use the Log s page to sc roll through the logg ed system and ev ent mes sages. Th e switch can store up t o 2048 log entrie s in tempo rary rando m acc ess mem ory (RAM ; i.e., memor y flush ed on powe r reset ) and up to 40 96 entries in permane nt flas h memory . We b – Clic k System , Log,[...]
-
Pagina 81
Basic Configur ation 3-33 3 • SMTP Se rver L ist – Speci fies a list of up to thre e rec ipie nt S MTP se rver s. The switch attempts to connec t to the othe r listed se rvers if th e first fails . Use the New SMTP Serv er text field an d the Add/ Remo ve buttons t o configur e the list. • Email Dest ination Addr ess List – S pecif ies th e[...]
-
Pagina 82
Configuring the Switch 3-34 3 CLI – Enter the IP ad dress of at lea st one SM TP se rver , set the s yslog s everity l evel to trigger a n ema il messa ge, and sp ecify t he switc h (sourc e) and up t o five rec ipient (destina tion) emai l addresses . Enab le SMTP with the logging sendm ail com mand to compl ete t he co nfigurat ion. Us e the sh[...]
-
Pagina 83
Basic Configur ation 3-35 3 Setting the System Clock Simple Network T ime Protocol (SNTP) allows the switch to set its int ernal clock based on pe riodic upd ates from a time serv er (SNT P or NTP). Mai ntaining an accurate t ime on the s witch ena bles the system log to recor d mea ningful da tes and times fo r event en tries. Y ou can al so manu [...]
-
Pagina 84
Configuring the Switch 3-36 3 CLI – This examp le configu res the sw itch to operate a s an SNTP cl ient and th en displays the curre nt time an d setti ngs. Setting the T ime Zone SNT P uses Coor dina ted Unive rsal T i me (o r UTC, for merl y Gre enwic h Mea n T ime, or GMT) based on the ti me at th e Earth’s prim e me ridian, ze ro deg rees [...]
-
Pagina 85
Simple Network Managemen t Protocol 3-37 3 Simple Network Manage ment Protocol Simp le Ne twor k Manage ment Pr ot ocol (SNMP) i s a commu nica tion pr ot ocol designe d specif ically for managi ng device s on a net work. Equ ipmen t comm only manage d with SN MP includ es sw itches, rout ers and ho st comp uters. SNMP is typ ical ly us ed t o conf[...]
-
Pagina 86
Configuring the Switch 3-38 3 securi ty mode ls v1 and v2 c. The foll owing table shows the s ecurit y mod els and levels ava ilable and the sys tem defau lt setti ngs. Note: The predefined default groups and view c an be deleted from the system. You ca n then d efine custom ized groups and views for the SNMP cli ents that re quire access. Enabling[...]
-
Pagina 87
Simple Network Managemen t Protocol 3-39 3 CLI – The followi ng exam ple enabl es SNMP on the swi tch. Setting Community Acc ess Strings Y o u may confi gure up to fiv e commu nity string s autho rized for manage ment ac cess by clien ts using SN MP v1 and v2c . All co mmun ity str ings us ed for IP Tr ap M anager s should be listed in this table[...]
-
Pagina 88
Configuring the Switch 3-40 3 Specifying Trap Managers and Trap Types T raps indic ating statu s change s are iss ued by the sw itch to sp ecified t rap ma nager s. Y o u must spec ify trap m anage rs so that ke y events a re reporte d by this sw itch to your ma nageme nt station (u sing net work man agem ent platform s such a s HP OpenVie w). Y ou[...]
-
Pagina 89
Simple Network Managemen t Protocol 3-41 3 Version 1 or 2c clients ), or define a co rrespon ding “User Nam e” in the SN MPv3 Users pag e (for Ver sion 3 client s). (Ran ge: 1-32 c haracte rs, case sensitiv e) • Trap UDP Port – Specifies th e UDP po rt number used by the trap man ager. • Trap Version – Indi cates if the us er is run nin[...]
-
Pagina 90
Configuring the Switch 3-42 3 We b – Cl ick SNMP , Configu ratio n. Enter the IP addres s and comm unit y string fo r each management stat ion that will receive trap messages, specify the UDP port, SNMP trap ve rsio n, trap secu rity le vel (f or v3 cl ients), t rap infor m s ettings (for v2c/v3 clients), an d then c lick Ad d. Select the trap ty[...]
-
Pagina 91
Simple Network Managemen t Protocol 3-43 3 Setting a Local Engine ID An SNMP v3 eng ine is an ind epend ent S NMP a gent that resid es on t he swit ch. Thi s engine prot ects against messag e replay , delay , and redirec tion. The en gine ID is also use d in comb ination w ith user pass words to generat e the sec urity ke ys for aut hent icat ing a[...]
-
Pagina 92
Configuring the Switch 3-44 3 The en gine ID can be s pecif ied by ente ring 1 to 26 hex adeci mal ch arac ters . If les s than 26 ch aracter s are spec ified, tra iling zeroes are add ed to the va lue. For example, the valu e “1234” is equival ent to “1234 ” follow ed by 22 zer oes. We b – Click SNMP , SNMPv3, Remote Engine ID. Enter a n[...]
-
Pagina 93
Simple Network Managemen t Protocol 3-45 3 • Privacy Protocol – The encryp tion a lgorithm use for data privac y; onl y 56-bi t DES is currentl y availabl e. • Privacy P assw ord – A mini mum of ei ght plain text charact ers is requ ired. • Actions – Enable s the user to be assigne d to ano ther SNM Pv3 gr oup. We b – Clic k SNMP , SN[...]
-
Pagina 94
Configuring the Switch 3-46 3 CLI – Us e th e snmp-s erver u ser comm and to configur e a new use r name an d assign it to a group. Configuring Rem ote SNMPv3 Users Each SNMP v3 user is defined by a unique n ame. Use rs must be configur ed with a specific securi ty level a nd assig ned to a gr oup. The SNMPv 3 grou p restr icts users to a specifi[...]
-
Pagina 95
Simple Network Managemen t Protocol 3-47 3 • Privacy Protocol – The encryp tion a lgorithm use for data privac y; onl y 56-bi t DES is currentl y availabl e. • Privacy P assw ord – A mini mum of ei ght plain text charact ers is requ ired. We b – Clic k SNMP , SNMPv 3, Remot e User s. Click New to config ure a user name. In the Ne w User p[...]
-
Pagina 96
Configuring the Switch 3-48 3 CLI – Us e th e snmp-s erver u ser comm and to configur e a new use r name an d assign it to a group. Configuring SNM Pv3 Groups An SNMP v3 group se ts the ac cess po licy for its ass igned use rs, res tricting th em to specific read, writ e, and noti fy views . Y ou ca n use th e pre-de fined de fault groups or crea[...]
-
Pagina 97
Simple Network Managemen t Protocol 3-49 3 T ab le 3-5 Supp orted N otificatio n Mess ages Object La bel Objec t ID Descr iption RFC 1493 Traps newRoot 1.3 .6.1.2. 1.17.0 .1 The newRoo t trap in dicates th at the sendin g agent has becom e the new root of the Spa nning Tree; the trap is sent b y a brid ge soo n after its election as the new root, e[...]
-
Pagina 98
Configuring the Switch 3-50 3 Private Tr aps swPowerS tatus ChangeT rap 1.3.6.1.4. 1.259. 6.10.7 5.2.1.0 .1 This tr ap is sent when the power sta te change s. swFanFai lureTra p 1.3.6.1.4. 1.259. 6.10.7 5.2.1.0 .17 This tr ap is s ent wh en the fan fail s. swFanRe coverTr ap 1.3 .6.1.4. 1.259. 6.10.7 5.2.1.0.18 This trap is sent when t he fan failu[...]
-
Pagina 99
Simple Network Managemen t Protocol 3-51 3 We b – Click SNMP , SNMPv3, Groups. Click New to configure a new group. In the New G roup page , defi ne a name, assign a se curity m odel a nd lev el, and the n selec t read, wr ite, and noti fy views . Click Add t o save the ne w group and return t o the Groups list. T o d elete a gr oup, che ck the b [...]
-
Pagina 100
Configuring the Switch 3-52 3 Setting SNMPv3 Views SNMPv 3 views ar e used to restrict user acce ss to specified portions of the M IB tree. The prede fined view “defa ultview” includes ac cess t o the entir e MIB tree. Command Attributes • View Name – The nam e of the SNMP view. (Range: 1-64 chara cters) • View OID Subt rees – Show s th[...]
-
Pagina 101
User Authent ication 3-53 3 CLI – Us e th e snmp-s erver vi ew comm and to co nfigure a ne w view. This example view incl udes the MIB-2 in terfaces tabl e, and the wildc ard mask select s all ind ex entries. User Authentication Y o u can rest rict man agem ent acce ss to this sw itch and provi de secu re networ k access us ing the fol lowing opt[...]
-
Pagina 102
Configuring the Switch 3-54 3 Command Attributes • Account List – Dis plays the cu rren t list of user acc ount s and associ ated acc ess levels. (D efaults : admin, and gues t) • New Account – Displ ays con figuratio n settings for a new acc ount. - User Name – The name of the us er. (Maxim um leng th: 8 charac ters; ma ximum number of u[...]
-
Pagina 103
User Authent ication 3-55 3 Configuring Local/Remote Logon Authentication Use the Authe nticati on Se ttings menu t o res trict ma nagem ent a ccess bas ed on specifie d us er nam es and pas sword s. Y ou can m anual ly con figure acces s righ ts on the swit ch, or yo u ca n use a re mote acces s aut hent ica tion ser ver ba sed on RAD IUS or T A C[...]
-
Pagina 104
Configuring the Switch 3-56 3 • RADIUS Settings - Global – Provides g lobally ap plicab le RADI US settings . - ServerIndex – Speci fies on e of five RA DIUS se rvers th at may be configure d. The switch at tempts authen tication us ing the li sted sequ ence of ser vers. Th e process ends whe n a serv er either ap prov es or denie s access t [...]
-
Pagina 105
User Authent ication 3-57 3 We b – Click Security , Authentication Sett ings. T o configure local or remote authenti cation preferenc es, sp ecify the au then tication se quence (i.e., on e to three methods), fill in t he parameters f or RADIUS or T ACACS+ authentication if s elected, and click Ap ply . Figure 3-3 4 Aut hentic ation S erver Setti[...]
-
Pagina 106
Configuring the Switch 3-58 3 Configuring HTTPS Y ou ca n conf igure the sw itch to e nable the Sec ure Hyp ertext T ransfer Protocol (HTTPS ) over the Secure S ocket Lay er (SS L), providi ng secu re access (i.e., an encrypt ed con nect ion) to the switc h’s web i nterface . Command Usage • Both the HT TP and HTTP S servic e can be en abled in[...]
-
Pagina 107
User Authent ication 3-59 3 We b – Click Security , HTTPS Settings . Enable HTTP S and specify t he p ort numb er , then c lic k App ly . Figure 3- 35 HT TPS S ettings CLI – This example ena bles the HTTP secu re serve r and modi fies the p ort num ber . Replac ing the Default Secure-sit e Certificate When you log onto the w eb inter face usi n[...]
-
Pagina 108
Configuring the Switch 3-60 3 Configuring the Secure She ll The Berkl ey-standa rd includ es remot e acce ss tools orig inally des igne d for Unix systems. Some of these too ls have al so been im plemen ted for M icros oft Windows and other environm ents. Thes e tools, in cluding co mm ands such as rlo gin (remot e login), rsh (remote she ll), and [...]
-
Pagina 109
User Authent ication 3-61 3 be config ured loca lly on the sw itch via the Use r Accounts page as described on page 3-53.) Th e clients are subseq uently aut henticat ed using the se keys . The curren t firmware on ly accepts pu blic key files based on standar d UNIX form at as shown in the followin g exam ple for an RSA Version 1 key: 1024 35 1341[...]
-
Pagina 110
Configuring the Switch 3-62 3 Field Attributes • Public-Key of Host-Key – T he pu bli c key for the h ost . - RSA (Ver sion 1): The first field indi cates the size of the hos t key (e. g., 1024 ), the second f ield is the encod ed pub lic exp onent ( e.g., 655 37), and the las t string is the encod ed modul us. - DSA (Ver sion 2): The first fie[...]
-
Pagina 111
User Authent ication 3-63 3 CLI – Th is ex ampl e ge nera tes a hos t-ke y p air usin g bot h th e RSA and DSA algorithms, stores the keys to flash memory , and then displays the host’s p ublic keys. Configuring the SSH Server The SSH se rver includes ba sic se ttings for au thentica tion. Field Attributes • SSH Server Status – Allo ws you [...]
-
Pagina 112
Configuring the Switch 3-64 3 We b – Click Security , SSH, Settings. Enable SSH and adjust the authenticati on para meters as requir ed, then clic k Apply . Note that y ou must firs t generate t he host key pair on the SSH Ho st-K ey Setti ngs page before you c an e nable t he SS H ser ver . Figure 3-3 7 SS H Serv er Set tings CLI – This examp [...]
-
Pagina 113
User Authent ication 3-65 3 Configuring Port Security Port securit y is a featur e that allow s you to co nfigure a sw itch port with one or more device MA C addr esse s that are aut horize d to acces s the netw ork thro ugh that port. When por t securit y is enabled on a port , the switc h stops learni ng new MA C address es on th e specifi ed por[...]
-
Pagina 114
Configuring the Switch 3-66 3 We b – Click Security , Port Security . Set the action to take when an invalid address is detected o n a port, m ark the checkbox i n the St atus col umn to en able secu rity for a port, set the m aximu m numb er of M AC addr esse s allowe d on a port, and click A pply . Figure 3-3 8 Po rt Sec urity CLI – This exam[...]
-
Pagina 115
User Authent ication 3-67 3 Configuring 802. 1X Port Authentication Netw ork switch es can pr ovid e open an d eas y access to netw ork resour ces by simply attac hing a clie nt PC. Althou gh this automati c confi guration a nd acce ss is a desirabl e feature, it also allo ws unaut horized pe rson nel to eas ily intrude and possibly gain ac cess to[...]
-
Pagina 116
Configuring the Switch 3-68 3 • The RADI US ser ver and c lient al so have t o supp ort the sa me EA P authenti cation type – MD 5. (Som e clients ha ve nat ive suppo rt in Win dows, otherwi se the dot 1x client mus t supp ort it.) Displaying 802 .1X Global Settings The 80 2.1X proto col pr ovid es por t auth enti cati on. Command Attributes 80[...]
-
Pagina 117
User Authent ication 3-69 3 Configuring 80 2.1X Globa l Settings The 80 2.1X proto col pr ovid es por t auth enti cati on. The 802. 1X pro tocol must be enabled globa lly for the swit ch s ystem befor e port sett ings a re a ctive. Command Attributes 802.1X Sy stem Aut hentica tion Control – Sets the glo bal setting f or 802.1 X. (Def aul t: D is[...]
-
Pagina 118
Configuring the Switch 3-70 3 • Max Reque st – Sets the ma ximum number of times the swi tch port will retran smit an EAP reques t pack et to the cl ient b efore it times out the aut henticat ion ses sion. (Ran ge: 1-10 ; Def aul t 2) • Quiet Period – Sets the ti me tha t a switc h port wa its after the Ma x Reque st count has b een exce ed[...]
-
Pagina 119
User Authent ication 3-71 3 CLI – Th is ex ampl e se ts t he 80 2.1 X pa rame ters on po rt 2. For a de scri ptio n of the addition al fields di splayed in this exam ple, see “ show dot 1x” on pag e 4-84 . Console(config)#interface ethernet 1/2 4-143 Console(config-if)#dot1x port-control aut o 4-81 Console(config-if)#dot1x re-authenticatio n [...]
-
Pagina 120
Configuring the Switch 3-72 3 Display ing 802.1X Statistics Thi s swit ch c an di spl ay st ati sti cs fo r do t1x prot ocol exch anges for any port . T ab le 3-7 802.1 X Stat istics Paramete r Descr iption Rx EAPO L Start The numb er of EAPOL Start fra mes th at have been re ceived b y this Au thenticato r. Rx EA POL Logoff Th e number o f EAPO L [...]
-
Pagina 121
User Authent ication 3-73 3 We b – Select Security , 802.1X, S tatistics. Select the requir ed port and th en click Query . Click Refresh to upd ate the statis tics. Figure 3- 42 80 2.1X P ort Sta tistics CLI – Th is ex ampl e dis pla ys th e dot 1x s tat is tics for p ort 4. Console#show dot1x statistics interface e thernet 1/4 4-84 Eth 1/4 Rx[...]
-
Pagina 122
Configuring the Switch 3-74 3 Filteri ng IP Addresses for Management Access Y o u can cre ate a list of up to 16 IP add resse s or IP ad dress groups tha t are all owed manage ment ac cess to th e switch through the web inter face, SNM P , or T elnet. Command Usage • The ma nagem ent i nterface s are o pen t o all IP addr esses by def ault. O nce[...]
-
Pagina 123
User Authent ication 3-75 3 We b – Click Se curity , IP Filter . Enter the IP addres ses or ran ge of add resses t hat are allowe d manage ment acc ess to an i nterface , and click Add IP Filtering En try . Figure 3-4 3 IP F ilter CLI – Th is ex ampl e re stri ct s mana geme nt ac cess for T eln et cl ie nts. Console(config)#management telnet-c[...]
-
Pagina 124
Configuring the Switch 3-76 3 Access Control Lists Access C ontr ol Lists (A CL) prov ide packe t filtering for I P fram es (bas ed on address , protocol , Layer 4 prot ocol por t numbe r or TCP contr ol code) or any frame s (based on MAC add ress or Etherne t type). To filter incom ing pa ckets, first crea te an a ccess list, add th e required r u[...]
-
Pagina 125
Access C ontrol Lis ts 3-77 3 Setting the ACL Name and Ty pe Use the AC L Config uration page to de sign ate the na me and type of an ACL. Command Attributes • Name – Name of the AC L. (Maxi mum length: 16 ch aracte rs) • Type – There are thre e filtering m odes: - Standa rd : IP ACL m ode that filters pac kets base d on the source IP addre[...]
-
Pagina 126
Configuring the Switch 3-78 3 and comp ared wit h the addre ss for eac h IP packet entering the port(s) to which thi s ACL ha s been as sign ed. We b – S pecify th e action (i.e ., Permit or Den y). Select the address type (Any , Host, or IP). If yo u se lect “H ost,” e nter a spe cific addres s. If you se lect “IP ,” ente r a subne t add[...]
-
Pagina 127
Access C ontrol Lis ts 3-79 3 • Protocol – Speci fies the pr otocol ty pe to match as TCP, UD P or Other s, whe re others in dicate s a speci fic proto col numbe r (0-255 ). (Opt ions: T CP, UDP, Others; Default: TCP) • Source/D estinati on Port – Sour ce/des tinatio n port numb er for the spe cifie d protocol type. (Ra nge: 0 -65535) • S[...]
-
Pagina 128
Configuring the Switch 3-80 3 We b – Specify the action (i.e., Permit or D eny). Specify the sourc e and/or destinat ion addr esses. Se lect the ad dress typ e (Any , Host, or IP) . If you selec t “Host,” enter a s pecific address . If you s elec t “IP ,” ent er a s ubnet addre ss a nd the mask for an addre ss range. Set any ot her requir[...]
-
Pagina 129
Access C ontrol Lis ts 3-81 3 Configuring a MAC ACL Command Attributes • Action – An ACL can con tain any combin ation of perm it or deny r ules. • Source/D estinati on Address Type – U se “Any” to in clude all pos sible addr esses , “Host” to indicate a sp ecifi c MAC ad dress, or “M AC” to sp ecify an addres s range with the A[...]
-
Pagina 130
Configuring the Switch 3-82 3 We b – Specify the action (i.e., Permit or D eny). Specify the sourc e and/or destinat ion addr esses. Se lect the ad dress type (Any , Host, or MA C). If you sel ect “Host,” enter a specif ic addr ess (e. g., 1 1-22- 33-4 4-55-66 ). If yo u selec t “MA C,” ent er a base addr ess and a hexidec imal bitm ask f[...]
-
Pagina 131
Access C ontrol Lis ts 3-83 3 Configuring ACL Masks Y ou m ust spec ify ma sks that con trol the or der in whi ch ACL ru les are ch ecked . The swi tch i ncl udes t wo s ystem def ault masks that p ass/ filt er p ack ets matc hing the permit /deny rule s specif ied in an ing ress ACL . Y ou can also co nfigur e up to seve n user-de fined m asks for[...]
-
Pagina 132
Configuring the Switch 3-84 3 Configuring an IP ACL Mask This mask d efines the fields to check in th e IP hea der . Command Usage • Masks t hat inclu de an entry for a Laye r 4 protoc ol sourc e port or dest ination port can only be applie d to packets with a he ader len gth of exa ctly five byt es. Command Attributes • Source/D estinati on Ad[...]
-
Pagina 133
Access C ontrol Lis ts 3-85 3 We b – Con figure th e mask to match the r equired rules in th e IP ingre ss or egre ss ACLs. S et the mask to check f or any sour ce or de stination a ddres s, a speci fic host address , or an addr ess rang e. Include other criteria to sea rch for in th e rules, su ch as a protoc ol type or on e of the service t ype[...]
-
Pagina 134
Configuring the Switch 3-86 3 Configuring a MAC ACL Mask This mask d efines the fields to check i n the packet he ader . Command Usage Y ou m ust conf igure a mask for an AC L rule bef ore you can bind it to a po rt. Command Attributes • Source/D estinati on Address Type – Use “ Any” t o matc h any ad dres s, “H ost” to specify t he hos[...]
-
Pagina 135
Access C ontrol Lis ts 3-87 3 CLI – This e xampl e show s how to cre ate an Ingres s M AC A CL and bind it to a port. You can the n see that the order of the rules ha ve been change d by the mask. Binding a Port to an Access Control Lis t After configur ing the A ccess Control Lis ts (ACL), yo u should bin d them t o the ports tha t need to fi lt[...]
-
Pagina 136
Configuring the Switch 3-88 3 We b – Click Secur ity , A CL, P ort Bind ing. Ma rk the Enab le field for the p ort yo u wan t to bind to an ACL for ing ress or egres s traffic, selec t the requ ired ACL fro m the drop-do wn list, then click Appl y . Figure 3 -51 A CL Po rt Bind ing CLI – This examp les assi gns an IP an d MAC in gress AC L to p[...]
-
Pagina 137
Port Configurati on 3-89 3 • Trunk Me mber 8 – Sh ows if por t is a trunk me mber. • Creation 9 – Shows if a trunk is manu ally configu red or dyna mically set via LACP . We b – Clic k Port, Port Informa tion or Trunk Informa tion. Figure 3-52 Por t - Port Inform ation Field Attributes (CLI) Basic informa tion: • Port type – Indicate [...]
-
Pagina 138
Configuring the Switch 3-90 3 • Flow control – Shows if flow control i s enabled or disabled . • LACP – Shows if LACP is enabled or di sabled. • Port secu rity – Show s if port secur ity is enab led or disab led. • Max MAC count – Shows the m axim um numb er of MA C addres s that ca n be learned by a port. (0 - 1024 addr esses ) •[...]
-
Pagina 139
Port Configurati on 3-91 3 Configuring I nterface Connections Y ou can u se t he Po rt Confi guration or Trunk Co nfigurat ion page to ena ble/disa ble an interface, set auto-ne gotiat ion and the in terface capab ilities to advertise, or manua lly fix the spe ed and du plex mode , an d flow contr ol. Command Attributes • Name – Allow s you to [...]
-
Pagina 140
Configuring the Switch 3-92 3 We b – Cli ck Po rt, Port Conf igur ati on or T run k Con figur ati on. Modif y th e re quir ed interface settings, and click Apply . Figure 3-5 3 Por t - Por t Confi guratio n CLI – Select the interfac e, and then ent er the requ ired set tings. Console(config)#interface ethernet 1/13 4-143 Console(config-if)#desc[...]
-
Pagina 141
Port Configurati on 3-93 3 Creating Tr unk Groups Y o u can crea te multip le links between de vice s that wor k as one vir tual, aggr egate link. A por t trunk offers a dram atic inc rease in bandw idth for netw ork segm ents where b ottle necks exist, as well a s prov iding a fault -tolera nt link bet ween two devices. Y ou can create up to 12 tr[...]
-
Pagina 142
Configuring the Switch 3-94 3 Statically Configuring a Trunk Command Usage • When co nfigur ing st atic trunk s, y ou may not be able to link sw itch es of differe nt types , dependi ng on the m anufact urer’s implemen tatio n. Howev er, not e that the stat ic trunks on th is switch a re Cisco Et herCh annel compatible. • To avoid cr eating a[...]
-
Pagina 143
Port Configurati on 3-95 3 CLI – This examp le creat es trunk 1 with ports 9 and 10. Just co nnect thes e ports to two static trun k ports on ano ther sw itch to form a trunk. Enabling LACP o n Selected Ports Command Usage • To avoid c reating a l oop in the net work, be s ure you enabl e LACP before c onnecting the port s, and also disconne ct[...]
-
Pagina 144
Configuring the Switch 3-96 3 Command Attributes • Member Li st (Cur rent ) – Show s con figured tru nks (Un it, Port). • New – Include s entry fie lds for crea ting new trunks. - Unit – St ack u nit 11 . ( Rang e: 1- 1) - Port – Port i dentifier. (R ange: 1-2 8) We b – Clic k Port, LAC P , Configurat ion. Sele ct any of the switch po[...]
-
Pagina 145
Port Configurati on 3-97 3 CLI – The follo wing exam ple ena bles LACP for por ts 1 to 6. Just conne ct these por ts to LACP -enabled t runk ports on another switch to fo rm a trunk . Console(config)#interface ethernet 1/1 4-143 Console(config-if)#lacp 4-159 Console(config-if)#exit . . . Console(config)#interface ethernet 1/6 Console(config-if)#l[...]
-
Pagina 146
Configuring the Switch 3-98 3 Configuring LACP Pa rameters Dynami cally Creat ing a Port Ch annel – Ports assigne d to a com mon port chann el must m eet the follo wing cri teria: • Ports must have the same LACP Syste m Priority. • Ports must h ave the same LACP port Admin Key. • Howeve r, if the “port channe l” Admin Key is set (p age [...]
-
Pagina 147
Port Configurati on 3-99 3 We b – Clic k Port, LACP , Aggreg ation Port. Set the Syste m Priority , Adm in Key , and Por t Prio rit y for the Por t Acto r . Y ou can opti onal ly co nfig ure th ese setti ngs for the Por t Par tne r . (Be a ware that th ese se tti ngs o nly af fect the admin ist rati ve s ta te of the partner , and will not take e[...]
-
Pagina 148
Configuring the Switch 3-100 3 CLI – The followi ng exam ple conf igures LACP param eters for ports 1-10. Ports 1-8 are used as active member s of the LA G , ports 9 and 10 are set to ba ckup m ode. Console(config)#interface ethernet 1/1 4-143 Console(config-if)#lacp actor system-prio rity 3 4-160 Console(config-if)#lacp actor admin-key 1 20 4-16[...]
-
Pagina 149
Port Configurati on 3-101 3 Displaying LACP Port Cou nters Y o u can disp lay statistics f or LACP protocol messag es. We b – Click Port, LACP , Port Counters Information. Selec t a member port t o display the corres ponding inform ation. Figure 3 -57 L ACP - Port Co unters Inform ation CLI – The followi ng exa mple disp lays LAC P coun ters fo[...]
-
Pagina 150
Configuring the Switch 3-102 3 Displaying LACP Settings and Status for the Lo cal Side Y o u can disp lay conf igurati on setting s and the op eratio nal state for th e local sid e of an link aggr egatio n. T a ble 3- 9 LAC P Inte rnal Confi guratio n Info rmation Field Descr iption Oper Key Cu rrent o perational value o f the k ey for the agg rega[...]
-
Pagina 151
Port Configurati on 3-103 3 We b – Click Port, LACP , Port In ternal Informa tion. Select a port channel t o display the corres ponding inform ation. Figure 3-58 LAC P - Po rt Inter nal Inf ormati on CLI – The followi ng exa mple disp lays the LAC P confi guration settings and operat ional state for th e local side of port ch annel 1. Console#s[...]
-
Pagina 152
Configuring the Switch 3-104 3 Displaying LACP Settings and Status for the Rem ote Side Y o u can disp lay conf iguration s etting s and the op eratio nal state for th e remote si de of an link ag gregatio n. We b – Clic k Port, LAC P , P ort Neighbo rs Inform ation. Se lect a port cha nnel to display t he corres ponding informa tion. Figure 3- 5[...]
-
Pagina 153
Port Configurati on 3-105 3 CLI – The followi ng exa mple disp lays the LAC P confi guration settings and operat ional state for th e remot e side of port chann el 1. Setting Broadcast Storm Thresholds Broadca st storms may oc cur whe n a device on your network i s malfunc tioning, or if applicat ion prog rams are no t well des igned or properly [...]
-
Pagina 154
Configuring the Switch 3-106 3 We b – Clic k Port, Port Br oadcast Control or Trunk Broadca st Con trol. Chec k the Enabled box for any in terface, set the th reshol d, and click Apply . Figure 3- 60 Po rt B roadc ast Contro l CLI – S pecify any i nterface , and then enter th e thresho ld. The fol lowing disable s broadca st stor m control for [...]
-
Pagina 155
Port Configurati on 3-107 3 Configuring Port Mirroring Y o u can mi rror traffic from any source port to a target port for re al-time an alysis . Y ou can the n attach a logic an alyze r or RMON probe to the target port and s tudy the traffic crossi ng the source port in a comp letely u nobtrus ive m anner. Command Usage • Monitor port speed sh o[...]
-
Pagina 156
Configuring the Switch 3-108 3 Configuring Rat e Limits This funct ion allows the netwo rk manag er to cont rol the m aximum r ate for traffic transmi tted or rec eived on an interfa ce. Rate l imiting is co nfigur ed on inte rfaces at the edge o f a networ k to limit tra ffic into or out of the s witch. T raffic that falls within the rate lim it i[...]
-
Pagina 157
Port Configurati on 3-109 3 Showing Port Statistics Y o u can disp lay standa rd statistics o n network traffic from th e Interfac es Grou p and Ethernet- like MIBs, as well as a detail ed breakd own of tra ffic based on the R MON MIB. Inter faces an d Etherne t-like statist ics displ ay errors on the traffic passin g throug h each port . This info[...]
-
Pagina 158
Configuring the Switch 3-110 3 Transmit Disc arded Pac kets The num ber o f out bound packets which were cho sen to be discar ded e ven though no errors had b een de tected to pre vent th eir being t ransmit ted. One poss ible rea son fo r disca rding s uch a p acket cou ld be t o free up buffer spa ce. Transmit Erro rs The nu mber of outbou nd pac[...]
-
Pagina 159
Port Configurati on 3-111 3 Received Frame s The total numbe r of fra mes (b ad, bro adcast an d multi cast) re ceived . Broadcas t Frame s The total numbe r of go od fram es rec eived t hat were d irected to the broadcas t addre ss. No te that this do es not include multic ast packe ts. Multicast Frames The total num ber of go od fram es rec eived[...]
-
Pagina 160
Configuring the Switch 3-112 3 We b – Clic k Port, Port St atistics . Select the re quired interface, and click Quer y . Y ou can also use the Re fresh bu tton at the bottom of the page to upd ate the sc reen. Figure 3 -63 P ort Sta tistics[...]
-
Pagina 161
Address T abl e Settings 3-113 3 CLI – Th is ex ampl e sh ows s tat isti cs f or po rt 12. Address Table Settings Switche s store the ad dresse s for all known devic es. This i nformat ion is used to pass traffic directly between th e inboun d and outbo und por ts. All the addr esses learned by monito ring traffic are stor ed in the dy namic addr[...]
-
Pagina 162
Configuring the Switch 3-114 3 We b – Cl ick Address T able , S tatic Addresse s. S pecify t he interf ace, the MAC addr ess and V LAN, t hen clic k Add S tatic Addr ess . Figure 3 -64 S tatic A ddress es CLI – This exam ple add s an addres s to the stati c address table, but sets it to be deleted when t he switch is re set. Displaying the Addr[...]
-
Pagina 163
Address T abl e Settings 3-115 3 We b – Click Ad dress T a ble, Dy namic Addresse s. Specify the sea rch type (i.e., mark the Inte rfac e, M AC Add res s, or VLAN chec kbox) , s elec t th e meth od of sort in g th e displaye d addre sses, an d then c lick Q uery . Figure 3-6 5 Dy namic Addres ses CLI – This exam ple also di splays the addre ss [...]
-
Pagina 164
Configuring the Switch 3-116 3 Changing the Aging Time Y o u can set the a ging time for entr ies in the dy namic address tab le. Command Attributes • Aging Status – Enab les/di sables the aging funct ion. • Aging Time – The time afte r which a lear ned entr y is disca rded. (Range: 10-1000000 seconds; Default: 300 sec onds) We b – Cli ck[...]
-
Pagina 165
Spanning Tree Algorithm Configurati on 3-117 3 Once a stable network t opology has bee n establishe d, all bridge s listen fo r Hello BPDUs (Bri dge Protoco l Data Units) transmi tted from the Root Brid ge. If a bridge does not g et a Hello B PDU after a pre defined in terval (Ma ximum Age), the br idge assumes that t he link to the Root Bridge is [...]
-
Pagina 166
Configuring the Switch 3-118 3 new root po rt is sele cted from amon g the device ports attac hed to the netwo rk. (Refer ences to “p orts” in thi s section m ean “int erface s,” which i ncludes both po rts and trun ks.) • Hello Time – Interval (in seco nds) at w hich th e root dev ice transm its a configur ation mes sage. • Forward D[...]
-
Pagina 167
Spanning Tree Algorithm Configurati on 3-119 3 • Root Forward Delay – The maximum time (in seconds) th is device will wait bef ore changin g states (i.e., discar ding to learning to fo rwardin g). This dela y is requi red because every de vice mu st receiv e inform ation abo ut topol ogy ch anges before it starts t o forward frame s. In addit i[...]
-
Pagina 168
Configuring the Switch 3-120 3 Note: The current root por t and current root cost display as zero when this device is not connected to the network. Configuring Globa l Settings Global s ettings ap ply to the en tire swit ch. Command Usage • Spannin g Tree Protoc ol 15 Uses RSTP for the inter nal state m achine , but sends on ly 802 .1D BPDUs . Th[...]
-
Pagina 169
Spanning Tree Algorithm Configurati on 3-121 3 • Multiple S panni ng T ree Pr otocol - To a llow mul tiple spa nning tree s to op erate ov er the ne twork, y ou must configur e a related se t of bridge s with the sam e M STP confi guration , allowing them to participat e in a spec ific set of sp annin g tree inst ances . - A span ning tree i nst [...]
-
Pagina 170
Configuring the Switch 3-122 3 • Forward Delay – The maximum time (in s econds) this d evice will wai t before changin g states (i.e., discar ding to learning to fo rwardin g). This dela y is requi red because e very de vice mu st receiv e informa tion abo ut topol ogy ch anges before it starts to forward frames. In addition, each port needs ti[...]
-
Pagina 171
Spanning Tree Algorithm Configurati on 3-123 3 We b – Clic k S panning Tree, ST A, Configu ration. Modify th e required attributes , and click Apply . Figure 3- 68 STA Global Con figura tion[...]
-
Pagina 172
Configuring the Switch 3-124 3 CLI – Th is e xampl e en able s S panni ng T ree Prot ocol , se ts the m ode t o MST , and then configu res the ST A and MSTP parameters. Displaying Int erface Settings The S T A Por t Inform ation and ST A Trunk Info rmation pages di splay the c urrent status of ports and tru nks in th e S panning Tree. Field Attri[...]
-
Pagina 173
Spanning Tree Algorithm Configurati on 3-125 3 • Oper Path Cost – The contribu tion of this port to the pa th cos t of paths tow ards the sp anning tree root w hich inclu de thi s por t. • Oper Link Type – Th e operat ional poin t-to-po int status of the LAN segm ent atta che d to t his i nter fac e. Thi s par amet er is det ermin ed by man[...]
-
Pagina 174
Configuring the Switch 3-126 3 • Intern al p ath cost – Th e path cost fo r the MST . See the prec eding item . • Priority – Def ines the pr iority used for this por t in the S panni ng Tree A lgori thm. If the path cost for all ports on a switch is the same, the po rt wit h the h ighest priority (i.e., lowest value) will be configured as a[...]
-
Pagina 175
Spanning Tree Algorithm Configurati on 3-127 3 CLI – This examp le show s the ST A attributes for port 5. Configuring I nterface Settings Y ou ca n conf igure RSTP a nd MSTP attributes for sp ecific int erface s, including port priority , path cost, link typ e, and edge port. Y ou m ay use a di fferent priority or path cost for por ts of the sam [...]
-
Pagina 176
Configuring the Switch 3-128 3 The follow ing interfa ce attribu tes can be configu red: • Spanning Tree – Enables/dis ables STA on this interfac e. (De fault: Enabled ) • Priority – Defines th e priority us ed for this p ort in the Spanning Tre e Protocol. If the path cost for all ports on a switch are the sa me, the port with the highest [...]
-
Pagina 177
Spanning Tree Algorithm Configurati on 3-129 3 Migratio n button to man ually re- check the appropr iate BPDU f ormat (RST P or STP- comp atib le) to s end o n th e sele cted int erf aces. (De fault : Di sabl ed) We b – Click Sp anning T ree, ST A, Port Configuration or T runk Configuration. Modify the required attribut es, then cl ick Apply . Fi[...]
-
Pagina 178
Configuring the Switch 3-130 3 Note: All VLANs are automatically added to t he IST (Ins tance 0). T o ensure that the MSTI maintains connectiv ity across the networ k, you mus t configure a relat ed set of bri dges with th e same MSTI settin gs. Command Attributes • MST Instan ce – Ins tance id entifier of th is spanni ng tree . (Default: 0) ?[...]
-
Pagina 179
Spanning Tree Algorithm Configurati on 3-131 3 CLI – This displays ST A settings for ins tance 1, follo wed by settings for each port. CLI – Th is ex ampl e se ts the pr io rity for MSTI 1 , an d ad ds VL ANs 1 -5 t o th is MST I. Console#show spanning-tree mst 1 4-186 Spanning-tree information --------------------------------------------------[...]
-
Pagina 180
Configuring the Switch 3-132 3 Displaying Int erface Settings for MSTP The MSTP Po rt Informa tion and MSTP Trunk Informatio n pages displa y the curren t status of por ts and trunks in th e select ed MST instance. Field Attributes MST Instan ce ID – In stance ide ntifier to configu re. (Rang e: 0-409 4; Defaul t: 0) The other attributes are desc[...]
-
Pagina 181
Spanning Tree Algorithm Configurati on 3-133 3 Configuring I nterface Settings for MSTP Y ou ca n conf igure the ST A interface settings for an MST Ins tance using th e MSTP Port Confi guration and MST P T run k Configu ration pages . Field Attributes The follow ing attribu tes are re ad-onl y and cannot be chan ged: • STA State – Disp lays cur[...]
-
Pagina 182
Configuring the Switch 3-134 3 • Admin MST Path Cost – This parameter is used by the MST P to determine the best path betwee n devi ces. Theref ore, lower value s shou ld be ass igne d to port s attached t o faster m edia, an d higher values as signed t o ports wi th slower m edia. (Path co st takes pre ceden ce over por t priority .) Note that[...]
-
Pagina 183
VLAN Configurati on 3-135 3 VLAN Configuration IEEE 802.1Q VLANs In large netw orks, routers are used t o isolate broa dcast traffic for each su bnet into separate doma ins. This sw itch provide s a similar ser vice at Layer 2 by using VLANs to organ ize any group of netw ork nodes into separ ate broad cast dom ains. V LANs confine br oadca st traf[...]
-
Pagina 184
Configuring the Switch 3-136 3 Note: VLAN-tagged frames c an pass through VLAN-awa re or V LAN-unaware network interconnection devices, but the VLAN tags should be stripped off before passing it on to any en d-node host that does not support VLAN tagging. VLAN Classification – When the switch re ceives a frame, it cl assifie s the fra me in one o[...]
-
Pagina 185
VLAN Configurati on 3-137 3 these hos ts, and core sw itches i n the netwo rk, enab le GVR P on the link s betwe en these dev ices. Y ou sho uld also determ ine secu rity bou ndarie s in the netwo rk and disable G VRP on th e bound ary ports to pr event adv ertisem ents from be ing propagate d, or forbid t hose ports fro m joining re stricte d VLAN[...]
-
Pagina 186
Configuring the Switch 3-138 3 Enabling or Di sabling GVRP (Gl obal Settin g) GARP VLAN Regist ration Proto col (GVRP) defines a w ay for switche s to excha nge VLAN infor mat ion i n order to reg ist er VLAN member s on por ts acros s the ne twor k. VLANs ar e dynami cally con figure d based on join mes sages issued by host devi ces and pro pagate[...]
-
Pagina 187
VLAN Configurati on 3-139 3 CLI – Enter the fo llowing co mman d. Displaying Current VLANs The VLAN Cu rrent T a ble shows the curr ent port mem bers of ea ch VLAN an d whether or not the port su pports VLAN tag ging. Ports assign ed to a larg e VLAN group th at crosses s evera l switches shoul d use VLAN tagging. How ever , if you just want to c[...]
-
Pagina 188
Configuring the Switch 3-140 3 Command Attributes (CLI) • VLAN – ID of con figured VL AN (1-4094 , no leadin g zeroes) . • Type – Show s how this VLAN was ad ded to the switch. - Dynamic : Automa tically le arned via GVRP. - Static : Added as a s tatic e ntry. • Name – Name of t he VLAN (1 to 32 characters). • Status – Show s if thi[...]
-
Pagina 189
VLAN Configurati on 3-141 3 We b – Clic k VLAN, 802.1Q VLAN, St atic List. T o c reate a ne w VLAN, en ter the VLAN ID and VLAN name, mark the Enable checkbox to activate the VLAN, and then c lic k Add . Figure 3 -77 V LAN St atic Li st - Cre ating VLANs CLI – Th is ex ampl e cr eate s a ne w VLAN . Adding Static Members to VLANs (VLAN In dex) [...]
-
Pagina 190
Configuring the Switch 3-142 3 Command Attributes • VLAN – ID of config ured VL AN (1-4094 ). • Name – Name of t he VLAN (1 to 32 characters). • Status – Enabl es or disab les the speci fied VLAN . - Enable : VLAN is oper ationa l. - Disable : VLAN is sus pende d; i.e., doe s not pass pa ckets. • Port – Port i dentifier. • Trunk ?[...]
-
Pagina 191
VLAN Configurati on 3-143 3 CLI – The followin g exam ple adds tag ged and untag ged ports to VLAN 2. Adding Static Members to VLANs (Po rt Index) Use the VLAN S tatic Membershi p by Port men u to assign VL AN groups to th e selected interface as a tagged membe r . Command Attributes • Inte rfa ce – Port or trunk identi fier. • Member – V[...]
-
Pagina 192
Configuring the Switch 3-144 3 Configuring VLAN Be havior for Interfac es Y ou can confi gur e VLAN beh avi or fo r spec ifi c inte rfac es, i ncl udin g the de fau lt VLA N identifier ( PVID), acce pted fra me type s, ingress filtering , GVRP status , and GAR P time rs . Command Usage • GVRP – GA RP VLA N Registr ation Protoc ol defines a way [...]
-
Pagina 193
VLAN Configurati on 3-145 3 Leave or Leave All m essag e has been issu ed, the appli cants ca n rejoin b efore t he port actua lly leave s the grou p. (Range : 60-3000 centis econds ; Defaul t: 60) • GARP LeaveAll Timer 19 – The interval betwe en send ing out a Leav eAll que ry messag e for VLAN gro up participa nts and the port leavin g the gr[...]
-
Pagina 194
Configuring the Switch 3-146 3 CLI – Th is examp le s ets port 3 to acce pt o nly tagged f rames , assi gns P VID 3 as the nati ve VL AN ID , ena ble s G V RP , s ets the GA R P t im ers , a nd the n s ets th e swi tch por t mode to hybri d. Configuring Pri vate VLANs Private VLA Ns prov ide port- based s ecurity an d isolation betwee n ports wit[...]
-
Pagina 195
VLAN Configurati on 3-147 3 Configuring Upli nk and Downl ink Ports Use the P riva te V LAN Li nk S t atus pag e to set port s as down lin k or u pli nk po rt s. Ports design ated as d own link ports can not c ommun icate w ith any other po rts on the swi tch ex cept f or th e upli nk por ts . Upli nk po rts can com munic ate with an y other port s[...]
-
Pagina 196
Configuring the Switch 3-148 3 Command Usage T o conf igure proto col-based VLAN s, fol low t hese steps: 1. First con figure VLAN groups for the pr otocols yo u wan t to use (page 3-140 ). Although not m and atory , we s ugges t conf iguring a s eparate VLA N for eac h major pr otocol run ning on yo ur net work. Do no t add po rt membe rs at this [...]
-
Pagina 197
VLAN Configurati on 3-149 3 Mapping Protocols to VLANs Map a protocol group to a VLAN for e ach interface that will p articip ate in the gr oup. Command Usage • When c reating a p rotocol- based VLAN, only ass ign inte rfaces u sing t his configur ation s creen. If you assi gn inter faces us ing a ny of the ot her V LAN me nus such as th e VLAN S[...]
-
Pagina 198
Configuring the Switch 3-150 3 CLI – The following maps the traffic ente ring Port 1 which matc hes the protoco l type specified i n protoc ol group 1 to VL AN 3. Class of Service Config uration Class of Service (C oS) allows you to sp ecify whic h data packets have greater precede nce when traffic is buffered in the s witch due to cong estion. T[...]
-
Pagina 199
Class of Servi ce Configur ation 3-151 3 We b – Click Priority , De fault Port Pri ority or Default T runk Prior ity . Modify the default priority for any inte rface, then clic k Apply . Figure 3-8 5 De fault P ort Pri ority CLI – Th is ex ampl e as signs a de faul t pri ori ty o f 5 t o por t 3. Console(config)#interface ethernet 1/3 4-143 Con[...]
-
Pagina 200
Configuring the Switch 3-152 3 Mapping CoS Values to Egress Queues This switc h process es Clas s of Service (CoS) p riority tagged traffic by using eigh t priority qu eues fo r each por t, with ser vice sch edules b ased on strict or Weigh ted Round Ro bin (WRR ). Up to ei ght separate t raffic priorities ar e defined i n IEEE 802.1p. The defau lt[...]
-
Pagina 201
Class of Servi ce Configur ation 3-153 3 We b – Click Priority , T raffic Classes. Assign priorities to the traff ic classes (i .e., output que ues), th en click App ly . Figure 3- 86 Traffic Clas ses CLI – Th e fo llow ing e xamp le s hows ho w to chan ge t he Co S assi gnme nt s to a one-to -one map ping. * Mapping specific values f or CoS pr[...]
-
Pagina 202
Configuring the Switch 3-154 3 Selecting th e Queue M ode Y o u can set the s witc h to service the queues based o n a strict ru le that req uires all traffic in a higher pr iority qu eue to be pr ocessed b efore lo wer prio rity queue s are serviced, or use Weigh ted Rou nd-Ro bin (WRR ) queuin g that spe cifies a re lative weight o f each queu e.[...]
-
Pagina 203
Class of Servi ce Configur ation 3-155 3 We b – Clic k Priority , Queue Sc heduli ng. Select the interfac e, highligh t a traffic class (i.e., output queue ), enter a weigh t, then click Appl y . Figure 3- 88 Q ueue S chedu ling CLI – The followi ng exa mple sh ows how t o assign W RR weig hts to each of the priority qu eues. Console(config)#qu[...]
-
Pagina 204
Configuring the Switch 3-156 3 Layer 3/4 Priori ty Settings Mapping Layer 3/4 Pr iorities to CoS Va lues This swi tch suppo rts severa l common method s of prio ritizing laye r 3/4 traffic to meet applicat ion requ irements. Traffic priorities can be specif ied in the IP heade r of a frame, u sing the prior ity bits in the Type of Service (T o S) o[...]
-
Pagina 205
Class of Servi ce Configur ation 3-157 3 Mapping IP Preceden ce The T ype of Servi ce (T oS) oct et in t he IPv4 header incl udes t hree preced enc e bit s defining eight different priority le vels ran ging from highes t priority for netwo rk control pac ket s to lo west pri orit y fo r ro uti ne tr af fic . Th e def aul t IP Prec edenc e val ues a[...]
-
Pagina 206
Configuring the Switch 3-158 3 CLI – The followi ng exam ple glob ally enabl es IP Prece dence service on the switch , maps IP Prec edence va lue 1 to C oS value 0 (on port 1), and t hen disp lays the IP Pre ceden ce set ting s. * Mapping specific val ues for IP Precedenc e is implemented as an i nterface configuration command, but any changes wi[...]
-
Pagina 207
Class of Servi ce Configur ation 3-159 3 We b – Cl ick Pri or ity , IP DS CP Pr io rit y . Sel ec t an en tr y fr om the DS C P tab le , en ter a value in th e Class of Service V alu e field, t hen click App ly . Figure 3 -91 I P DSCP Prior ity CLI – The followi ng exam ple glob ally enabl es DSCP Priority se rvice on the switch, maps DSC P val[...]
-
Pagina 208
Configuring the Switch 3-160 3 Mapping IP Port Priority Y o u can also map netwo rk app lications t o Clas s of Service values bas ed on th e IP port numb er (i.e., TCP/U DP port nu mber) in the frame head er . Some of the m ore common TC P service ports include: HTTP: 80, FTP : 21, T elnet : 23 and POP3 : 1 10. Command Attributes • IP P ort P ri[...]
-
Pagina 209
Quality of Service 3-161 3 CLI – The followin g exam ple global ly enables IP Port Prio rity servic e on the switc h, maps HTTP traf fic (on port 1) to CoS value 0, and then displays th e IP Port Priorit y settings . * Mapping specific values f or IP Port Priority is implemented as an interface conf iguration command, but any changes will appl y [...]
-
Pagina 210
Configuring the Switch 3-162 3 Configuring Quality of Service Par ameters T o creat e a s ervice pol icy fo r a spec ific cat egory or ingre ss traffic , follow these st eps: 1. Use the “C lass Map” to desi gnate a cl ass na me for a spec ific cat egory of tra ffic. 2. Edit the rules fo r each class t o speci fy a type of traffic ba sed on an a[...]
-
Pagina 211
Quality of Service 3-163 3 Command Attributes Class Map • Modify Name and Des cription – Conf igu res th e name an d a brie f desc ript ion of a class map . (Ran ge: 1-32 ch aracte rs for the na me; 1-2 56 charac ters fo r the descri ption) • Edit Rules – Opens the “Mat ch Clas s Settings ” page fo r the selec ted clas s entry. Modi fy [...]
-
Pagina 212
Configuring the Switch 3-164 3 We b – C lick QoS , DiffServ , then click Ad d Clas s to cre ate a new class, or Edit R ules to change the rules of an exist ing class. Figure 3 -94 C onfigu ring Cl ass Ma ps CLI - This exampl e create s a class m ap call “rd -class,” and sets it to match packets marked for DSCP service value 3. Console(config)[...]
-
Pagina 213
Quality of Service 3-165 3 Creating QoS Policies This funct ion crea tes a polic y map tha t can be attache d to mul tiple interf aces. Command Usage • To configur e a Policy M ap, follow these st eps: - Cre ate a Clas s Map as de scribed on page 3 -162. - Ope n the Policy Map page, and click Ad d Policy . - When the Policy Configuration page ope[...]
-
Pagina 214
Configuring the Switch 3-166 3 Policy Rule Settings - Class Setting s - • Class N ame – Na me of class map. • Action – Show s the ser vice prov ided t o ingre ss traffic by setting a CoS, D SCP , or IP Prece dence value in a m atching pack et (as s pecified in Mat ch Class S etting s on page 3-162) . • Meter – The maxim um throug hput a[...]
-
Pagina 215
Quality of Service 3-167 3 We b – Click QoS, Dif fServ , Policy Map t o display the list of existing po licy maps. T o add a new policy ma p click A dd Policy . T o configur e the polic y rule se ttings click Ed it Classes. Figure 3-95 Con figurin g Poli cy Map s[...]
-
Pagina 216
Configuring the Switch 3-168 3 CLI – This ex ample creat es a p olicy map called “rd-p olicy ,” sets t he aver age bandwidth the 1 Mbps, the burst rate to 15 22 bps, and the respo nse to red uce the DSCP value for vi olating pack ets to 0. Attaching a Policy Map to Ingress Qu eues This funct ion binds a po licy m ap to the ing ress queu e of [...]
-
Pagina 217
Mult ic ast Fi lte rin g 3-169 3 Multicast Filtering Multicast ing is used to suppor t real- time applicat ions s uch as vid eocon ferencin g or streaming audi o. A mult icast ser ver does n ot have to establish a se parate conn ection with each client. It merely bro adcasts it s servic e to the network , and any ho sts that wan t to receiv e the m[...]
-
Pagina 218
Configuring the Switch 3-170 3 Based on t he group m ember ship in formation learned from IG MP , a router /switch ca n determi ne which ( if any) mu lticast traffic needs to be forwar ded to each of its ports. At Layer 3, mul ticast rout ers use thi s inform ation, alon g with a mu lticast rou ting protocol such as DV MRP or PIM, to sup port IP mu[...]
-
Pagina 219
Mult ic ast Fi lte rin g 3-171 3 Configuring IG MP Snooping and Query Parame ters Y ou ca n conf igure the sw itch to for ward m ulticas t traffic intellige ntly . Base d on the IGMP quer y and repo rt me ssa ges, t he sw itch for wards traf fic on ly t o the por ts that request multicast traffic. This pr events the sw itch from broadca sting the t[...]
-
Pagina 220
Configuring the Switch 3-172 3 We b – Click IGMP Snooping, IGMP Confi guration. Adjust the IGMP s ettings as required , and then click Apply . (The defaul t settings are sho wn below.) Figure 3 -97 I GMP C onfigu ration CLI – Th is examp le mo difies t he s ettings for m ulticas t filterin g, and then di splays the current status . Console(conf[...]
-
Pagina 221
Mult ic ast Fi lte rin g 3-173 3 Displaying Interfaces Attac hed to a Mu lticast Router Multicast routers t hat are attach ed to ports o n the switch use infor mation ob tained fro m IGM P , alo ng w ith a mult ica st ro uti ng pr otoc ol s uch as DV MRP or PIM, to supp ort IP m ulti casti ng acros s th e Int ern et. T hese rout ers ma y be dyna mi[...]
-
Pagina 222
Configuring the Switch 3-174 3 Specifying Static Inter faces for a M ulticast Route r Depend ing on you r netw ork conn ection s, IGMP snoopi ng may n ot alw ays be ab le to locate the IGMP quer ier . Therefor e, if the IGM P querier is a known mul ticast rout er/ swi tch c onnec ted over t he net wor k to an i nte rfac e (po rt or trun k) on your [...]
-
Pagina 223
Mult ic ast Fi lte rin g 3-175 3 Displaying Port Members o f Multicast Se rvices Y o u can disp lay the po rt memb ers assoc iated w ith a speci fied VLA N and mu lticast serv ice. Command Attribute • VLAN ID – Sele cts the VLAN for which to display por t member s. • Multicast IP Address – The IP address for a specific multicast servic e. ?[...]
-
Pagina 224
Configuring the Switch 3-176 3 Assigning Po rts to Multica st Services Multicast filtering ca n be dyna mically co nfigur ed using IG MP Snoop ing and IGM P Query me ssage s as describ ed in “C onfigur ing IGM P Snoop ing and Que ry Parame ters” on page 3 -171. For certain appl ication s that requ ire tighter contro l, you may ne ed to st atica[...]
-
Pagina 225
Mult ic ast Fi lte rin g 3-177 3 CLI – T his e xample assig ns a multicas t ad dress to VLA N 1, and the n display s al l the kno wn mul tic ast serv ices supp orte d on VLAN 1. Layer 3 IGMP (Query used wit h Multicast Routing) IGMP Snoo ping – IGMP Snoo ping is a La yer 2 func tion (page 3-1 71) that ca n be used to prov ide mul ticast filt er[...]
-
Pagina 226
Configuring the Switch 3-178 3 it will continu e to receive the m ulticas t service. The follow ing paramet ers are used to control La yer 3 IGM P and que ry functions . Command Attributes • VLAN (Inter face) – VLA N interfac e bound to a primar y IP addre ss. (Ran ge: 1- 4094) • IGMP Pro tocol Status (Adm in Status) – Enables IGM P on a VL[...]
-
Pagina 227
Mult ic ast Fi lte rin g 3-179 3 • Last Memb er Quer y In ter val – A mult icast client sen ds an IGM P leave messa ge when it l eave s a group . Th e rout er t hen c hec ks to s ee if t his was th e la st ho st i n the grou p by sendi ng an IGMP query and starti ng a timer based on th is comma nd. If no r eport s are r ecei ved bef ore th e ti[...]
-
Pagina 228
Configuring the Switch 3-180 3 We b – Click IP , IGMP , Interface Setti ngs. S pecif y each interface th at will support IGMP ( Laye r 3), s pecify the IGMP paramet ers f or eac h int erface, then click Apply . Figure 3- 102 I GMP In terfac e Setti ngs CLI – This example configures the IGMP p arameters for VLAN 1. Console(config)#interface vlan[...]
-
Pagina 229
Mult ic ast Fi lte rin g 3-181 3 Displaying Multicast G roup Informatio n When I GMP (La yer 3 ) is e nabled on this s witch t he cu rrent m ulticast groups lea rned via IGMP ca n be displ ayed in th e IP/IGMP/ Grou p Informa tion page. Wh en IGMP (Layer 3 ) is disabled a nd IGM P (Layer 2) is enabled , you ca n view the active multicast groups in [...]
-
Pagina 230
Configuring the Switch 3-182 3 Configuring Domain Name Service The Domain Naming System ( DNS) service on thi s switch allows host n ames to be mapped to IP addre sses u sing static table ent ries or by re directi on to othe r name server s on the net work. Wh en a clie nt dev ice designa tes thi s switch as a DNS server , the client will atte mpt [...]
-
Pagina 231
Configuring Doma in Name Serv ice 3-183 3 We b – Sele ct DNS, Ge neral Con figurat ion. Set the def ault dom ain nam e or list of domain nam es, spe cify on e or more name s ervers to us e to use for address resolution , enab le doma in looku p status, and cli ck Apply . Figure 3- 104 D NS Ge neral Config uration CLI - Th is exam ple se ts a de f[...]
-
Pagina 232
Configuring the Switch 3-184 3 Configuring Sta tic DNS Host to Address Entries Y o u can man ually co nfigure stati c entries i n the DNS table that are used to ma p domai n names t o IP addres ses. Command Usage • Static entr ies may be used for local devi ces con nected dir ectly to th e attached network , or for com monly used reso urces locat[...]
-
Pagina 233
Configuring Doma in Name Serv ice 3-185 3 We b – Sele ct DNS, S tatic Host T a ble. Enter a host name an d one or more corres ponding addres ses, then click Apply . Figu re 3 -105 DN S Stat ic Ho st T able CLI - Th is ex ample map s t wo ad dress to a host nam e, and the n conf ig ures a n al ias host nam e for th e same add resse s. Console(conf[...]
-
Pagina 234
Configuring the Switch 3-186 3 Displaying the DNS Cache Y o u can disp lay entri es in the DNS cache t hat have b een lea rned via th e designa ted name ser vers. Field Attributes • No – The entry nu mber fo r each res ource rec ord. • Flag – Th e flag is alway s “4” indic ating a ca che entr y and ther efore unrel iable. • Type – T[...]
-
Pagina 235
Dynamic Ho st Configura tion Proto col 3-187 3 CLI - This exam ple displa ys all the re source r ecords l earned f rom the designated name se rvers. Dynamic Host Configurati on Protocol Dynami c Host Co nfigurati on Protoc ol (DHCP) c an dyna mically al locate an IP a ddres s and other c onfigurat ion info rmat ion to net work c lients when t hey b[...]
-
Pagina 236
Configuring the Switch 3-188 3 Command Usage Y ou must specify th e IP address f or at least o ne DHCP server . Otherwise, the switch’ s DHCP relay agent wi ll not forwar d client request s to a DHCP server . Command Attributes • VLAN ID – ID of confi gured VLAN . • VLAN Name – Name of th e VLAN . • Server IP Address – Ad dresses of D[...]
-
Pagina 237
Dynamic Ho st Configura tion Proto col 3-189 3 Configuring the DHCP Server This switch includes a Dynamic Host Configuration Protocol ( DHCP) server that can assign temp orary IP a ddresse s to any attache d host reques ting servic e. It can a lso provide ot her netwo rk sett ings such as the dom ain nam e, defau lt gateway , Doma in Name Servers ([...]
-
Pagina 238
Configuring the Switch 3-190 3 We b – Click DHCP , Server , General. Enter a si ngle address or an a ddress range, and click Ad d. Figure 3-1 08 DH CP Se rver G enera l Confi guration CLI – This examp le ena bles the DH CP and sets an exclude d addre ss range. Console(config)#service dhcp 4-125 Console(config)#ip dhcp excluded-address 10.1.0.25[...]
-
Pagina 239
Dynamic Ho st Configura tion Proto col 3-191 3 Configuring Addre ss Pools Y ou m ust conf igure IP ad dress pools for eac h IP inte rface that w ill provid e address es to attached clients via the DH CP ser ver . Command Usage • First conf igure addr ess po ols for the network i nterface s. Then you can ma nually bind an ad dress to a specific cl[...]
-
Pagina 240
Configuring the Switch 3-192 3 • Client-Identifier – A unique desi gnation f or the cli ent device, either a te xt string (1-15 ch aracter s) or hex adecim al value. Setting the Optional Parameter s • Default R outer – The IP address of the p rimary and alter nate g atewa y rout er. The IP addres s of the ro uter sho uld be on the sa me sub[...]
-
Pagina 241
Dynamic Ho st Configura tion Proto col 3-193 3 Configurin g a Networ k Address Pool We b – Click DHCP , Server , Pool Configuration. Click th e Configure button for any entry . Click the r adio but ton for “ Networ k.” Enter the IP ad dress and sub net ma sk for the netwo rk pool. C onfigure the option al parame ters suc h as gateway serve r [...]
-
Pagina 242
Configuring the Switch 3-194 3 Configurin g a Hos t Address P ool We b – Click DHCP , Server , Pool Configuration. Click th e Configure button for any entry . Click the radio b utton for “ Host.” Enter the IP a ddress, subnet mask, and hardwar e addre ss for the cl ient devi ce. Con figure th e optional parameters such as gateway server and D[...]
-
Pagina 243
Dynamic Ho st Configura tion Proto col 3-195 3 Displaying Addres s Bindings Y o u can disp lay the ho st devices which h ave acq uired an I P address from thi s switch’ s DHCP server . Command Attributes • IP A d dre ss – IP addres s assigne d to hos t. • Mac Add res s – MAC addr ess of host. • Leas e time – Duration that t his IP add[...]
-
Pagina 244
Configuring the Switch 3-196 3 Configuring Router Redund ancy Router r edund ancy prot ocols us e a virtual IP addres s to suppor t a primar y route r and multipl e backu p routers. The backup routers can be co nfigur ed to take over the work load if the m aster rout er fails , or can also be co nfig ured to s hare t he tr af fi c loa d. The prima [...]
-
Pagina 245
Configuring Rout er Redundan cy 3-197 3 • Severa l vir tual master rout ers conf igured f or mutua l back up and l oad sha ring . Load shar ing can b e acco mplishe d by as signin g a subset of addr esses to diffe rent host address pools using the DHCP server. (See “Configuring Ad dress Pools” on page 3-19 1.) Virtual Router Redundancy Protoc[...]
-
Pagina 246
Configuring the Switch 3-198 3 • VRRP creates a virtual MAC address for the mas ter rou ter based on a stan dard prefix, wit h the last oc tet equa l to the grou p ID. Whe n a backu p router ta kes ove r as the maste r, it c ontinu es to f orward traffi c add ressed to thi s virtua l MAC addr ess. Howeve r, the bac kup rout er cannot reply to IC [...]
-
Pagina 247
Configuring Rout er Redundan cy 3-199 3 Command Attributes ( VRRP Group C onfiguration Detail ) • Associat ed IP Table – IP interfac es asso ciated with this vir tual route r group. • Associat ed I P – IP add ress of the v irtual rout er, or se conda ry IP address es assigne d to the curr ent VLAN interface th at are supp orted by this VRRP[...]
-
Pagina 248
Configuring the Switch 3-200 3 We b – Clic k IP , VRR P , Group Confi guration . Select the VLA N ID, en ter the VRID group num ber , and click Add. Figure 3 -1 13 V RRP G roup Config uration[...]
-
Pagina 249
Configuring Rout er Redundan cy 3-201 3 Click the Ed it button for a gr oup entr y to open th e detailed con figurat ion windo w . Enter the IP address o f a real interf ace on th is router to m ake it the m aster v irtual router fo r the group. Otherw ise, enter the virtu al addre ss for an ex isting group to make it a b ackup router . Click Add I[...]
-
Pagina 250
Configuring the Switch 3-202 3 CLI – This example creates VR RP group 1, set s this switch as t he master virtual router by assigning the primary i nterface address for the selected VLAN to the virtual IP address. It then adds a secondary IP address to t he VRRP group, set s all of the other VRRP p arameters, and then displays the configured sett[...]
-
Pagina 251
Configuring Rout er Redundan cy 3-203 3 CLI – This example displays count ers for protocol er rors for al l the VRRP groups configured on this switch. Displaying VRRP Group Statisti cs The VRRP Group S tati stics page dis plays co unters for VRRP prot ocol eve nts and errors t hat h ave o ccurre d on a spec ific VR RP in terfac e. Field Attribute[...]
-
Pagina 252
Configuring the Switch 3-204 3 We b – Clic k IP , VRR P , Group S tatistics. Se lect the VLAN and virtual ro uter group . Figure 3-116 VRRP Grou p Stati stics CLI – This example displays VRRP protocol statistics for gr oup 1, VLAN 1. Console#show vrrp 1 interface vlan 1 coun ters 4-324 Total Number of Times Transitioned to MA STER : 6 Total Num[...]
-
Pagina 253
IP Routing 3-205 3 IP Routing Overview This switc h suppo rts IP routing an d routin g path mana gement via static routin g definitions (page 3-223) and dyn amic rout ing such as RIP (page 3-2 25) or OSPF (page 3-235 ). When IP routing is en abled (page 3-226 ), this switc h acts as a wire-spee d router, passing t raffic between VL ANs usi ng diffe[...]
-
Pagina 254
Configuring the Switch 3-206 3 IP Swit chin g IP Switchi ng (or pac ket for warding ) encom passes tasks requir ed to fo rward packe ts for both Lay er 2 and Layer 3, as w ell as trad itional rou ting. Thes e function s inclu de: • Layer 2 for war ding (swit chi ng) based on t he La yer 2 des tinat io n MAC a ddres s • Layer 3 for war ding (rou[...]
-
Pagina 255
IP Routing 3-207 3 the high throug hput and low laten cy of s witc hing b y ena bling th e traffic to bypass the routing en gine once the path calcu lation has been per form ed. Rout ing Pa th Mana gem ent Routing Path M anageme nt invo lves the d eterm ination a nd upda ting of al l the rou ting inform ation requ ired for packe t forwardi ng, incl[...]
-
Pagina 256
Configuring the Switch 3-208 3 Basic IP Interf ace Configuration T o allow rou ting betwee n differen t IP subne ts, you m ust e nabl e IP R outi ng as described in this section. Y ou a lso need to yo u define a VLAN for each IP subnet that will b e connected dir ectly to this switch. Note that you must first create a VLAN as describ ed unde r “C[...]
-
Pagina 257
IP Routing 3-209 3 Configuring I P Routing Interfaces Y o u can speci fy the IP subne ts connected t o this rout er by man ually as signing an IP addr ess to eac h V LAN, or by usi ng the RIP or O SPF d ynam ic ro uti ng pr otoc ol t o identify ro utes tha t lead to other interfac es by ex changin g protoc ol mess ages with other rout ers on th e n[...]
-
Pagina 258
Configuring the Switch 3-210 3 We b - Click IP , General, Rou ting Interface. S pecify a n IP interface for each VLAN that will sup port rou ting to other subne ts. First specify a primary address, and clic k Set IP Conf iguration . If you ne ed to assign second ary add resses, enter thes e address es one at a t ime, and cl ick Set IP Con figur ati[...]
-
Pagina 259
IP Routing 3-211 3 Address Resolut ion Protocol If IP routin g is enabled (page 3-208) , the rou ter uses its routing tables to ma ke routing de cision s, and use s Addre ss Resolu tion P rotoco l (ARP) to forward tra ffic from one hop to the n ext. ARP is used to ma p an I P addres s to a phys ical layer (i.e., MAC) add ress. W hen an I P frame is[...]
-
Pagina 260
Configuring the Switch 3-212 3 Basic ARP Config uration Y ou ca n use th e ARP Gener al conf iguration m enu to spe cify the tim eout for ARP cac he en tri es, or to enab le P roxy ARP f or speci fic VLAN inte rf aces. Command Usage • The aging time de termine s how long dy nam ic entrie s remain t he cach e. If the timeout i s too sho rt, the r [...]
-
Pagina 261
IP Routing 3-213 3 Configuring Stat ic ARP Address es For devices that do not re spond to ARP requests, tr affic will be dropped because the IP addres s cann ot be map ped to a physical ad dress . If this occu rs, you ca n manuall y map an IP addres s to the co rrespon ding phy sical ad dress in the ARP . Command Usage • You can def ine up to 128[...]
-
Pagina 262
Configuring the Switch 3-214 3 Displaying Dyna mically Learned ARP Entries The ARP c ache cont ains ent rie s th at ma p IP a ddre sse s to t he co rres pondi ng physica l address. Mo st of these entries will be dynamically lea rned through re plies to broadcast messa ges. Y ou can d isplay all of the dynam ic entries in the AR P cache, change spec[...]
-
Pagina 263
IP Routing 3-215 3 CLI - This exampl e shows all ent ries in the AR P cache. Displaying Local ARP Entries The A RP cac he al so cont ains en tri es for loca l int erfa ces, incl udin g sub net, host , and broadca st a ddresse s. Command Attributes • IP A d dre ss – IP addres s of a loca l entry in t he cach e. • MAC Address – MAC ad dress m[...]
-
Pagina 264
Configuring the Switch 3-216 3 CLI - This router uses the T ype sp ecificati on “other” to indicate local cache entries in the ARP cach e. Displaying ARP Statistics Y ou ca n disp lay statistics f or ARP mes sages crossing al l interface s on this rou ter . We b - Click IP , ARP , S tati stics. Figure 3- 123 A RP Sta tistics Console#show arp 4-[...]
-
Pagina 265
IP Routing 3-217 3 CLI - This exampl e provid es detailed statist ics on com mon IP -related protoco ls. Displaying Stat istics for IP Protocols IP Statistics The Intern et Proto col (IP) provid es a mec hanism for transm itting bloc ks of data (often cal led pack ets or fr ames ) from a s ource t o a desti nation , whe re th ese n etwork devices ([...]
-
Pagina 266
Configuring the Switch 3-218 3 Datagram s Forw arded The number of inpu t datag rams f or which th is entit y was n ot the ir final IP destinatio n, as a result of whic h an a ttempt was made to find a rou te to forwar d them to that fin al dest ination . Reassem bly Req uired Th e numbe r of IP fragm ents rec eived wh ich needed to be reasse mbled[...]
-
Pagina 267
IP Routing 3-219 3 We b - Click IP , S tatistics, I P . Figure 3-1 24 IP Statis tics CLI - See the exam ple on page 3-216 . ICMP Statistic s Internet C ontrol M essage Pro tocol (IC MP) is a ne twork laye r protoc ol that trans mits mess age p acket s to repor t e rrors in proces sing IP pac ket s. I CMP i s th eref ore an integral par t of the Int[...]
-
Pagina 268
Configuring the Switch 3-220 3 We b - Click IP , S tatistics, I CMP . Figure 3 -125 ICMP S tatisti cs CLI - See the exam ple on page 3-216 . Timestamps The n umber of ICMP Timestam p (requ est) m essage s rece ived/se nt. Timestamp Re plies The number of ICM P Timestam p Rep ly mes sages receive d/sent . Address M asks The numb er of I CMP A ddress[...]
-
Pagina 269
IP Routing 3-221 3 UDP Statistics User Datagr am Protoco l (UDP) provide s a datagram m ode of packet- switche d commu nic ation s. I t u ses IP as t he un derl ying tran spo rt me chani sm, prov idin g access to I P-like services. UDP packets are delivered ju st like IP p ackets – connect ion-less datagram s that m ay be disc arded bef ore reac [...]
-
Pagina 270
Configuring the Switch 3-222 3 TCP Statistics The Transmission C ontrol Pro tocol (TCP ) provide s highl y reliable hos t-to-ho st connect ions i n packe t-switc hed netwo rks, a nd is used in c onjunct ion w ith IP to support a wide varie ty of Inter net prot ocols. We b - Click IP , S tatistics, TCP . Figure 3- 127 T CP Sta tistics CLI - See the [...]
-
Pagina 271
IP Routing 3-223 3 Configuring Sta tic Routes Thi s ro uter can d ynam icall y co nfig ure rout es to oth er net wor k segm ent s us ing dynamic r outing pro tocols (i.e ., RIP or OS PF). Howev er , you can also manua lly enter static ro utes in the routing table. S tatic routes ma y be requi red to acc ess network segme nts whe re d ynamic rout in[...]
-
Pagina 272
Configuring the Switch 3-224 3 Displaying the Rout ing Table Y o u can di splay all the rou tes tha t can be a ccess ed via t he local networ k inter faces, via static routes , or via a d ynamical ly learne d route. If route inform ation is availabl e throug h more than one of thes e metho ds, the pr iority for rou te selec tion is local , static, [...]
-
Pagina 273
IP Routing 3-225 3 CLI - This exampl e shows r outes obtain ed from various me thods. Configuring t he Routing Information Protocol The RIP pro tocol is the m ost wide ly used rout ing protoc ol. The RI P protoc ol uses a distance-v ector- based appr oach to r outing. R outes ar e determi ned on the basis of minimiz ing the dis tance vecto r , or h[...]
-
Pagina 274
Configuring the Switch 3-226 3 routing loops may occu r , a nd its sm all h op cou nt limitation of 15 restric ts its use to smaller net work s. Moreov er , RIP (versi on 1) wa stes valuab le netwo rk band width by pro pagating routing infor mation via b road casts; it also cons iders too f ew network variables to make t he best ro uting de cision [...]
-
Pagina 275
IP Routing 3-227 3 We b - Click Ro uting Prot ocol, RIP , Gene ral Settings . Enab le or disable RI P , set the RIP version used on previous ly unset inte rfaces to RIPv1 or RIPv 2, set the ba sic update time r, and th en click App ly. Figure 3 -130 RIP G eneral Settin gs CLI - Th is ex ample se ts the r out er to use R IP V ers ion 2, and set s t [...]
-
Pagina 276
Configuring the Switch 3-228 3 Specifying Network I nterfaces for R IP Y ou mu st spe cif y net work inte rfac es t hat will be i nclud ed in th e RIP rou ting proc ess. Command Usage • RIP only s ends up dates to interface s spec ified by this comma nd. • Subne t addres ses are int erprete d as cl ass A, B o r C, base d on th e first fiel d in[...]
-
Pagina 277
IP Routing 3-229 3 Configuring Netw ork Interfaces for RIP For each inte rface that participates in the RIP routing pro cess, you must spec ify the protocol messag e type ac cept ed (i.e. , RIP versi on) and t he mes sage typ e sent ( i.e., RIP v ers ion o r com pat ibi lit y mod e), t he me thod for preve nti ng l oopba ck of prot ocol messag es, [...]
-
Pagina 278
Configuring the Switch 3-230 3 Protocol Messa ge A uthen tication RIPv1 is n ot a secure pr otocol . Any devi ce sendin g protoc ol message s from UDP por t 520 will be cons ider ed a ro uter by its n eigh bors . Mali cio us or u nwant ed pr otocol messag es can be easily pro pagated througho ut the ne twork if no authen ticatio n is required . RIP[...]
-
Pagina 279
IP Routing 3-231 3 • Authen tication Key – Specifies the ke y to use for authe nticat ing RIPv 2 packets. For auth entication to functio n proper ly, both th e sending and recei ving inte rface must use t he same passw ord. (Ran ge: 1-16 charact ers, cas e sensit ive) We b - Click Ro uting Prot ocol, RIP , Interfac e Settings . Select th e RIP [...]
-
Pagina 280
Configuring the Switch 3-232 3 Displaying RIP Information a nd Statistics Y o u can disp lay basi c inform ation ab out the cu rrent glo bal config uration se tting s for RIP , statistics abou t rou te cha nges and queries , infor mati on abou t the inter faces on thi s rout er th at are us ing R IP , and i nfor mati on abou t kno wn RIP pe er dev [...]
-
Pagina 281
IP Routing 3-233 3 We b - Click Ro uting Prot ocol, RIP , S tatistics. Figure 3 -133 R IP Sta tistics[...]
-
Pagina 282
Configuring the Switch 3-234 3 CLI - The informa tion displa yed by the R IP St atistics scr een via t he web int erface can be acce ssed from the C LI u sing t he fo llow ing com mand s. Console #show r ip glob als 4- 264 RIP Pro cess: Enable d Update Ti me in Seco nds: 30 Number of Ro ute Cha nge: 4 Numb er of Q ueries : 0 Console #show i p rip c[...]
-
Pagina 283
IP Routing 3-235 3 Configuring t he Open Shortest Path First Protocol Open Sho rtest Path Firs t (OSPF) is mo re suited for large area ne tworks wh ich experienc e freque nt cha nges in th e links. It also handl es subnets muc h better than RIP . OSPF prot ocol ac tively tests the status of each link t o its neighbo rs to gen erate a short est path[...]
-
Pagina 284
Configuring the Switch 3-236 3 • OSPFv2 is a co mpatible u pgrade to O SPF . It invol ves enhanc eme nts to protocol messag e authent ication , and the a ddition of a poi nt-to- multipo int interfac e which allows OSPF to run ove r non-br oadca st networ ks, as w ell as suppo rt for overlappi ng area r anges . • When using OSPF , yo u mus t org[...]
-
Pagina 285
IP Routing 3-237 3 • AS Boundary Router 29 – Allo ws this router to exchang e rout ing inform ation wit h bou ndary ro uters in other auto nomo us system s to which it may be attached. I f a router is enab led as an ASBR, the n eve ry ot her rout er i n the autonom ous s yste m can lea rn about exte rnal rou tes from t his device . (Defau lt: D[...]
-
Pagina 286
Configuring the Switch 3-238 3 We b - Click Ro uting Protoc ol, OSP F , Gene ral Configur ation. Ena ble OSPF , specify the Route r ID, con figure the ot her globa l parameters a s requir ed, and cl ick Apply . Figure 3 -134 OSPF Gener al Con figurat ion CLI - Th is ex ample co nfigu res the rout er wi th t he sam e se tti ngs as show n in the scre[...]
-
Pagina 287
IP Routing 3-239 3 Configuring O SPF Areas An autono mous sys tem m ust be conf igured with a back bone area , design ated by area ident ifier 0.0. 0.0. By def ault, al l other are as are cr eated as n ormal transit are as. Rout ers i n a norma l area may imp ort or ex port routi ng in forma tio n about indi vidu al nodes. T o reduce th e amount of[...]
-
Pagina 288
Configuring the Switch 3-240 3 • Routes t hat can be ad vertised with NSS A externa l LSAs include net work destinat ions outside the AS learne d via OSPF , the defaul t route, static routes, routes der ived from other ro uting prot ocols su ch as RI P, or directl y connect ed network s that are not ru nning O SPF. • Also, note that unli ke stu[...]
-
Pagina 289
IP Routing 3-241 3 We b - Click Ro uting Prot ocol, OSP F , Are a Configu ration. S et any are a to a stub or NSSA as required, specify the cos t for the defa ult summary ro ute sent into a stub, and click Ap ply . Figur e 3- 135 OSP F Area Conf igur atio n CLI - This exampl e config ures area 0.0.0.1 as a normal area, area 0. 0.0.2 as a stub, and [...]
-
Pagina 290
Configuring the Switch 3-242 3 Configuring Area Ranges (Ro ute Summariz ation for ABRs ) An OSPF area can inc lude a large numb er of node s. If the Area B order Router (ABR) has to advert ise route inform ation f or e ach of these node s, th is wastes a l ot of bandw idth and proce ssor time. Instead, you c an c onfigu re an ABR t o adv ertise a s[...]
-
Pagina 291
IP Routing 3-243 3 We b - Click Ro uting Prot ocol, OSP F , Are a Range Co nfigur ation. S pec ify the area identifie r , the base addre ss and network mas k, select whet her or n ot to ad vertise t he summ ary route to other areas , and then click Appl y . Figure 3-136 OS PF Ra nge C onfigur ation CLI - This exampl e sum mariz es al l the rout es [...]
-
Pagina 292
Configuring the Switch 3-244 3 Configuring O SPF Interfaces Y ou sh ould specify a rou ting inte rface for any local sub net that needs to comm unicate with othe r netw ork segm ents loc ated on thi s rout er or elsew here i n the network. First configure a VLAN fo r each subnet that will be directl y connected to this rou ter , ass ign IP in terfa[...]
-
Pagina 293
IP Routing 3-245 3 - On sl ow link s, the rout er may sen d pack ets mor e quickly t han dev ices can receive t hem. To avoid t his prob lem, yo u can u se the tran smit delay to f orce the router to wait a spec ified inter val betw een tran smiss ions. • Retransmit Inter val – Sets the tim e betwe en re sending link-st ate adv ertisem ents. (R[...]
-
Pagina 294
Configuring the Switch 3-246 3 - You can ass ign a unique pa ssw ord to each ne twork (i.e., auto nomous system ) to impro ve the secu rity of the ro uting da tabase. However , the pas sword must be used cons istent ly on all neig hboring routers th roughou t a netw ork. • Messag e Diges t Key-id – As sign s a key-id used in con junction with t[...]
-
Pagina 295
IP Routing 3-247 3 Chan ge any of the in terf ace- spec ifi c prot ocol par amete rs, an d then click Ap ply . Figure 3-138 OS PF In terface Config uratio n - Det ailed CLI - Th is ex ampl e co nfi gures the int erfa ce p ara met ers f or VL AN 1. Console(config)#interface vlan 1 Console(config-if)#ip ospf priority 5 4-282 Console(config-if)#ip osp[...]
-
Pagina 296
Configuring the Switch 3-248 3 Configuring Virtua l Links All OSPF areas mus t connect to th e backbone . If an area does not have a direct phy sical c onnection to the backbone , you c an confi gure a vir tual link t hat provid es a log ical path to the back bone. T o c onnec t an isolated area to the ba ckbon e, the logical path ca n cross a sing[...]
-
Pagina 297
IP Routing 3-249 3 We b - Click R outin g Protoc ol, OSPF , Virtual Link Conf igurati on. T o creat e a new virtual l ink, sp ecify th e Are a ID and Neigh bor Ro uter I D, conf igure th e link attribute s, and click Ad d. T o mod ify the set tings for an existin g link, click th e Detail button f or the requi red entry , modify the link setti ngs,[...]
-
Pagina 298
Configuring the Switch 3-250 3 Configuring Netw ork Area Address es OSPF pro tocol broa dcast mess ages ( i.e., Link St ate Adver tisemen ts or LSAs) are restricte d by area to limit their impact on netw ork perfor man ce. A large ne twork should be split up into separate OSPF areas to increase networ k stability , and to reduce pr otocol traffic b[...]
-
Pagina 299
IP Routing 3-251 3 We b - Click Ro uting Prot ocol, OSP F , Networ k Area Ad dress Con figuration . Conf igur e a b ackbo ne area t hat is conti guous wit h al l the oth er a reas in you r network , configure a n area for all of the othe r OSPF inte rfaces, t hen click App ly . Figure 3- 140 O SPF N etwor k Area Addre ss Con figura tion[...]
-
Pagina 300
Configuring the Switch 3-252 3 CLI - This exampl e config ures the backbo ne area and one trans it area. Console(config-router)#network 10.0.0.0 2 55.0.0.0 area 0.0.0.0 4-273 Console(config-router)#network 10.1.1.0 2 55.255.255.0 area 0.0.0.1 Console(config-router)#end Console#show ip ospf 4-284 Routing Process with ID 10.1.1.253 Supports only sing[...]
-
Pagina 301
IP Routing 3-253 3 Configuring Sum mary Addresse s (for Extern al AS Routes) An Autono mous Syst em Boun dary Ro uter (ASB R) can redi stribute r outes lear ned from oth er protocol s into a ll attached aut onomous syste ms. (See “ Redi stribut ing External Routes” on page 3-254 ) T o reduc e the amo unt of exter nal LSAs im ported into your lo[...]
-
Pagina 302
Configuring the Switch 3-254 3 CLI - Th is ex ample Th is ex ampl e cre ates a su mmary addr ess f or al l route s contained in 192.168. x.x. Redistributing External Routes Y o u can conf igure thi s router to im port exter nal rou ting info rmation from othe r routing pr otocols i nto the au tonom ous syste m. Command Usage • This route r suppor[...]
-
Pagina 303
IP Routing 3-255 3 We b - Click R outin g Protoc ol, OSPF , Redistrib ute. Specify the protoco l type to import, the m etric ty pe and path cos t, then clic k Add. Figure 3-1 42 O SPF Re distrib ute Co nfigur ation CLI - This exampl e redistrib utes rout es learned from RI P as T ype 1 externa l routes . Configuring NSSA Se ttings Use the OSPF / NS[...]
-
Pagina 304
Configuring the Switch 3-256 3 Note: This router supports up 16 areas , either normal transit areas, stubs, or NSSAs. We b - Click Routing P rotocol, OSPF , NSSA Settings. Create a new NSSA or modify the routing b ehavi or for an exist ing NSS A, and c lick Apply . Figure 3 -143 OSPF NSSA Settin gs CLI - This exampl e config ures area 0.0.0.1 as a [...]
-
Pagina 305
IP Routing 3-257 3 Displaying Link State Data base Informati on OSPF route rs advertise routes usi ng Link S tate Advertisem ents (LSAs). Th e full col lect ion of L SAs c ollec ted by a rout er in terf ace f ro m the att ach ed are a is k nown as a link st ate dat abase. Routers that are connected to multiple in terfaces will h ave a separate da t[...]
-
Pagina 306
Configuring the Switch 3-258 3 We b - Cli ck Routin g Protoc ol, OSPF , Link S tate Database Informa tion. Specify parameter s for the LSAs y ou want to dis play , th en click Q uery . Figure 3 -144 OSPF Link S tate Da tabase Inform ation CLI - The CLI provide s a wide r select ion of disp lay opt ions for vi ewing the Link S tate Database. See “[...]
-
Pagina 307
IP Routing 3-259 3 Displaying Inform ation on Border Routers Y ou c an di splay e ntries in t he local r outing table for A rea Bord er Route rs (ABR) and Autonomo us Syst em Bound ary Rou ters (ASBR ) known by t his device . Field Attributes • Dest inat ion – Identifier for t he destinat ion rou ter. • Next Hop – IP addres s of the nex t h[...]
-
Pagina 308
Configuring the Switch 3-260 3 Displaying Inform ation on Neighbor Routers Y o u can disp lay about neighbo ring ro uters on e ach inte rface with in an OSP F area. Field Attributes • ID – Ne ighbor’s rout er ID. • Priority – N eigh bor’s ro uter p riority. • State – OSPF state and identif ication flag. States inc lude: - Down – C[...]
-
Pagina 309
Multic ast Rou ting 3-261 3 Multicast Routing This route r can rout e multicas t traffic to different su bnetwo rks usin g either Di stance V ec tor Mu lticast Rout ing Protoc ol (DVM RP) or Prot ocol-Ind epend ent Multic asting - Dense Mo de (PI M-DM). These prot ocols flo od mul ticast tra ffic downstr eam, an d calculat e the shor test-path, so [...]
-
Pagina 310
Configuring the Switch 3-262 3 Displaying the Mult icast Routing Table Y o u can disp lay infor mation on each m ulticast route thi s router has learned via DVMRP or PIM. The r outer lear ns multicas t route s from nei ghboring r outers, and also adv ertises thes e routes to its neighbo rs. The rout er stores en tries for all paths learned by itsel[...]
-
Pagina 311
Multic ast Rou ting 3-263 3 We b – Click IP , Multicast Routing, Multicas t Routing T ab le. Click Detail to d isplay addition al informa tion for an y entry . Figure 3-148 Mu lticas t Routi ng T able[...]
-
Pagina 312
Configuring the Switch 3-264 3 CLI – This examp le show s that mul ticast forw arding i s enable d. The mult icast routing table displays on e entry fo r a multicas t source routed by DVMR P , and another sou rce rout ed via PIM . Console#show ip mroute 4-299 IP Multicast Forwarding is enabled. IP Multicast Routing Table Flags: P - Prune, F - For[...]
-
Pagina 313
Multic ast Rou ting 3-265 3 Configuring DVMRP The Distance- V ector Multicas t Routing Pr otocol (DVMRP ) behaves somew hat similarly to RIP . A router su ppor ting DVM RP p eriodicall y floods its attached netw orks to pass inform ation ab out suppo rted mu lticast ser vices alon g to new routers and hosts. Router s that rece ive a DVM RP packet s[...]
-
Pagina 314
Configuring the Switch 3-266 3 Command Usage Broadca sting pe riodicall y floods the network wi th traf fic from a ny active mul ticast serv er . If IGMP snoopin g is disabl ed, mult icast tra ffic is flooded to all ports on the router. However , if IGMP s noopin g is enabled , then the f irst packet for any source group pair is flooded to all DVM [...]
-
Pagina 315
Multic ast Rou ting 3-267 3 which th is device ha s receiv ed prob es, and is use d to veri fy whethe r or not thes e neighbo rs are s till active membe rs of t he multi cast tree . (Range : 1-655 35 sec onds; Default: 10 se conds ) • Neighbor T imeout Interva l – Sets the inter val to wait for messages fr om a DVMRP neighb or before de claring[...]
-
Pagina 316
Configuring the Switch 3-268 3 We b – Click Routing Protoc ol, DVMRP , General Settings. Enable o r disable DVMRP . Set the gl obal parame ters th at control nei ghbo r timeout, the excha nge of routing inf ormati on, or the prune lifetime , and click Apply . Figure 3 -149 DVMR P Gene ral Se ttings CLI – This sets the glob al parame ters for DV[...]
-
Pagina 317
Multic ast Rou ting 3-269 3 DVMRP Interface Settings • VLAN – Selec ts a VLA N inte rf ace on t his rou ter. • Metric – Sets the metric f or this inte rface us ed to calc ulate dista nce vec tors. • Status – Enabl es or disab les DVMRP. - If DVM RP is enabled on any inter face, Layer 3 IGMP should al so be enab led on the router (page 3[...]
-
Pagina 318
Configuring the Switch 3-270 3 Displaying Neigh bor Information Y ou ca n disp lay all the nei ghbo ring DVM RP router s. Command Attributes • Neighbor Addres s – The IP add ress o f the ne twork de vice i mmediat ely ups tream for this multicast deli very tree. • Inte rfa ce – Th e IP inte rface on this router tha t conn ects to the upstre[...]
-
Pagina 319
Multic ast Rou ting 3-271 3 Displaying the Routing Tab le The router lea rns so urce-ro uted info rmation from neig hboring DVMRP r outers an d also adv ertises lear ned rout es to its neighbo rs. The ro uter mere ly records path inf orma tion it h as l earn ed on its own or f rom other rout er s. It doe s not c ons ider group m embers hip or prune[...]
-
Pagina 320
Configuring the Switch 3-272 3 CLI – This examp le display s known DVMR P routes. Configuring PI M-DM Protocol -Indepe ndent M ulticasti ng (PIM ) provides two different m odes of ope ration: sparse mod e and den se mode. S parse mode (SM) is desi gned for netwo rks where the pro bability of multicas t group m em bers is lo w , such as t he Inter[...]
-
Pagina 321
Multic ast Rou ting 3-273 3 We b – Click Rou ting Pro tocol, PIM -DM, Gen eral Sett ings. Enabl e or disabl e PIM-DM glo bally for the router, and click Ap ply . Figure 3-1 53 P IM-DM Gener al Sett ings CLI – Th is ex ampl e en ables PIM- DM glo ball y an d di spla ys t he cur rent st atus . Configuring PIM-DM Interfa ce Settings T o fully enab[...]
-
Pagina 322
Configuring the Switch 3-274 3 • Trigger Hello Int erval – Configure s the maximum ti me before transmitting a triggered PI M hello mes sage after the router is rebo oted or PIM is enabl ed on an interface. (Rang e: 1-655 35 seco nds; De fault: 5) - When a rou ter first starts or PIM is e nabled o n an int erface , the he llo-interva l is set t[...]
-
Pagina 323
Multic ast Rou ting 3-275 3 We b – Click Routing Protocol, PIM-DM, Interfa ce Settings. Select a VLAN, enable or disable PI M-DM for the se lected interface , modi fy any of the pro tocol param eters as required , and click Ap ply . Figure 3-1 54 P IM-DM Interfa ce Set tings CLI – Thi s e xampl e se ts the PIM- DM pr otoc ol p aramete rs f or V[...]
-
Pagina 324
Configuring the Switch 3-276 3 Displaying Interfa ce Information Y ou ca n dis play a sum mary of the curre nt interfac e status for PIM -DM, including the number of neighbor ing PIM ro uters, and the add ress of the de signat ed PIM ro uter. Command Attributes • Inte rfa ce – A VLA N inte rface on this r outer. • Address – Th e IP addres s[...]
-
Pagina 325
Multic ast Rou ting 3-277 3 We b – Click Routing Pr otocol, PIM-DM, Neig hbor Information. Figure 3 -156 PIM-DM Neigh bor In format ion CLI – This examp le display s the onl y neighbo ring PIM-D M router . Console#show ip pim neighbor 4-316 Address VLAN Interface Uptime Expire Mode --------------- ---------------- -------- -------- ------- 10.1[...]
-
Pagina 326
Configuring the Switch 3-278 3[...]
-
Pagina 327
4-1 Chapter 4: Command Line Interface This chap ter desc ribes ho w to use the Comman d Line Interface (CLI). Using the Command Line Interface Accessing the CLI When acc essi ng the ma nagemen t interf ace for the sw itch over a direc t conne ction to the serve r ’s conso le port, or vi a a T elnet con nectio n, the swi tch can be manag ed by ent[...]
-
Pagina 328
Command Line I nterface 4-2 4 T o acce ss the swi tch throug h a T eln et sessio n, you m ust firs t set the IP ad dress fo r the switch , and se t the defaul t gatewa y if you are m anag ing the swi tch from a different IP su bnet. For exa mple, If your cor porate n etwork i s connect ed to anot her netwo rk outside your office or to the Int ernet[...]
-
Pagina 329
Entering Co mmands 4-3 4 Entering Commands Thi s sect ion desc ri bes how t o ente r CLI com mands. Keywords and Argument s A CLI comma nd is a ser ies of keyw ords and ar gumen ts. Keyword s identify a comm and, and ar guments specify con figuration paramete rs. For exam ple, in the comma nd “show inte rfac es s ta tus ether net 1 /5, ” show i[...]
-
Pagina 330
Command Line I nterface 4-4 4 Showing Com mands If you ente r a “?” at the co mman d prompt , the sys tem will display th e first leve l of keywords for the cu rrent com man d class (N ormal Exec or Privil eged Exec) or configuration c lass (Global, ACL, DHCP , Interface, Lin e, Router , VLAN Dat abase, or MSTP). Y o u can also d isplay a list [...]
-
Pagina 331
Entering Co mmands 4-5 4 The comman d “ show interf aces ? ” will display the following informati on: Partial Keyword Lookup If you termi nate a partial keywor d with a ques tion mar k, altern atives tha t match th e initial lette rs are pro vided. (Re mem ber not to leav e a space bet ween t he comm and and quest ion mark. ) For exam ple “ s[...]
-
Pagina 332
Command Line I nterface 4-6 4 Understanding Command Modes The comm and set is divided into Exec and C onfig uration clas ses. Exec comm and s general ly displa y inform ation on system status or clea r statistical co unters. Configu ration co mman ds, on the oth er hand, modify in terfac e paramet ers or e nable certain switch ing func tions. The s[...]
-
Pagina 333
Entering Co mmands 4-7 4 Configurati on Commands Configu ration com mand s are pr ivileged level co mmand s used to m odify sw itch settings . These com mands m odify the run ning conf igurati on only and are not saved when the sw itch is rebooted . T o stor e the runn ing config uration i n non-vol atile storag e, use the copy runnin g-config star[...]
-
Pagina 334
Command Line I nterface 4-8 4 T o enter the other m odes, at the configu ration pr ompt type one of the f ollowing comm ands. U se t he exit or end command to r eturn to the Privileged Exec mo de. For exam ple, you can use the followin g comma nds to ent er interfac e conf iguration mode, and th en return to Priv ileged Exec mode T a ble 4-2 Con fi[...]
-
Pagina 335
Entering Co mmands 4-9 4 Command Line Processi ng Comma nds ar e not case se nsitive . Y ou can abbr eviate comma nds and parameters as long as they contain en ough let ters to different iate them from any ot her cur rently availabl e comm ands or param eters . Y ou can use t he T ab k ey to com plete partial comm ands, or enter a partial c omman d[...]
-
Pagina 336
Command Line I nterface 4-10 4 Command Groups The syst em com mands can b e brok en do wn into the fun ctiona l groups show n be low . T able 4-4 C omm and G roup In dex Comman d Grou p De scripti on Page Line Se ts com munica tion param eters f or the serial p ort and T elnet, including bau d rate and conso le time-ou t 4-1 1 General Basic comma n[...]
-
Pagina 337
Line Commands 4-11 4 The access mode shown in th e followi ng tables is indi cated by t hese abbr eviation s: NE (Nor ma l Exe c) MST (Multiple Spanning T ree) PE (Privileg ed Exec) ACL (Access Control L ist Configurat ion) GC (Global Configur ation) DC (DHCP Ser ver Co nfiguratio n) LC (Line Co nfigurat ion) RC ( Rout er Co nfi gurat io n) IC ( In[...]
-
Pagina 338
Command Line I nterface 4-12 4 line This comm and id entifie s a spe cific line for con figuration , and to process subse quent line conf iguratio n comm ands. Syntax line { console | vty } • console - Consol e termin al line. • vty - Vi rtua l ter min al fo r re mote c onso le ac ces s (i. e., Telne t). Default Sett ing Ther e is no defaul t l[...]
-
Pagina 339
Line Commands 4-13 4 Command Usage • There are three authe nticati on modes provide d by the switch itsel f at login: - log in sel ects aut henticat ion by a si ngle globa l pass word as specified by the password li ne configur ation c omman d. When using thi s meth od, the management in terface st arts in No rmal Exec (NE) mode. - login local se[...]
-
Pagina 340
Command Line I nterface 4-14 4 • The enc rypted passwor d is requ ired for comp atibi lity with legac y pass word settings (i.e., plain text or encr ypted) wh en read ing the c onfigurat ion file during sys tem bo otup o r when dow nload ing the configur ation fi le from a TFTP server . There is no ne ed fo r you t o manua lly co nfigure e ncry p[...]
-
Pagina 341
Line Commands 4-15 4 exec-time out This comm and se ts the interval that the sys tem wai ts until user in put is dete cted. Use t he no form to re store the d efault . Syntax exec-tim eout [ seconds ] no exec-time out seconds - Integer that specifies the ti meout interval. (Range: 0 - 65535 seconds; 0: no timeout) Default Sett ing • CLI: N o time[...]
-
Pagina 342
Command Line I nterface 4-16 4 Command Usage • When th e logon at temp t threshold i s reache d, the sy stem int erface become s silent for a specified amount of time befor e allowing the next logon attem pt. (Use the silent-time com ma nd to se t th is inte rv al .) W hen th is th re sho ld is reached for Telnet , the Telnet lo gon inte rface sh[...]
-
Pagina 343
Line Commands 4-17 4 databits This comm and se ts the number of data bits per chara cter that are interp reted and generat ed by the co nsole po rt. Use the no for m to resto re th e defau lt va lue. Syntax da ta b its { 7 | 8 } no databit s • 7 - Seven data b its per ch aracte r. • 8 - Eig ht data bits pe r character. Default Sett ing 8 data b[...]
-
Pagina 344
Command Line I nterface 4-18 4 Command Usage Commu nication protoco ls provid ed by dev ices suc h as te rminals and mode ms often require a sp ecific parit y bit setting . Example T o specify no parity , enter this command: speed This command set s the ter minal line’ s baud rate. Th is command set s both the transmi t (to termina l) and re ceiv[...]
-
Pagina 345
Line Commands 4-19 4 Default Sett ing 1 stop bit Command Mode Line Co nfigur ation Example T o speci fy 2 stop bits, enter this comm and : disco nnect Thi s comm and t ermi nate s an S SH, T elne t, o r co nsol e conn ect ion. Syntax disconnect session -id sessio n-i d – The session ide ntifier for an SSH, T elnet or con sole connection. (Range: [...]
-
Pagina 346
Command Line I nterface 4-20 4 Example T o show all lines, en ter this co mmand : General Commands enab le Thi s com mand a cti vates Priv il eged E xec m ode. In pr ivi leg ed mode , ad dit ional comm ands a re avai lable, an d certain c omman ds di splay a dditiona l inform ation. See “Unde rstandin g Comma nd Mod es” on page 4-6. Syntax enab[...]
-
Pagina 347
General Co mmands 4-21 4 Default Sett ing Level 15 Command Mode Normal Exec Command Usage • “super ” is the d efault p asswor d re quired to chan ge the c omma nd m ode fro m Normal Exec to Pr ivileged Exec. (To s et this password, s ee the enable password c omman d on page 4-28.) • The “#” ch aracter is append ed to the e nd of the pro[...]
-
Pagina 348
Command Line I nterface 4-22 4 configure This c omman d ac tivates Glob al Conf iguration mo de. Y ou mus t ent er this mode to modify an y setting s on the switch. Y ou m ust also enter Glo bal Con figurat ion mod e prior to en abling som e of the oth er confi guration mode s, including Interfac e Configu ration, Lin e Config uration, VLAN Databas[...]
-
Pagina 349
General Co mmands 4-23 4 The ! comman d re peat s co mmand s fro m the Exec utio n com mand hi st ory bu ff er when yo u are in Norm al Exec or Pri vileged Exe c Mod e, and comm ands from the Configu ration com mand history buffer when you ar e in any of the config uratio n mode s. In t his ex ample , the !2 comman d re peats the se cond co mman d [...]
-
Pagina 350
Command Line I nterface 4-24 4 exit Thi s comma nd retu rns to the pre viou s conf igur atio n mode or exit s the co nfi gurat ion program. Default Sett ing None Command Mode Any Example This examp le show s how to retur n to the Pri vileged Exe c mod e from the Glob al Configu ration m ode, and t hen quit the CLI sessi on: quit Thi s comma nd exi [...]
-
Pagina 351
System Management Commands 4-25 4 System Management Co mmands Thes e co mmands a re u sed t o con trol sys tem l ogs, pa sswor ds, u ser names, brow ser configur ation op tions, and display or configur e a variety of other sy stem inf ormat ion. Device Designation Commands prompt This comm and cu stomize s the CLI pr omp t. Use the no form to rest [...]
-
Pagina 352
Command Line I nterface 4-26 4 Example hostname This comm and sp ecifies or mod ifies the host nam e for this de vice. Us e the no form to restor e the defa ult host name . Syntax hostnam e name no hostname name - The name of this host. (M aximum length: 255 characters) Default Sett ing None Command Mode Global Co nfigurat ion Example Console(confi[...]
-
Pagina 353
System Management Commands 4-27 4 User Access Commands The bas ic c omma nds required for m ana gement access ar e liste d in t his s ection . This switc h also inc ludes othe r option s for passwor d chec king via th e conso le or a T elnet c onnec tion (page 4-1 1), us er aut hentic ation vi a a remo te aut hentic ation server (page 4-69), and ho[...]
-
Pagina 354
Command Line I nterface 4-28 4 Command Usage The encry pted passw ord is requi red for com patibility w ith legacy password settings (i.e. , plain text or encr ypt ed) when rea ding t he c onfigu ration f ile dur ing system bo otup or when download ing the config uration f ile from a T FTP ser ver . There is no nee d for you to manual ly configu re[...]
-
Pagina 355
System Management Commands 4-29 4 Related Commands enable (4-20) aut hent icat ion en able (4-71 ) IP Filt er Commands managem ent This comm and sp ecifies t he client IP address es that a re allowed m anage ment access t o the swit ch throu gh vario us protoc ols. Use the no form to res tore the default se tting. Syntax [ no ] management { all-cli[...]
-
Pagina 356
Command Line I nterface 4-30 4 • You can delete an address r ange just by speci fying the st art add ress, or b y specifyi ng both t he start add ress an d end ad dress . Example Thi s exam ple res tri cts m anage ment ac cess to the in dica ted ad dres ses. show ma nagement This comm and disp lays the client IP a ddres ses that are allowed manag[...]
-
Pagina 357
System Management Commands 4-31 4 Web Server Commands ip http port This comm and sp ecifies the TCP port number u sed by the w eb brow ser inter face. Use t he no form to us e the defa ult port. Syntax ip http port port -numb er no ip http port port-number - The TCP p ort to be u sed by the browse r interface. (Range: 1-65535) Default Sett ing 80 C[...]
-
Pagina 358
Command Line I nterface 4-32 4 Example Related Commands ip htt p port (4 -31) ip http sec ure-server This comm and en ables the se cure hy pertext tra nsfer prot ocol (HTT PS) ove r the Secure Socket Layer ( SSL), p roviding sec ure acc ess (i.e ., an encrypt ed conn ection ) to the swit ch’s web interfac e. Use the no form to disabl e this func [...]
-
Pagina 359
System Management Commands 4-33 4 Example Related Commands ip http secu re-por t (4-33) copy tftp https-certif icate (4-6 4) ip http sec ure-port This comm and speci fies the UDP port num ber used for HTTPS con nection to the switch’ s web interface. Us e the no f orm to re store the de fault port. Syntax ip http secur e-port po rt_num ber no ip [...]
-
Pagina 360
Command Line I nterface 4-34 4 Telnet Ser ver Commands ip telnet s erver This command allows this device to be monitored or configured from T elnet. It also specifie s the TCP port num ber used by the T e lnet interfac e. Use the no form w itho ut the “port ” keywo rd to disabl e this func tion. Use t he no from with the “port” keyword to u[...]
-
Pagina 361
System Management Commands 4-35 4 Thi s sect ion de scri bes th e comma nds use d to con figur e the SS H serve r . Howev er , note that y ou also nee d to install a SS H client on t he manag eme nt station whe n using thi s protoco l to configur e the sw itch. Note: The switch supports both SSH Version 1.5 and 2.0 clients. The SSH se rver on this [...]
-
Pagina 362
Command Line I nterface 4-36 4 10.1.0 .54 1024 35 156 84995401867 6692593339 4677505 46173253136 7489083654 7254 15020245 5931998 68544358361 6519999233 2978176 6065830956 10 82591321289 0233 76546801 7262725 71413428762 941301 196195566782 595664 1048695 7427888146 206 51941746 7729848 65468615717 7393901647 7935594 23035774130 98022737087 794545 [...]
-
Pagina 363
System Management Commands 4-37 4 ip ssh se rver This comm and enabl es the Sec ure Shell (SSH ) server on this switch. Use the no form to disa ble this se rvice. Syntax [ no ] i p ssh server Default Sett ing Disabled Command Mode Global Co nfigurat ion Command Usage • The SSH server su pports up to four client session s. The max imum num ber of [...]
-
Pagina 364
Command Line I nterface 4-38 4 Command Usage The timeo ut specifies the i nterval the switch will wait for a re sponse from the client duri ng the SSH neg otiat ion phase . Once an SS H session has been establishe d, the timeo ut for use r input is cont rolled by t he exec -timeout comm and for vt y sessio ns. Example Related Commands exec-tim eout[...]
-
Pagina 365
System Management Commands 4-39 4 Default Sett ing 768 bits Command Mode Global Co nfigurat ion Command Usage • The serve r key is a pr ivate ke y that is nev er share d outsid e the swit ch. • The host ke y is shar ed with the SSH client, an d is fixed at 1024 bits. Example delete pub lic-key This comm and de letes the sp ecified user ’ s pu[...]
-
Pagina 366
Command Line I nterface 4-40 4 Command Usage • This co mmand stores the host ke y pair in mem ory (i. e., RAM ). Use the ip ssh save ho st-key co mm and to sav e th e ho st key pai r to fla sh m emo ry . • Some S SH client pr ograms automa tically add the pub lic key to t he known hosts file as part of the con figura tion proce ss. Ot herwise ,[...]
-
Pagina 367
System Management Commands 4-41 4 ip ssh sa ve host- key This comm and sa ves the hos t key fro m RAM to flash mem ory . Syntax ip ssh save host-k ey [ dsa | rsa ] • dsa – DSA ke y type. • rsa – RSA key type. Default Sett ing Saves both the DSA an d RSA key . Command Mode Privileged Exec Example Related Commands ip ssh crypt o ho st-key gen[...]
-
Pagina 368
Command Line I nterface 4-42 4 show pub lic-key Thi s com mand s hows the publ ic ke y for the s pec ifi ed use r or for the host . Syntax show p ublic-key [ us er [ userna me ]| host ] username – Name of an SSH user . (Range: 1-8 ch aracters) Default Sett ing Shows all public keys . Command Mode Privileged Exec Command Usage • If no para mete [...]
-
Pagina 369
System Management Commands 4-43 4 • When a n RS A key is displ ayed , the fir st field indica tes the size of the host key (e.g., 10 24), the sec ond field i s the enco ded pub lic expone nt (e.g., 35), and the last string is th e enc oded modulus. Wh en a DSA ke y is dis playe d, the f irst fi eld in dica tes tha t th e encryp ti on meth od used[...]
-
Pagina 370
Command Line I nterface 4-44 4 Default Sett ing None Command Mode Global Co nfigurat ion Command Usage The logging proce ss contro ls error m essages saved to switch mem ory . Y o u can use the logging histor y command to contro l the type of error mess ages that are st ored. Example Related Commands logging hi story (4-44) clear log (4-47) logging[...]
-
Pagina 371
System Management Commands 4-45 4 Default Sett ing • Flash: errors (level 3 - 0) • RAM: war nings (level 7 - 0) Command Mode Global Co nfigurat ion Command Usage The messa ge l evel spec ifi ed f or fl ash memor y mus t be a hi gher pri orit y ( i.e., numer ically lower) t han tha t s pecified for RAM. Example logging hos t This comm and ad ds [...]
-
Pagina 372
Command Line I nterface 4-46 4 Default Sett ing 23 Command Mode Global Co nfigurat ion Command Usage The comm and sp ecifies the facility type tag sent in sys log messag es. (S ee RFC 3164. ) This type has no effect on the kind of m essag es repor ted by the switch . Howeve r , it may b e used by the syslog server to sor t mess ages or to store mes[...]
-
Pagina 373
System Management Commands 4-47 4 clear log This c omman d clea rs me ssage s f rom the lo g buffer . Syntax clear lo g [ flash | ram ] • flas h - Event hi story s tored in flas h memo ry (i.e., perm anen t memo ry). • ram - Event hist ory stored in temp orary RAM (i.e., mem ory flus hed on power reset) . Default Sett ing Flash and RAM Command [...]
-
Pagina 374
Command Line I nterface 4-48 4 Example The f ollo win g exampl e shows th at sys tem lo ggin g is en able d, th e mess age le vel fo r flash mem ory is “er rors” (i.e ., defaul t level 3 - 0), an d the mes sage leve l for RAM is “debugg ing” (i.e., de fault lev el 7 - 0). The follow ing exam ple dis plays sett ings for th e trap funct ion. [...]
-
Pagina 375
System Management Commands 4-49 4 show log This comm and disp lays the log mes sages s tored in lo cal memo ry . Syntax show log { fl ash | ram } • flas h - Event hi story s tored in flas h memo ry (i.e., perm anen t memo ry). • ram - Event hist ory stored in temp orary RAM (i.e., mem ory flus hed on power reset) . Default Sett ing None Command[...]
-
Pagina 376
Command Line I nterface 4-50 4 logging se ndmail h ost This co mmand spec ifies SMTP serv ers tha t will b e sent a lert me ssage s. Us e the no form to r emove an SMTP serv er . Syntax [ no ] logging sendmail host ip_addres s ip_address - IP address of an SMTP server that will be sent alert messages for event handling. Default Sett ing None Comman[...]
-
Pagina 377
System Management Commands 4-51 4 Command Usage The specified level indicates an event threshold. All events at this level or higher will be sent to t he configured email recipient s. (For examp le, using Level 7 wil l report all even ts from le vel 7 to level 0.) Example This examp le will sen d ema il alerts for syst em error s from leve l 3 thro[...]
-
Pagina 378
Command Line I nterface 4-52 4 Command Usage Y o u can speci fy up to fiv e recipien ts for alert mes sages . Howev er , you must enter a se parate com mand to specify eac h recipi ent. Example logging se ndmail This comm and enabl es SMTP ev ent hand ling. Use th e no form to disable this func ti on . Syntax [ no ] log ging sendm ail Default Sett [...]
-
Pagina 379
System Management Commands 4-53 4 Time Commands The syste m clock can be dy namical ly set by p olling a set of specifie d time ser vers (NTP or SNTP) . Mai nt ain ing a n ac cura te ti me on the swi tch enabl es t he sy stem log to record meaningful d ates and times f or event ent ries. If the clock is not set, the switch will only record th e tim[...]
-
Pagina 380
Command Line I nterface 4-54 4 Example Related Commands sntp se rver (4 -54 ) sntp poll (4-55) show sn tp (4-55 ) sntp serv er This comm and se ts the IP addres s of the serv ers to whi ch SNTP time reques ts are issued. U se the this comma nd with no argumen ts to clear all time serve rs from the current l ist. Syntax sntp server [ ip1 [ ip2 [ ip3[...]
-
Pagina 381
System Management Commands 4-55 4 sntp poll This comm and se ts the interval between se ndin g time req uests when th e switch is set to SNTP client mode. U se the no form to restore to the def ault. Syntax sntp poll seconds no sntp poll seconds - Interval between time requests. (Range: 16- 16384 seconds) Default Sett ing 16 seco nds Command Mode G[...]
-
Pagina 382
Command Line I nterface 4-56 4 cloc k ti mez one This command set s the t ime zone for t he switch’ s internal clock. Syntax clock timezone name hou r hour s minut e minutes { before-u tc | after-utc } • name - Nam e of tim ezone , usually an acron ym. (Ra nge: 1-29 charact ers) • hours - Num ber of hours befo re/afte r UTC. (R ange: 0-1 3 ho[...]
-
Pagina 383
System Management Commands 4-57 4 Default Sett ing None Command Mode Privileged Exec Example This examp le sho ws how to set the sy stem cloc k to 15:12 :34, Feb ruary 1st , 2002. show ca lendar This comm and disp lays the syste m clock . Default Sett ing None Command Mode Normal Exec, Privileged Exec Example System Status Commands show sta rtup-co[...]
-
Pagina 384
Command Line I nterface 4-58 4 Command Usage • Use this comm and in co njunc tion wit h the show runn ing-config command to compar e the infor mation in r unning m emory to the inform ation stored in non-volatile memory. • This co mmand displa ys se ttings for key c omman d mo des. Eac h mo de group is s epar ated by “ !” sy mbol s, an d in[...]
-
Pagina 385
System Management Commands 4-59 4 Related Commands show runni ng-con fig ( 4-59) show runn ing-config This comm and disp lays the config uration in format ion current ly in use. Default Sett ing None Command Mode Privileged Exec Command Usage • Use thi s comm and in conj unct ion wi th t he show startup-co nfig command to compar e the infor matio[...]
-
Pagina 386
Command Line I nterface 4-60 4 Example Related Commands show startu p-conf ig (4-57) show sy stem This command displays system information. Default Sett ing None Command Mode Normal Exec, Priv ileged Exec Console#show running-config building running-config, please wait..... !<stackingDB>00</stackingDB> !<stackingMac>01_00-30-f1-fd[...]
-
Pagina 387
System Management Commands 4-61 4 Command Usage • For a descr iption of the item s shown b y this comm and, re fer to “D isplay ing System In formatio n” on pag e 3-12. • The POST result s sh ould all disp lay “P ASS.” If a ny POS T test indi cat es “FAIL,” co ntact yo ur distribu tor for ass istanc e. Example show us ers Shows all [...]
-
Pagina 388
Command Line I nterface 4-62 4 Example show ve rsion Thi s comma nd dis play s hardw are an d soft war e vers ion inf orm atio n for th e syst em. Default Sett ing None Command Mode Normal Exec, Priv ileged Exec Command Usage See “ Displ ayi ng Swi tch Ha rdwar e/ Sof twar e V ersio ns” on p age 3-13 fo r detailed info rmation on the item s dis[...]
-
Pagina 389
System Management Commands 4-63 4 Frame Size Commands jumbo frame This comm and en ables sup port for jum bo fram es. Use t he no form to di sabl e it. Syntax [ no ] jumbo frame Default Sett ing Disabled Command Mode Global Co nfigurat ion Command Usage • This swi tch provid es more ef ficient t hroughpu t for larg e seque ntial dat a transfer s [...]
-
Pagina 390
Command Line I nterface 4-64 4 Flash/File Commands These c omm ands a re u sed to ma nage the s ystem code or configur ation files. copy This comm and mov es (up load/do wnload) a code im age or co nfigurati on file between t he switc h’s flash memo ry and a T FTP server. Wh en you sa ve the sys tem code or con figurat ion setting s to a file on [...]
-
Pagina 391
Flash/File Commands 4-65 4 Command Usage • The system prompts fo r data requi red to comple te the copy co mmand. • The de stination f ile na me shou ld not c ontain slashe s ( or /) , the lead ing lett er of the file na me shoul d not be a pe riod (.), and the maxi mum len gth for f ile names on the TFTP se rver is 127 cha racter s or 31 char[...]
-
Pagina 392
Command Line I nterface 4-66 4 The follow ing exam ple show s how to do wnloa d a config uration file: This examp le show s how to copy a secur e-site ce rtificate from an T FTP server. It then r eboots t he sw itch to act ivate t he c ertificat e: This examp le show s how to cop y a public-k ey used by SSH from an TF TP serv er . Note that pu blic[...]
-
Pagina 393
Flash/File Commands 4-67 4 Command Usage • If the file type i s used for sys tem startup, then t his file c annot be delete d. • “Fact ory_ Defa ult_C onf ig.c fg” cann ot be del eted . Example This exa mple s hows h ow to d elete the test2 .cfg co nfigurat ion file f rom fla sh mem ory . Related Commands dir (4-6 7) delete p ublic-ke y (4 [...]
-
Pagina 394
Command Line I nterface 4-68 4 Example The follow ing exam ple show s how to di splay all file informa tion: whichboo t This c omman d disp lays w hich files were booted wh en the sys tem p owere d up. Default Sett ing None Command Mode Privileged Exec Example This examp le sho ws the infor mation d isplay ed by the whichb oot comm and. See the tab[...]
-
Pagina 395
Authentication Co mmands 4-69 4 Command Mode Global Co nfigurat ion Command Usage • A colon (:) is required after the s pecified file type. • If the file cont ains an err or, it cann ot be set as the defa ult file. Example Related Commands dir (4-6 7) whi chboo t (4- 68) Authentication Commands Y o u can conf igure th is switch t o authen ticat[...]
-
Pagina 396
Command Line I nterface 4-70 4 Authenticat ion Sequence authentica tion login This co mmand defin es the login authenti cation metho d and pr ecede nce. U se the no form to rest ore the d efault. Syntax aut henti cation l ogi n {[ local ] [ radius ] [ tacacs ]} no authenticat ion login • loc al - Use local password. • radius - Use RADIUS server[...]
-
Pagina 397
Authentication Co mmands 4-71 4 authentica tion enable This comm and de fines the au then tication m ethod and prece dence to use when changin g from Exec comma nd mode t o Privileged Exec comma nd mod e with the enable co mmand (see page 4-20 ). Use the no form to res tore the defa ult. Syntax authenti cation enabl e {[ lo ca l ] [ radius ] [ taca[...]
-
Pagina 398
Command Line I nterface 4-72 4 RADIUS Client Remote Authent ication Dial -in User Ser vice (RADI US) is a logo n authe ntication protoc ol that uses software runn ing on a central ser ver to co ntrol acce ss to RADIUS- aware devices on the netwo rk. An authe nticati on server contains a database of m ultiple user nam e/passwo rd pairs with a ssocia[...]
-
Pagina 399
Authentication Co mmands 4-73 4 Example radius- server por t This comm and s ets the RAD IUS se rver netwo rk por t. Use the no form to re stor e the default. Syntax radius-server po rt por t_num ber no radius-server port port_number - RADIUS server UDP port used for authentication messages. (Range : 1- 65535) Default Sett ing 1812 Command Mode Glo[...]
-
Pagina 400
Command Line I nterface 4-74 4 radius- server r etransmit This c omman d se ts the number of r etries. Use the no form to restore th e default. Syntax radi us-s erver re trans mit numb er_o f_re tri es no radius-server retransmit number_of_retries - Numbe r of times the switch will try to aut henticate logon access via t he RADIUS server . (Range: [...]
-
Pagina 401
Authentication Co mmands 4-75 4 Example TACACS+ Client T erminal Acce ss Controller Acces s Control System (T ACACS+) is a logon authenti cation protoco l that uses s oftware runni ng on a ce ntral ser ver to contr ol access t o T ACAC S-a ware de vices on the networ k. An auth entica tion serve r contains a d atabas e of m ultiple us er na me/pass[...]
-
Pagina 402
Command Line I nterface 4-76 4 Example tacacs-se rver por t This command specifies the T ACACS+ s erver network port. Use the no form to restore t he defaul t. Syntax t aca cs-se rver po rt port_n umbe r no tacacs-serv er port port_number - T AC ACS+ server TCP port used for au thentication messages. (Range : 1- 65535) Default Sett ing 49 Command M[...]
-
Pagina 403
Authentication Co mmands 4-77 4 show taca cs- ser ver This comm and disp lays the current settings for the T AC ACS + server. Default Sett ing None Command Mode Privileged Exec Example Port Security Commands These com mands can be use d to ena ble port se curity on a po rt. Wh en using po rt securi ty , the switch stops lea rning n ew MA C addr ess[...]
-
Pagina 404
Command Line I nterface 4-78 4 port se curity This comm and en ables or conf igure s port secur ity . Use the no f orm w itho ut a ny keywords to disab le p ort s ecurity . Use the no form wit h the ap prop riat e keyw ord t o restore th e default settings fo r a respons e to security violatio n or for the maximum number of allowed a ddres ses. Syn[...]
-
Pagina 405
Authentication Co mmands 4-79 4 Example The follow ing exam ple enab les po rt security for port 5, an d sets the respo nse to a security violation t o issue a trap mess age: Related Commands shutdown (4 -148) mac-a ddress- table static (4-167 ) show mac -addr ess-table (4 -168) 802.1X Port Authenti cation The switch su pports IEEE 802 .1X (dot1x) [...]
-
Pagina 406
Command Line I nterface 4-80 4 dot1x system -auth-contro l This comm and enabl es IEEE 802 .1X port aut henti cation globa lly on the sw itch. Use the no form to rest ore the d efault. Syntax [ no ] dot1x syst em-auth- control Default Sett ing Disabled Command Mode Global Co nfigurat ion Example dot1x default This comm and se ts all configurab le d[...]
-
Pagina 407
Authentication Co mmands 4-81 4 dot1x port-control This comm and se ts the dot1x m ode on a po rt interface. Use the no f orm to resto re the defaul t. Syntax dot1x p ort-control { auto | for ce-autho rized | fo rce -u nau tho rize d } no dot1x port-con trol • auto – Requi res a dot 1x-aw are conne cted c lient to be aut horize d by the RADIUS [...]
-
Pagina 408
Command Line I nterface 4-82 4 Command Usage • The “max -count ” param eter spec ified by thi s comma nd is only effe ctive if th e dot1x m ode is set to “auto” by th e dot1x por t-contr ol comma nd (pag e 4-105) . • In “multi -host” mo de, only one host co nnect ed to a por t needs to pass authenti cation for all other hos ts to be[...]
-
Pagina 409
Authentication Co mmands 4-83 4 dot1x timeout quiet- period This comm and se ts the time tha t a switch port waits after the M ax Requ est Cou nt has been ex ceede d before a ttemp ting to acqu ire a new client. U se the no form to reset the de fault. Syntax dot1x ti meout quiet -period sec onds no dot1x timeou t quiet-period secon ds - The number [...]
-
Pagina 410
Command Line I nterface 4-84 4 dot1x timeout tx-perio d This comm and se ts the time t hat an inte rface on the switch w aits du ring an authenti cation ses sion bef ore re-trans mitting an EAP packe t. Use th e no form to reset to th e default v alue. Syntax dot1x ti meout tx -period secon ds no do t1x tim eou t tx -p erio d secon ds - The number [...]
-
Pagina 411
Authentication Co mmands 4-85 4 - Mod e – D ot1x port c ontrol m ode (page 4-81 ). - Autho rized – Authoriz ation sta tus (y es or n/ a - not author ized). • 802.1X Port Detai ls – Displays th e port acces s control par amete rs for each interface , including the fo llowing items: - rea uth- enabl ed – Pe riodi c re-a uthe ntic ati on ( p[...]
-
Pagina 412
Command Line I nterface 4-86 4 • Reauthe ntication Stat e Machine - Stat e – Current sta te (inc luding init ialize, re authent icate). Example Console#show dot1x Global 802.1X Parameters system-auth-control: enable 802.1X Port Summary Port Name Status Operation Mode Mode Authorized 1/1 disabled Single-Host ForceAuthorized n/a 1/2 disabled Sing[...]
-
Pagina 413
Access Contr ol List Commands 4-87 4 Access Control List Com mands Access C ontr ol Lists (A CL) prov ide packe t filtering for I P fram es (bas ed on address , protocol , Layer 4 prot ocol por t numbe r or TCP contr ol code) or any frame s (based on MAC address or Etherne t type). To filter packe ts, first crea te an acces s list, ad d the re quir[...]
-
Pagina 414
Command Line I nterface 4-88 4 The order in which act ive ACLs ar e checked i s as follows : 1. User-defined rules in the Egress MAC ACL for e gress ports. 2. Use r-define d rules in t he Egress I P ACL f or egres s ports. 3. Use r-define d rules i n the Ingres s MAC AC L for ingr ess ports. 4. User -def ined rul es i n th e Ing ress IP AC L for in[...]
-
Pagina 415
Access Contr ol List Commands 4-89 4 access-l ist ip This co mmand adds an IP a ccess list an d ent ers con figura tion mo de fo r standard or extende d IP ACLs . Use the no form to remo ve the speci fied ACL. Syntax [ no ] access-list ip { stan dard | exte nded } acl _name • standar d – Specifie s an ACL th at filters pac kets base d on the so[...]
-
Pagina 416
Command Line I nterface 4-90 4 Default Sett ing None Command Mode S tandard A CL Command Usage • New rules are appe nded to the en d of the lis t. • Address bitma sks are s imilar to a subn et mask , conta ining fou r integer s from 0 to 25 5, each sepa rated by a p eriod. The binary m ask uses 1 bits t o indi cate “match” and 0 bi ts to in[...]
-
Pagina 417
Access Contr ol List Commands 4-91 4 • precede nce – IP preceden ce level . (Range: 0-7) • tos – Type of Ser vice lev el. (Ran ge: 0-15) • dscp – DSCP p rior ity lev el. ( Range : 0- 63) • sport – Prot ocol 37 source por t numb er. (Rang e: 0-655 35) • dport – Prot oco l 37 destinati on port nu mber. (Range : 0-6553 5) • port [...]
-
Pagina 418
Command Line I nterface 4-92 4 Example This e xampl e accep ts any incom ing pac kets if t he sou rce address is within subne t 10.7.1.x . For example, if the rule is match ed; i.e., the rule (10.7.1.0 & 255.255 .255.0 ) equals the maske d address (10.7. 1.2 & 255. 255.255 .0), the packe t passes throu gh. This allow s TCP packets from c la[...]
-
Pagina 419
Access Contr ol List Commands 4-93 4 access-l ist ip ma sk-prece dence This comm and ch anges to the IP Mas k mode use d to con figure acc ess con trol mask s. Us e th e no form to de lete the m ask table. Syntax [ no ] access-list ip mask-p reced ence { in | ou t } • in – Ingr ess ma sk f or in gress ACLs. • out – Egress m ask for eg ress [...]
-
Pagina 420
Command Line I nterface 4-94 4 • destinat ion-bit mask – D estina tion ad dress of rule m ust m atch t his bitm ask. • preceden ce – Check th e IP prece dence fi eld. • tos – Check the TOS f iel d. • dscp – Chec k th e DSCP fiel d. • source-por t – Check the protoco l source port field. • dest in atio n-por t – Check the pro[...]
-
Pagina 421
Access Contr ol List Commands 4-95 4 This show s that the ent ries in th e mask ov erride the prece dence in whi ch the ru les are ente red into the AC L. In the fo llowing exa mple, packe ts with the sour ce addres s 10.1.1.1 are dropp ed beca use the “d eny 10.1. 1.1 255. 255.25 5.255 ” rule has th e higher p receden ce acco rding the “ mas[...]
-
Pagina 422
Command Line I nterface 4-96 4 This show s how to crea te an ex tended ACL with a n egress m ask to dro p packets leaving ne twork 171 .69.19 8.0 whe n the La yer 4 sourc e port is 23. Console(config)#access-list ip extended A 3 Console(config-ext-acl)#deny host 171.69. 198.5 any Console(config-ext-acl)#deny 171.69.198.0 255.255.255.0 any source-po[...]
-
Pagina 423
Access Contr ol List Commands 4-97 4 This is a mo re compreh ensive ex amp le. It denies any TCP packe ts in which the SYN bit is ON , and perm its all other packets. I t then sets the ing ress ma sk to check the deny rul e first, and finally bind s port 1 to th is ACL. Not e that onc e the ACL is bound to a n interfac e (i.e., the ACL is active ),[...]
-
Pagina 424
Command Line I nterface 4-98 4 Related Commands mas k (IP ACL ) (4 -93) ip acces s-group This comm and bind s a port to an IP ACL. U se the no form to r emove the po rt. Syntax [ no ] ip access-group acl _name { in | out } • acl_name – Name o f the ACL. (Maximu m length: 16 c harac ters) • in – In dicates that t his li st app lies to in gre[...]
-
Pagina 425
Access Contr ol List Commands 4-99 4 MAC ACLs access-l ist mac This comm and ad ds a MAC access list and enter s MAC ACL configu ration m ode. Use t he no form to re move the sp ecified AC L. Syntax [ no ] access-list mac acl_n ame acl_name – Name of the ACL. (Maximum length: 16 characters) Default Sett ing None Command Mode Global Co nfigurat io[...]
-
Pagina 426
Command Line I nterface 4-100 4 Related Commands permit , deny (4-100 ) mac acce ss-g ro up ( 4-105 ) show mac acce ss-li st (4- 101) permit , deny (MAC ACL) This comm and adds a rule to a MAC ACL. The ru le filters packets ma tching a specifie d MAC so urce or destinat ion addr ess (i.e. , physical layer ad dress), or Ethernet p rotocol type . Use[...]
-
Pagina 427
Access Contr ol List Commands 4-101 4 • vid-bi tmask 38 – VLAN bitm ask. (Ran ge: 1-40 94) • protocol – A spe cific Eth ernet protoc ol num ber. (Rang e: 600 -fff he x.) • protoc ol - bitmas k 38 – Protoc ol bitmask . ( Range : 600-fff hex . ) Default Sett ing None Command Mode MAC ACL Command Usage • New rules are adde d to the en d [...]
-
Pagina 428
Command Line I nterface 4-102 4 access-l ist mac mas k-preced ence This comm and ch anges to MAC Ma sk mod e used to co nfigur e access co ntrol mask s. Us e th e no form to de lete the m ask table. Syntax [ no ] access-list ip mask-p reced ence { in | ou t } • in – Ingr ess ma sk f or in gress ACLs. • out – Egress m ask for eg ress A CLs. [...]
-
Pagina 429
Access Contr ol List Commands 4-103 4 • vid-bitm ask – VLAN ID of rule must match this b itmask. • ethertype – Ch eck the Ethernet type field. • ethertyp e-bitma sk – Ethernet typ e of rule mu st match thi s bitmask. Default Sett ing None Command Mode MAC Mask Command Usage • Up to seven mask s can be as signed to an ingre ss or egre [...]
-
Pagina 430
Command Line I nterface 4-104 4 This examp le creates an Egre ss MAC AC L. show ac cess-list m ac mask-prec edence This comma nd shows the ingress or egress rule masks fo r MAC ACLs. Syntax show a ccess -list m ac mask-p reced ence [ in | out ] • in – In gress m ask preced ence for in gress AC Ls. • out – Egress m ask prece dence for egre s[...]
-
Pagina 431
Access Contr ol List Commands 4-105 4 mac access -group This comm and bind s a port to a MA C ACL. Use the no for m to remove the p ort. Syntax mac a ccess-gr oup acl_na me { in | out } • acl_name – Name o f the ACL. (Maximu m length: 16 c harac ters) • in – In dicates that t his li st app lies to in gress p ackets . • out – Indica tes [...]
-
Pagina 432
Command Line I nterface 4-106 4 ACL Information show ac cess-list This co mmand show s all ACLs an d ass ociated rules, as we ll as all the user-d efined masks. Command Mode Privileged Exec Command Usage Once the ACL is bound to a n interface (i.e., th e ACL is active), the order in which th e rules are di splayed is deter mined by th e assoc iated[...]
-
Pagina 433
SNMP Commands 4-107 4 SNMP Command s Controls a ccess to this switch fr om management st ations using the Simple Netwo rk Manage ment Pr otocol (SNM P), as w ell as the error types sent to trap manager s. SNMP V ersi on 3 also provi des se curity feat ures tha t cover mes sage i ntegrity , authenti cation , and encr yption ; as well as cont rolling[...]
-
Pagina 434
Command Line I nterface 4-108 4 Example show sn mp This comm and ca n be used to check t he status of SN MP co mmunica tions. Default Sett ing None Command Mode Normal Exec, Priv ileged Exec Command Usage This comm and pr ovides informa tion on the commu nity acc ess strin gs, co unter inf orma tion for SNMP inpu t and out put prot ocol dat a un it[...]
-
Pagina 435
SNMP Commands 4-109 4 snmp- server com munity This comm and de fines the SNM P v1 an d v2c comm unit y access st ring. U se the no form to rem ove th e specifi ed comm unity s tring. Syntax snmp-s erver com munity string [ ro | rw ] no snmp-s erver com mu nity string • strin g - Commu nity st ring that acts like a pa sswor d and perm its acc ess [...]
-
Pagina 436
Command Line I nterface 4-110 4 Related Commands snmp -serve r loca tio n (4-1 10) snmp- server loc ation This comm and se ts the system location string. Us e the no form to remove th e location string . Syntax snmp-s erver locat ion te xt no snmp-s erve r locatio n text - St ring that describes the system location. (Maximum length : 255 char acter[...]
-
Pagina 437
SNMP Commands 4-111 4 to us ing th e snmp -serv er h ost command. (Maximu m length: 32 charac ters) • version - Spec ifies whethe r to sen d notificati ons as SNM P Versio n 1, 2c or 3 tr aps . (Ran ge: 1, 2 c, 3; Def ault : 1) - auth | noaut h | priv - This gro up uses S NMPv3 with authen ticat ion, no authenti cation, or with authenti cation an[...]
-
Pagina 438
Command Line I nterface 4-112 4 To send an info rm to a SNMPv3 hos t, complete thes e steps: 1. En able t he S NMP ag ent (pag e 4- 107) . 2. Allo w the swit ch to send SNMP traps; i.e., not ification s (page 4-1 12 ). 3. Specify the target host that will re ceive in form mes sages with the snmp-s erver hos t comma nd as des crib ed i n thi s sect [...]
-
Pagina 439
SNMP Commands 4-113 4 SNMP notifications, you must enter at least one snmp-s erver en able t raps comm and. If you en ter the comman d with no ke ywo rds, both au then tication and link-u p-dow n notificat ions are enabled. I f you ente r the com mand wi th a keywo rd, only th e notificat ion type related to that keyw ord is ena bled. •T h e snmp[...]
-
Pagina 440
Command Line I nterface 4-114 4 • A remote en gine ID is required whe n using SN MPv3 i nforms. (See snmp-s erver ho st on page 4-110. ) The r emo te engine ID is used to co mpute the secu rity dig est for aut henti cating and encry pting p ackets s ent to a user on the remot e host. SNMP pas sword s are loca lized usi ng the engine ID of the aut[...]
-
Pagina 441
SNMP Commands 4-115 4 snmp- server vie w This command adds an SNMP view which controls user access to the MIB. Use the no for m to r emov e an SNMP view. Syntax snmp-s erver vi ew view-na me oid- tree { included | excl uded } no snmp-s erve r view view -nam e • view-name - Name of an SNMP view . (Ran ge: 1- 64 c haracter s) • oid-tre e - Ob jec[...]
-
Pagina 442
Command Line I nterface 4-116 4 show sn mp view This comma nd shows informa tion on the SNMP views. Command Mode Privileged Exec Example snmp- server group This comm and ad ds an SNMP group, ma pping SN MP user s to SNMP vi ews. U se the no form to remove an SNMP gro up. Syntax snmp-s erver gro up grou pnam e { v1 | v2c | v3 { auth | noauth | priv [...]
-
Pagina 443
SNMP Commands 4-117 4 Default Sett ing • Default gr oups: pu blic 39 (rea d only ), pri vat e 40 (r ead/w rite) • readvi ew - Every object b elonging to the Internet OID space (1.3 .6.1). • writevie w - Nothin g is defined . • notifyvie w - Nothin g is def ine d. Command Mode Global Co nfigurat ion Command Usage • A group set s the acce s[...]
-
Pagina 444
Command Line I nterface 4-118 4 snmp- server use r Thi s com mand a dds a use r to an SN MP grou p, r estr ic ting the user t o a s pec ifi c SNMP Re ad, Write, or No tify View . Use the no form to rem ove a user from an SNMP group. Syntax snmp-s erver use r usernam e g roupnam e [ remot e ip-addres s ] { v1 | v2c | v3 [ encr ypted ] [ auth { md5 |[...]
-
Pagina 445
SNMP Commands 4-119 4 • ip-a ddre ss - The Inter net addr ess of the remote dev ice. • v1 | v2c | v3 - Use SNMP ve rsion 1, 2c o r 3. • encr ypte d - Accepts the pa ssw ord as encr ypted inpu t. • auth - Uses SNM Pv3 w ith authen ticatio n. • md5 | sha - Use s MD5 or SHA authen tica tio n. • auth-p assword - Authentic ation pa ssword . [...]
-
Pagina 446
Command Line I nterface 4-120 4 show sn mp user This comma nd shows informatio n on SNMP users. Command Mode Privileged Exec Example Console#show snmp user EngineId: 800000ca030030f1df9ca00000 User Name: steve Authentication Protocol: md5 Privacy Protocol: des56 Storage Type: nonvolatile Row Status: active SNMP remote user EngineId: 80000000030004e[...]
-
Pagina 447
DHCP Co mmands 4-121 4 DHCP Commands Thes e comma nds ar e used t o confi gur e Dynami c Host Confi gura tion Proto col (DHCP) client, r elay , and se rver fun ctions. Y o u can co nfigur e any VL AN in terface t o be automaticall y assigned an IP address via DHCP . This switch can be config ured to relay DHCP client configuration requests to a DHC[...]
-
Pagina 448
Command Line I nterface 4-122 4 Related Commands ip dhcp restar t client ( 4-122) ip dhcp res tart client This command submit s a BOOTP or DHCP client request. Default Sett ing None Command Mode Privileged Exec Command Usage • This comma nd issues a BOOTP or DHCP client re quest for any IP interface that has been set to BOOTP or DHCP mode vi a th[...]
-
Pagina 449
DHCP Co mmands 4-123 4 DHCP Relay ip dhcp res tart relay This command enables DHCP re lay for the s pecified VLAN. Use the no form to disable i t. Syntax [ no ] ip dhcp relay Default Sett ing Disabled Command Mode Interface C onfigur ation (VLAN ) Command Usage This comm and is use d to con figure D HCP rela y function s for host dev ices attac hed[...]
-
Pagina 450
Command Line I nterface 4-124 4 ip dhcp rela y server This comm and sp ecifies t he addres ses of DHCP se rvers to be used by the switch’s DHCP relay agent. Us e the no form to clear all a ddresses. Syntax ip dhcp rel ay s erver addres s1 [ addres s2 [ ad dress 3 ... ]] no ip dhcp relay server address - IP addres s of DHCP server . (Range : 1-3 a[...]
-
Pagina 451
DHCP Co mmands 4-125 4 servic e dhcp This command enable s the DHCP server on this s witch. Use the no form to disable the DHCP server . Syntax [ no ] service dhcp Default Sett ing Enabled Command Mode Global Co nfigurat ion Command Usage If the DHCP server is running, you mus t resta rt it to imp lement any configur ation ch anges . Example ip dhc[...]
-
Pagina 452
Command Line I nterface 4-126 4 Default Sett ing All IP pool addr esses may be ass igned. Command Mode Global Co nfigurat ion Example ip dhcp po ol This command configures a DHCP address pool and enter DHCP Pool Configu ration m ode. Use t he no for m to remo ve t he a ddress pool. Syntax [ no ] ip dhcp pool nam e name - A s tring or integer . (Ran[...]
-
Pagina 453
DHCP Co mmands 4-127 4 network This command confi gures the subnet n umber and mask fo r a DHCP address pool. Use t he no form to re move th e subne t numbe r and mas k. Syntax network netw ork-numb er [ ma sk ] no network • net work- numb er - The IP ad dress of the DHCP add ress pool. • mask - The bit combinat ion that ident ifies the ne twor[...]
-
Pagina 454
Command Line I nterface 4-128 4 Command Mode DHCP Pool Configuration Usage Guidelines The IP addr ess of th e router sho uld be on the sam e subne t as the clien t. Y o u can speci fy up to tw o routers. Routers ar e listed i n order of pre ference (st arting with ad dress1 as the m ost pr efer red ro uter ). Example domain-na me This command spec [...]
-
Pagina 455
DHCP Co mmands 4-129 4 Usage Guidelines • If DNS IP se rvers are not confi gured for a DHCP client, the clien t cannot correlat e host nam es to IP a ddresse s. • Servers are listed in o rder o f pref erence (star ting with addres s1 as the mo st preferre d server ). Example next-ser ver This co mmand confi gures t he ne xt server in t he boo t[...]
-
Pagina 456
Command Line I nterface 4-130 4 Example Related Commands next-s erver (4-1 29) netbios-na me-serve r This com mand conf igures Ne tBIO S Wind ows In ternet N ami ng Serv ice (WI NS) name serv ers tha t are av aila ble t o Micro sof t DHCP clien ts . Use th e no for m to remove the NetBIOS n ame server list. Syntax netb ios- name-s erver addr ess1 [[...]
-
Pagina 457
DHCP Co mmands 4-131 4 netbios-nod e-type This command confi gures the NetBIOS node typ e for Microsof t DHCP client s. Use the no f or m to rem o ve th e Ne tB IOS n ode typ e. Syntax netbios-node- type type no netbios-node -type type - S pec ifies the NetBIOS node type: • broad cast • hybrid (recomm ende d) •m i x e d • peer-t o-peer Defa[...]
-
Pagina 458
Command Line I nterface 4-132 4 Command Modes DHCP Pool Configuration Example The follow ing exam ple lea ses an addr ess to clie nts using this pool for 7 day s. host Use this comm and to spe cify t he IP addr ess a nd netw ork ma sk to ma nually bind to a DHCP client. Use the no form to remove the IP address for the clie nt. Syntax host address [[...]
-
Pagina 459
DHCP Co mmands 4-133 4 Example Related Commands client-id entifier (4-133 ) hardwar e-add ress ( 4-134) client-iden tifier This command specifies the client identifier of a DHCP client. Use the no form to remov e the client id entifier. Syntax client-identifier { text text | hex hex } no client-identifier • text - A text strin g. (Ran ge: 1-15 ch[...]
-
Pagina 460
Command Line I nterface 4-134 4 hardware-addres s This command specifie s the hardware address of a DHCP client . This command is valid for ma nual bin dings on ly . Use the no form to remov e the hard ware ad dress. Syntax hardware-addr ess hardwa re-addr ess type no hardware -address • hardw are-add ress - Spec ifies the MAC address of the c li[...]
-
Pagina 461
DHCP Co mmands 4-135 4 Usage Guidelines •A n ad dres s specifie s the clien t’s IP ad dress. If an asterisk (*) is use d as the address paramet er, the DHCP server clears all auto matic bindings. •U s e t h e no host command to delet e a m anual bind ing . • This comm and is nor mally us ed after modifying the add ress pool , or after movin[...]
-
Pagina 462
Command Line I nterface 4-136 4 DNS Commands Thes e comma nds ar e used t o confi gur e Domain Naming Syste m (DNS) servic es. Y ou can m anual ly confi gure entr ies in the D NS doma in na me to IP addr ess mapp ing table, config ure defa ult domai n names , or speci fy one or mo re nam e server s to use for domain name to addr ess translati on. N[...]
-
Pagina 463
DNS Commands 4-137 4 Command Usage Servers or other net work dev ices ma y support one or more co nnect ions vi a multiple IP address es. If mor e than one IP addr ess is asso ciated with a host name usi ng this com man d, a DNS cli ent can try ea ch addr ess in succ ession , until it establish es a connec tion w ith t he targe t devi ce. Example T[...]
-
Pagina 464
Command Line I nterface 4-138 4 Default Sett ing None Command Mode Global Co nfigurat ion Example Related Commands ip d omai n-l ist ( 4-1 38) ip name-s erver (4 -139) ip d omai n-l ookup (4- 140) ip domain- list This comm and de fines a list of domain na mes th at can be append ed to inco mplete host nam es (i.e., ho st name s passed from a client[...]
-
Pagina 465
DNS Commands 4-139 4 Example This examp le add s two dom ain name s to the cu rrent list and then di splays the list. Related Commands ip d omai n-na me (4-1 37) ip name-s erver Thi s com mand sp ecif ies the ad dres s of o ne or more domai n name s erv ers to use for name-to -addres s reso lution. Use the no form to re m ov e a na m e se rve r fr [...]
-
Pagina 466
Command Line I nterface 4-140 4 Example Thi s exam ple adds two doma in-n ame se rver s to the l ist an d then displ ays th e lis t. Related Commands ip d omai n-na me (4-1 37) ip d omai n-l ookup (4- 140) ip domain- lookup This comm and en ables DN S host nam e-to- address translat ion. Use the no for m to disable D NS. Syntax [ no ] ip dom ain-lo[...]
-
Pagina 467
DNS Commands 4-141 4 Related Commands ip d omai n-na me (4-1 37) ip name-s erver (4 -139) show hos ts This comm and disp lays the static host n ame-to- addre ss mappi ng table. Command Mode Privileged Exec Example Note that a host name will be displayed as an a lias if it is mapped to th e same address (es) as a pr evious ly configu red entry . sho[...]
-
Pagina 468
Command Line I nterface 4-142 4 show dns cache This comm and disp lays entries in the DNS ca che. Command Mode Privileged Exec Example clear dns cac he This comm and clea rs all entri es in the DNS cache. Command Mode Privileged Exec Example Console#show dns cache NO FLAG TYPE IP TTL DOMAIN 2 4 CNAME 66.218.71.84 298 www.yahoo.akadns.net 3 4 CNAME [...]
-
Pagina 469
Interface Co mmands 4-143 4 Interface Commands Thes e comma nds ar e used t o displ ay or set commun ica tion p ara mete rs for an Ethernet p ort, aggregat ed link, or VL AN. interface This comm and co nfigures an inte rface type and ente r interface configu ration mo de. Use t he no form to r emove a trunk. Syntax inte rfa ce in te rfa ce no inter[...]
-
Pagina 470
Command Line I nterface 4-144 4 Command Mode Global Co nfigurat ion Example T o speci fy port 4, en ter the follow ing comm and: descri ption This comm and ad ds a description to an inte rface. Use the no f orm to remov e the descri ption. Syntax description string no description string - Comment or a description to help you remember what is attach[...]
-
Pagina 471
Interface Co mmands 4-145 4 Default Sett ing • Auto-ne gotiation is enab led by defaul t. • When aut o-negot iation is di sabled , the defaul t speed- duplex setting is : - Fas t Ethernet por ts – 100f ull (100 M bps full-dupl ex) - Gigab it Ethe rnet p orts – 1000ful l (1 Gbps fu ll-dupl ex) Command Mode Interface C onfig uration (E therne[...]
-
Pagina 472
Command Line I nterface 4-146 4 • If aut onegotiation is di sabled, auto-MDI/MDI- X pin signal c onfiguration will also be disa bled for the RJ-45 ports. Example The fo llowing exam ple co nfigures por t 1 1 to u se au tone gotiation. Related Commands capabili ties (4 -146) speed-d uplex (4 -144) capabiliti es Thi s comma nd adve rti ses th e por[...]
-
Pagina 473
Interface Co mmands 4-147 4 Example The follo wing exa mple c onfigu res Ethern et port 5 c apabilities to 100ha lf, 10 0full and fl ow cont rol. Related Commands negotiat ion (4-145 ) speed-d uplex (4 -144) flo wco ntro l (4 -147 ) flowcontrol This comm and en ables flow control. Us e the no form t o disa ble fl ow con trol. Syntax [ no ] flowcont[...]
-
Pagina 474
Command Line I nterface 4-148 4 Related Commands negotiat ion (4-145 ) capa bilities (f lowcontrol, sy mmetric) (4-1 46) shutdown This comm and disa bles an i nterface. T o restart a disa bled interface, use the no form . Syntax [ no ] shut down Default Sett ing All interface s are enabl ed. Command Mode Interface C onfig uration (E thernet, Port C[...]
-
Pagina 475
Interface Co mmands 4-149 4 Command Usage • When bro adcas t traffic ex ceeds the specif ied thresh old, pac kets abov e that thresh old are drop ped. • Broadcast control does n ot effect IP mu lticast tra ffic. • The resol ution is 1 packet per secon d (pps); i.e., any set ting betw een 500-262 143 is acc eptable . Example The fol lowi ng sh[...]
-
Pagina 476
Command Line I nterface 4-150 4 show inte rfaces st atus This comm and disp lays the status for an int erface . Syntax show in terface s status [ inte rfac e ] interfa ce • etherne t unit / port - unit - Stack un it 43 . ( Range: 1-1) - port - Port num ber. (R ange: 1-28) • port-chann el cha nnel-i d (Range: 1 -12) • vlan vlan-i d (Ra nge: 1-[...]
-
Pagina 477
Interface Co mmands 4-151 4 show inte rfaces counte rs This c omman d disp lays i nterfac e stati stics. Syntax show i nterf aces counte rs [ inte rface ] inte rface • etherne t unit / port - unit - Stack un it 44 . ( Range: 1-1) - port - Port num ber. (R ange: 1-2 8) • port-chann el cha nnel-i d (Range: 1 -12) Default Sett ing Shows the co unt[...]
-
Pagina 478
Command Line I nterface 4-152 4 show inte rfaces swi tchport This comm and disp lays t he adm inistrat ive and op erationa l status of th e specifie d int er fa ces . Syntax show i nterface s sw itchpo rt [ in terface ] interfa ce • etherne t unit / port - unit - Stack un it 45 . ( Range: 1-1) - port - Port num ber. (R ange: 1-28) • port-chann [...]
-
Pagina 479
Interface Co mmands 4-153 4 T able 4-49 show in terfaces switch port - d isplay d escripti on Field Descr iption Broadcas t thresh old Shows if broa dcast st orm su ppressi on is en abled o r disab led; if en abled it also show s th e thre shol d leve l (p age 4- 148) . LACP sta tus Shows if L ink Ag gregat ion Co ntrol Pr otocol has be en ena bled[...]
-
Pagina 480
Command Line I nterface 4-154 4 Mirror Port Commands This secti on des cribes how to mirro r traffic from a sour ce por t to a target port. port monitor This c omman d co nfigures a m irror sess ion. U se the no fo rm to clear a mirror session . Syntax port mo nitor interface [ rx | tx | bot h ] no port monitor in te rfac e • int er fa ce - et he[...]
-
Pagina 481
Mirror Por t Commands 4-155 4 Example The follow ing exam ple conf igures the switch t o mirror all packets from port 6 t o 1 1: show port monitor This c omman d disp lays m irro r infor mation. Syntax sh ow port moni tor [ in terf a ce ] inte rface - ethernet unit / port (source port) • unit - Stack un it 47 . ( Range: 1-1) • port - Port num b[...]
-
Pagina 482
Command Line I nterface 4-156 4 Rate Limit Commands This funct ion allows the netwo rk manag er to cont rol the m aximum r ate for traffic transmi tted or rec eived on an interfa ce. Rate l imiting is co nfigur ed on inte rfaces at the edge of a network to limit tr affic into or out of the network. T raff ic that falls within the rate lim it is tra[...]
-
Pagina 483
Link Aggregati on Commands 4-157 4 Link Aggregation Comma nds Ports can be statica lly groupe d into an aggregat e link (i.e. , trunk) to incr ease the bandwidth of a networ k conne ction or to ensure fa ult recove ry . Or you can us e the Link Aggr egation C ontrol Prot ocol (LA CP) to aut omaticall y negotiat e a trunk link between this s witch a[...]
-
Pagina 484
Command Line I nterface 4-158 4 Dynami cally Crea ting a Por t Chann el – Ports assi gned to a co mmon po rt ch annel mu st meet th e followi ng criter ia: • Ports must have the same LACP system priori ty. • Ports must have the same p ort admin key (Ethernet In terface). • If the p ort ch annel a dmin key (la cp ad min key - Po rt Chann el)[...]
-
Pagina 485
Link Aggregati on Commands 4-159 4 lacp Thi s com mand enab les 8 02. 3ad Li nk A ggr egati on Co ntro l Pr ot ocol (LAC P) f or th e cur ren t inte rf ace. U se t he no form to disabl e it. Syntax [ no ] la cp Default Sett ing Disabled Command Mode Interface C onfig uration (E thernet) Command Usage • The port s on both end s of an LA CP trunk m[...]
-
Pagina 486
Command Line I nterface 4-160 4 lacp system- priority This c omman d co nfigures a p ort's LAC P s ystem p riority . Use the no form to r estore the defaul t setting. Syntax lacp { actor | par tn e r } sy stem- priori ty pri orit y no lacp { actor | pa r t n e r } system- priority • actor - Th e local side an aggrega te link. • partner - T[...]
-
Pagina 487
Link Aggregati on Commands 4-161 4 lacp admin-ke y (Ethernet Inter face) This c omman d co nfigures a p ort's LA CP adm inistration key . Use the no f orm to restore t he defaul t setting. Syntax lacp { actor | par tn e r } ad min -key key [ no ] lacp { acto r | par t n e r } admin-key • actor - Th e local side an aggrega te link. • partne[...]
-
Pagina 488
Command Line I nterface 4-162 4 Default Sett ing 0 Command Mode Interface C onfig uration (P ort Chann el) Command Usage • Ports are on ly allow ed to join the sa me LA G if (1) the LAC P system priority matches, ( 2) the LACP port a dmin key matches, and (3) th e LACP port channel key matc hes (if con figure d). • If the po rt chan nel adm in [...]
-
Pagina 489
Link Aggregati on Commands 4-163 4 Example show la cp This c omman d disp lays L ACP infor mation. Syntax show la cp [ port-c hannel ] { count ers | internal | n eighbors | sys-id } • port-cha nnel - Local ide ntifier for a li nk aggreg ation gr oup. (Ran ge: 1-12 ) • counter s - Statistics for LACP prot ocol m essages. • inte rn al - Conf ig[...]
-
Pagina 490
Command Line I nterface 4-164 4 Console#show lacp 1 internal Port channel: 1 ----------------------------------------- -------------------------------- Oper Key: 3 Admin Key: 0 Eth 1/ 2 ----------------------------------------- -------------------------------- LACPDUs Internal: 30 sec LACP System Priority: 32768 LACP Port Priority: 32768 Admin Key:[...]
-
Pagina 491
Link Aggregati on Commands 4-165 4 Console#show lacp 1 neighbors Port channel 1 neighbors ----------------------------------------- -------------------------------- Eth 1/1 ----------------------------------------- -------------------------------- Partner Admin System ID: 32768, 00-00-00-00-00-00 Partner Oper System ID: 32768, 00-01-F4-78-AE-C0 Par[...]
-
Pagina 492
Command Line I nterface 4-166 4 Address Table Command s Thes e comma nds ar e used t o confi gur e the addr ess tabl e for filte ring spec ifi ed addr esse s, dis play ing cu rren t entr ies , clea ring the t able , or set tin g the agi ng tim e. Console#show lacp sysid Port Channel System Priority System MAC Address -------------------------------[...]
-
Pagina 493
Address T able Commands 4-167 4 mac-addr ess-table stati c This comm and maps a stati c address to a destina tion port in a VLAN. Use the no form to rem ove an a ddress. Syntax mac-ad dress-table s tatic mac-addres s inte rface in te rfa ce vlan vlan-i d [ ac tion ] no ma c-add ress -t abl e st atic ma c-addr ess vlan vlan-i d • mac-a ddress - MA[...]
-
Pagina 494
Command Line I nterface 4-168 4 clear mac -address- table dynamic This comm and rem oves a ny learne d entries f rom the fo rward ing database an d clears the transm it and rece ive counts for any static or s ystem c onfigured entrie s. Default Sett ing None Command Mode Privileged Exec Example show ma c-address-tab le This comm and sh ows class es[...]
-
Pagina 495
Address T able Commands 4-169 4 means t o match a bi t and “1” mea ns to igno re a bit. For exa mple, a mask of 00-00-0 0-00-0 0-00 mea ns an exa ct match , and a mas k of FF-FF-FF -FF-FF-F F means “any .” • The maxi mum nu mber of address entries is 8191. Example mac-addr ess-table agin g-time This comm and se ts the aging tim e for entr[...]
-
Pagina 496
Command Line I nterface 4-170 4 Spanning Tree Command s This secti on include s com mands t hat config ure the Sp anning T ree Algo rithm (S T A) globally fo r the switch , and co mman ds that co nfigure ST A for the sele cted inter face. T able 4-58 Spannin g Tree Comman ds Comman d F unctio n Mode P age span nin g-tr ee Enabl es th e spann in g t[...]
-
Pagina 497
Spanning Tree Commands 4-171 4 span nin g- tree Thi s com mand en able s the S p anni ng T ree Algo rit hm glo bal ly for th e swit ch. Use th e no form to disab le it. Syntax [ no ] sp anning-tree Default Sett ing S panning tree is ena bled. Command Mode Global Co nfigurat ion Command Usage The S panning Tree Algorithm (ST A) can be used to det ec[...]
-
Pagina 498
Command Line I nterface 4-172 4 memb ers may be inadver tently disa bled to preven t network loops, thu s isolating group memb ers. W hen oper ating m ultiple V LANs , we r ecomm end selecti ng the MST P option. • Rapid S panning Tre e Pr otocol RSTP supports connections to either STP or RSTP nodes by monitoring the incoming protocol m essages an[...]
-
Pagina 499
Spanning Tree Commands 4-173 4 Command Usage This command set s the maximum time (in s econds) the r oot device wil l wait before changin g states (i.e. , discar ding to learning to forwa rding) . This del ay is required becaus e every device m ust rece ive informa tion abo ut topolog y changes before i t starts to forw ard fram es. In addition , e[...]
-
Pagina 500
Command Line I nterface 4-174 4 Default Sett ing 20 seco nds Command Mode Global Co nfigurat ion Command Usage This comm and sets the m axim um tim e (in s econd s) a devi ce ca n wait wi thout receivin g a co nfigurat ion me ssage be fore attempt ing to r econfi gure. All device ports (except for design ated ports) should r eceive co nfigurat ion [...]
-
Pagina 501
Spanning Tree Commands 4-175 4 spanning-tre e pathcost m ethod This comm and co nfigures the path cost method used for Ra pid Sp anning T ree an d Multiple S panning Tree. Use t he no form to res tore the de fault. Syntax spanning-tree pathcost method { lo ng | sho rt } no spanning-tree pathcost m ethod • lon g - Spec ifies 32- bit base d values [...]
-
Pagina 502
Command Line I nterface 4-176 4 spanning-tre e mst-configura tion This comm and ch anges to M ultiple Sp anning T ree (M ST) configu ration m ode. Default Sett ing • No VLANs ar e mappe d to any MS T instan ce. • The regi on name i s set the sw itch’s M AC addre ss. Command Mode Global Co nfigurat ion Example Related Commands mst vlan (4-176 [...]
-
Pagina 503
Spanning Tree Commands 4-177 4 and the sa me instan ce (on ea ch bridge) with the sam e set of VL ANs. Also , note that RS TP treats each MSTI region as a single nod e, connec ting all regions to the Comm on Spa nning Tree. Example mst priority This c omman d co nfigures the p riorit y of a spannin g tree ins tance. U se the no form to restor e the[...]
-
Pagina 504
Command Line I nterface 4-178 4 Default Sett ing Switch’s MAC ad dress Command Mode MST Conf iguration Command Usage The MST re gion nam e and revi sion numbe r (page 4-178 ) are used to designa te a uniq ue MST reg ion. A brid ge (i.e., spann ing-tree complia nt devic e suc h as th is sw itch ) can only belo ng to one MST regi on. A nd all bri d[...]
-
Pagina 505
Spanning Tree Commands 4-179 4 max-hops This comm and co nfigures the maxi mum nu mber of hops i n the region before a BPDU is discar ded. U se t he no form to rest ore the de fault. Syntax max-h op s hop-numb er hop-number - M aximum hop num ber for multiple spanning tree. (Range: 1-40) Default Sett ing 20 Command Mode MST Conf iguration Command U[...]
-
Pagina 506
Command Line I nterface 4-180 4 span nin g- tree cos t This comm and co nfigures the spanning tree path co st for the sp ecified int erface . Use t he no form to re store the d efault . Syntax spanning-tree cost co st no spanning-tree co st cost - T he pa th co st fo r the po rt. (Range: 0 for auto-configuration, or 1-200,000,000) The recommended r[...]
-
Pagina 507
Spanning Tree Commands 4-181 4 Default Sett ing 128 Command Mode Interface C onfig uration (E thernet, Port Chann el) Command Usage • This comm and de fines the pri ority for the us e of a port in t he Spanni ng Tree Alg orith m. I f the p ath co st fo r all port s on a sw itch are th e sa me, the port with the highest priority (that is, lowest v[...]
-
Pagina 508
Command Line I nterface 4-182 4 Example Related Commands spanning-tr ee p ortfast (4- 182) spanning-tre e portfast This command set s an interf ace to fas t forwarding. Us e the no form to d isable fast forwar ding. Syntax [ no ] sp anning-tree portfast Default Sett ing Disabled Command Mode Interface C onfig uration (E thernet, Port Chann el) Comm[...]
-
Pagina 509
Spanning Tree Commands 4-183 4 spanning-tre e link-type This c omman d co nfigures the l ink typ e f or Ra pid Sp anning Tree and Multi ple S panning Tree. Use t he no form to restor e the def ault. Syntax spanning-tree link -type { auto | point-to-poi nt | shared } no spanning-tree lin k-type • auto - Auto matica lly deriv ed from the duplex m o[...]
-
Pagina 510
Command Line I nterface 4-184 4 Default Sett ing By default , the system autom atica lly detects the speed an d duplex m ode use d on eac h port , and co nfi gures the p ath co st accor di ng to th e valu es show n below . Path cos t “0” is used to indicate aut o-conf iguration mode. • Etherne t – half duplex : 2,000, 000; fu ll duplex: 1, [...]
-
Pagina 511
Spanning Tree Commands 4-185 4 Command Usage • This comm and de fines the pr iority for the use of an interfa ce in the mult iple spannin g-tree . If the p ath c ost fo r all inte rfaces on a switch are the sam e, the interface with the highest priority (t hat is, lo west value) will be configured as an active l ink in the sp anning t ree. • Wh[...]
-
Pagina 512
Command Line I nterface 4-186 4 show sp anning-tree This c omman d show s the con figuratio n for the c ommon spanning tree (CST) or f or an instance withi n the multiple spa nning tree (MST). Syntax show s panning-tree [ in terface | mst instance_i d ] • int er fa ce • etherne t unit / port - unit - Stack un it 51 . ( Range: 1-1) - port - Port[...]
-
Pagina 513
Spanning Tree Commands 4-187 4 Example Console#show spanning-tree Spanning-tree information ----------------------------------------- ---------------------- Spanning tree mode: MSTP Spanning tree enable/disable: enable Instance: 0 Vlans configuration: 1-4094 Priority: 32768 Bridge Hello Time (sec.): 2 Bridge Max Age (sec.): 20 Bridge Forward Delay [...]
-
Pagina 514
Command Line I nterface 4-188 4 show sp anning-tree ms t configuration This c omman d sh ows the con figura tion of the multiple spanni ng tr ee. Command Mode Privileged Exec Example VLAN Commands A VLAN is a gro up of ports that ca n be loc ated anyw here in th e network , but comm unicat e as though they belo ng to the s ame phys ical seg ment. T[...]
-
Pagina 515
VLAN Commands 4-189 4 vlan databas e This comm and en ters VLAN da tabase mo de. All comm ands in thi s mode wi ll take effect imm ediatel y . Default Sett ing None Command Mode Global Co nfigurat ion Command Usage • Use the VLAN data base comm and mo de t o add, chan ge, an d dele te VLAN s. After finishi ng con figurat ion chang es, you ca n di[...]
-
Pagina 516
Command Line I nterface 4-190 4 Command Usage • no vlan v lan-id delete s the VLAN. • no vlan v lan-id name remove s the VLA N name. • no vlan v lan-id state re turns the VL AN to th e default stat e (i.e., acti ve). • You can con figure up to 255 VLANs on the s witch. Example The follow ing exa mple adds a VLAN, using VL AN ID 10 5 and nam[...]
-
Pagina 517
VLAN Commands 4-191 4 Example The follow ing exam ple show s how to se t the inter face con figura tion mode to VLAN 1, and t hen ass ign an IP addr ess to th e VLAN: Related Commands shutdown (4 -148) switchpo rt mode This comm and co nfigures the VLAN me mber ship mode for a port. Us e the no form to restor e the defaul t. Syntax switchport mode [...]
-
Pagina 518
Command Line I nterface 4-192 4 switchpo rt accepta ble-frame-type s This co mmand config ures t he accepta ble fram e types for a p ort. Us e the no fo rm to restore t he defaul t. Syntax switchpo rt acc eptable-frame- types { all | ta g g e d } no switchp ort acc eptable-frame- types • all - The por t accepts al l frames , tagged or untagg ed. [...]
-
Pagina 519
VLAN Commands 4-193 4 • If ingress filtering is enab led and a port r eceives frame s tagged for VLA Ns for whi ch i t is not a memb er, t hese fra mes wi ll b e di scar ded. • Ingress filt ering does no t affect VL AN indepen dent BPDU frame s, such as GVRP or STA. How eve r, they do affect VLA N dep enden t BPDU f rames , such as GMR P. Examp[...]
-
Pagina 520
Command Line I nterface 4-194 4 switchpo rt allowed v lan This c omman d co nfigures VLAN grou ps on the se lected interf ace. Us e t he no form to restor e the defaul t. Syntax switchpo rt allo wed vlan { add vlan- list [ t a gged | untagged ] | remo ve vlan -list } no switchp ort allo wed vlan • add vlan-l ist - Lis t of VLAN ide ntifi ers to a[...]
-
Pagina 521
VLAN Commands 4-195 4 switchpo rt forbidden vlan This c omman d conf igures forbidd en V LANs. U se the no form to remov e the list of forbidde n VLANs. Syntax switchport forbidden vlan { add vlan-l ist | remove vlan-list } no switchp ort fo rbidden vl an • add vlan-l ist - Lis t of VLAN ide ntifi ers to ad d. • remo ve vlan-li st - Lis t of VL[...]
-
Pagina 522
Command Line I nterface 4-196 4 show vl an This comma nd shows VLAN information . Syntax show v lan [ id vlan-id | name vlan-name ] • id - Key word to be foll owed by the VLAN ID . vlan-i d - ID of the conf igur ed VLA N. (R ange: 1-40 94, n o lea ding zeroes ) • name - Keyw ord to be foll owed by the VLAN na me. vlan-n ame - ASCII st ring from[...]
-
Pagina 523
VLAN Commands 4-197 4 Configuring Pri vate VLANs Private VLA Ns prov ide port- based s ecurity an d isolation betwee n ports within th e assigne d VLA N. Th is sec tion describes com mands use d to c onfigu re p rivate V lANs. pvlan This comm and en ables or con figur es a private VLAN. Us e the no form to disa ble t he private VLAN . Syntax pvlan [...]
-
Pagina 524
Command Line I nterface 4-198 4 show pv lan This comm and disp lays the con figured pr ivate VL AN. Command Mode Privileged Exec Example Configuring Prot ocol-based VLANs The net work d evices requ ired to support multi ple pro tocols c annot be e asily gr ouped into a common VLAN. This may require non-standard devices to pass traf fic between d if[...]
-
Pagina 525
VLAN Commands 4-199 4 3. Then map the protoco l for eac h interface t o the appr opriate VLA N using the protocol-vlan protoco l-group comma nd (Interfac e Config uratio n mode). protocol-vla n protocol-group ( Confi guring Gr oups) Thi s comman d creat es a pr otocol group , or to add sp ecif ic protoc ols to a gr oup. Use the no f orm to rem ove [...]
-
Pagina 526
Command Line I nterface 4-200 4 Command Mode Interface C onfig uration (E thernet, Port Chann el) Command Usage • When cre ating a pro tocol-bas ed VLAN, only ass ign interfa ces via this comm and. If you as sign inte rfaces u sing any of th e other VL AN comma nds (such as vlan on page 4-189), these in terfaces will admit traffic of any protocol[...]
-
Pagina 527
VLAN Commands 4-201 4 show inte rfaces protoco l-vlan protocol -group This comm and sh ows the ma pping from proto col groups to VLA Ns for t he selec ted int er fa ces . Syntax show interface s protocol-vlan pr otocol-group [ interface ] inte rface • etherne t unit / port - unit - Stack un it 53 . ( Range: 1-1) - port - Port num ber. (R ange: 1-[...]
-
Pagina 528
Command Line I nterface 4-202 4 GVRP and Bridge Extens ion Commands GARP VL AN Regi stration Protoco l defines a wa y for sw itches to ex change VLA N informat ion in order to automa tically reg ister VLAN memb ers on inter faces ac ross the netwo rk. This se ction de scribes how to en able GV RP for ind ividua l interface s and globa lly for the s[...]
-
Pagina 529
GVRP and Bridge Extens ion Commands 4-203 4 show bridg e-ext This comm and sh ows the con figura tion for bri dge exten sion com mands . Default Sett ing None Command Mode Privileged Exec Command Usage See “Dis play ing Bas ic VLA N I nfor mati on” on p age 3-138 an d “Di spl ayin g Bridge E xtension C apabiliti es” on page 3-15 for a de sc[...]
-
Pagina 530
Command Line I nterface 4-204 4 show gv rp configuration This c omman d sh ows if GVR P is enabled . Syntax show g vrp configur ation [ interface ] interfa ce • etherne t unit / port - unit - Stack un it 54 . ( Range: 1-1) - port - Port num ber. (R ange: 1-28) • port-chann el cha nnel-i d (Range: 1 -12) Default Sett ing Shows bo th globa l and [...]
-
Pagina 531
GVRP and Bridge Extens ion Commands 4-205 4 Command Usage • Group Ad dres s Reg istration Protoc ol is u sed by GV RP a nd GM RP t o regi ster or deregi st er cl ient att rib utes for clien t se rvic es wi thi n a b ridg ed LA N. Th e default v alues for t he GARP timers are i ndepe ndent of the media ac cess metho d or data rat e. These va lues [...]
-
Pagina 532
Command Line I nterface 4-206 4 Related Commands garp time r (4-20 4) Priority Commands The comm ands describ ed in this se ction allo w you to sp ecify w hich data packets have grea ter prec edenc e when traffic is buffered in the swi tch due to congest ion. This switch su pports CoS with e ight priority qu eues for each port. Dat a pack ets in a [...]
-
Pagina 533
Priority Co mmands 4-207 4 queue mod e This comm and se ts the queue mode to str ict priority or Weighted Roun d-Rob in (WR R) for the c lass of se rvic e (C oS) pr ior ity q ueues . Us e the no fo rm to r es tore th e default va lue. Syntax queue mod e { strict | wrr } no queue mod e • strict - Se rvices the egress queues in sequen tial order, t[...]
-
Pagina 534
Command Line I nterface 4-208 4 Command Mode Interface C onfig uration (E thernet, Port Chann el) Command Usage • The prece dence for priorit y mapping i s IP Port, IP Preceden ce or IP D SCP, and defau lt switch port prior ity. • The defau lt priority ap plies for an unta gged fra me receiv ed on a por t set to accept a ll frame t ypes (i.e , [...]
-
Pagina 535
Priority Co mmands 4-209 4 Example Thi s exa mple s hows how t o as sign WRR we ight s to eac h of the prio rit y queu es: Related Commands show que ue band width (4-210) queue cos -map This comm and as signs cl ass of servi ce (Co S) values to the priori ty queues (i.e., hardwar e output queues 0 - 7). Use the no form set the CoS map t o the defau[...]
-
Pagina 536
Command Line I nterface 4-210 4 Example The follow ing exam ple shows how to ch ange the C oS ass ignments to a one -to-on e mapping: Related Commands show queue cos-m ap ( 4-21 1) show que ue mode This c omman d sh ows the cur rent queue mode. Default Sett ing None Command Mode Privileged Exec Example show que ue bandwi dth This command dis plays [...]
-
Pagina 537
Priority Co mmands 4-211 4 Example show que ue cos-map This co mmand sho ws the cla ss of se rvice pr iori ty map. Syntax show q ueue cos-ma p [ interface ] inte rface • etherne t unit / port - unit - Stack un it 56 . ( Range: 1-1) - port - Port num ber. (R ange: 1-2 8) • port-chann el cha nnel-i d (Range: 1-1 2) Default Sett ing None Command M[...]
-
Pagina 538
Command Line I nterface 4-212 4 Priorit y Commands (Layer 3 and 4) map ip port (Gl obal Co nfiguratio n) This co mmand enable s IP por t mapp ing (i. e., class of ser vice map ping f or TCP/UD P socke ts). Use the no form to disable I P port mapp ing. Syntax [ no ] m ap ip port Default Sett ing Disabled Command Mode Global Co nfigurat ion Command U[...]
-
Pagina 539
Priority Co mmands 4-213 4 Default Sett ing None Command Mode Interface C onfig uration (E thernet, Port Chann el) Command Usage • The prece dence for priority m apping i s IP Port, IP Preceden ce or IP D SCP, and defau lt switch port prior ity. • This command sets the I P port p riority fo r all inte rfaces. Example The follow ing exam ple sho[...]
-
Pagina 540
Command Line I nterface 4-214 4 map ip pr ecedence (Interface Configu ration) This co mmand sets IP prec edenc e prior ity (i.e., IP T ype of Se rvice p riority). U se the no form to restore the default t able. Syntax map ip preceden ce ip-pr ecede nce-val ue cos cos-valu e no map ip preceden ce • precede nce-val ue - 3-bit p recedenc e valu e. ([...]
-
Pagina 541
Priority Co mmands 4-215 4 Command Usage • The prece dence for priority m apping i s IP Port, IP Preceden ce or IP D SCP, and defau lt switch port prior ity. • IP Prece dence and IP DS CP cann ot both be enab led. Enabl ing one of thes e priority types will a utomatically dis able the other type. Example The follow ing exam ple show s how to en[...]
-
Pagina 542
Command Line I nterface 4-216 4 • DSCP pr iority va lues are ma pped to defaul t Clas s of Se rvice val ues acc ording to recomme ndations in the IEEE 802.1p stand ard, and then su bsequ ently mapp ed to the eigh t hard ware pr io rity queues . • This comm and se ts the IP DSCP prio rity for all int erfaces . Example The follow ing exam ple sho[...]
-
Pagina 543
Priority Co mmands 4-217 4 show ma p ip precede nce This comm and sh ows the IP pr eced ence priorit y map. Syntax show m ap ip preced ence [ interface ] inte rface • etherne t unit / port - unit - Stack un it 58 . ( Range: 1-1) - port - Port num ber. (R ange: 1-2 8) • port-chann el cha nnel-i d (Range: 1-1 2) Default Sett ing None Command Mode[...]
-
Pagina 544
Command Line I nterface 4-218 4 show ma p ip dscp This command shows the IP DSCP priority map . Syntax show m ap ip dscp [ interface ] interfa ce • etherne t unit / port - unit - Stack un it 59 . ( Range: 1-1) - port - Port num ber. (R ange: 1-28) • port-chann el cha nnel-i d (Range: 1-1 2) Default Sett ing None Command Mode Privileged Exec Exa[...]
-
Pagina 545
Quality of Servic e Commands 4-219 4 Quality of Service Comm ands The comm ands des cribed in this sect ion are us ed to conf igure Differen tiated Services ( DiffServ) cl assifica tion criter ia and se rvice po licies. Y ou can class ify traffic base d on acces s li sts, IP Pr ece dence or D SCP val ues, or VL ANs. Usin g acce ss li st s allows yo[...]
-
Pagina 546
Command Line I nterface 4-220 4 Notes: 1. You can only configure one rule per Class Map. However, you can include multiple classes in a Policy Map. 2. You must create a Class Map before creating a Policy Map. clas s-m ap This comm and cr eates a cl ass map used fo r matchi ng packets to the sp ecifie d class, and enters C lass M ap configur ation m[...]
-
Pagina 547
Quality of Servic e Commands 4-221 4 matc h This c omman d de fines the cr iteria u sed t o c lassify traffic. U se the no form to delete the matc hing crit er ia. Syntax [ no ] match { access- list acl-nam e | ip dscp dscp | ip pre cedenc e ip-p rece den ce | vlan vlan } • acl-nam e - Name of the access control lis t. Any type of AC L can be spe[...]
-
Pagina 548
Command Line I nterface 4-222 4 This examp le creat es a clas s map c all “rd_clas s#3,” an d sets it to matc h packets marked for VLAN 1: policy- map This c omman d creat es a policy map that can be attache d to multipl e inter faces, and ent ers Poli cy Ma p conf ig urat ion mo de. Use t he no form to del ete a policy map and return t o Glob [...]
-
Pagina 549
Quality of Servic e Commands 4-223 4 class This comm and d efines a traffic classi fication u pon w hich a po licy ca n act, an d enter s Policy Ma p Class con figur ation mod e. Use the no form to delete a cla ss map and ret urn to P olicy Map con figur at ion mod e. Syntax [ no ] class cl ass- map- name class-map-name - Name o f the cla ss ma p. [...]
-
Pagina 550
Command Line I nterface 4-224 4 set This comm and service s IP traffic by setting a CoS, DSCP , or IP Preced ence value in a matc hing pack et (a s specif ie d by the match com mand on pag e 4- 221). Use t he no form to re move the tr affic c lassificati on. Syntax [ no ] set { cos new-co s | ip ds cp new-d scp | ip prec eden ce new-pr eced enc e }[...]
-
Pagina 551
Quality of Servic e Commands 4-225 4 Command Usage • You ca n conf igur e up to 6 3 poli cers (i .e., cl ass map s) f or F ast Ether net and Gigabit Ethern et ingre ss por ts. • Policing is b ased on a token buc ket, w here buck et dept h (i .e., th e max imum burst befo re the bucke t overflo ws) is by spec ified the bu rst-byte field, a nd t [...]
-
Pagina 552
Command Line I nterface 4-226 4 show cl ass-map Thi s com mand dis play s th e QoS clas s ma ps whic h def ine matc hing cri ter ia u sed f or classifyin g traf fic. Syntax show c lass- map [ class- map-nam e ] class-map-name - Name o f the cla ss ma p. ( Range : 1- 32 ch arac ters ) Default Sett ing Displays all class maps. Command Mode Privileged[...]
-
Pagina 553
Quality of Servic e Commands 4-227 4 Example show pol icy-map inte rface This c omman d disp lays t he service policy assi gned to the spe cified interfac e. Syntax show po licy-m ap interfa ce interface input inte rface • etherne t unit / port - unit - Stack un it 60 . ( Range: 1-1) - port - Port num ber. (R ange: 1-2 8) • port-chann el cha nn[...]
-
Pagina 554
Command Line I nterface 4-228 4 Multicast Filtering Comma nds This switc h uses IGM P (Interne t Group M anage ment Prot ocol) to que ry for an y attached ho sts that want to re ceive a spe cific m ulticas t serv ice. It ident ifies the ports containing hosts req uestin g a serv ice and sends data ou t to thos e ports on ly . It t hen propagate s t[...]
-
Pagina 555
Multicast Filte ring Commands 4-229 4 The follow ing exam ple enab les IGM P snoopi ng. ip igmp sn ooping vl an static This comm and ad ds a p ort to a multic ast group . Use the no form to remove th e port. Syntax [ no ] ip igm p snooping vlan vl an-id static ip-addre ss int erface • vlan-i d - VLAN ID (Range : 1-4094) • ip-a ddre ss - IP addr[...]
-
Pagina 556
Command Line I nterface 4-230 4 Command Usage • All syst ems on the s ubnet m ust sup port t he sa me vers ion. If there a re lega cy devices in your network that only support Version 1, you will also h ave to configur e this swit ch to use Ver sion 1. • Some com mands are only e nabled f or IGMPv 2, includin g ip ig mp query-ma x-respon se-tim[...]
-
Pagina 557
Multicast Filte ring Commands 4-231 4 Command Mode Privileged Exec Command Usage Memb er types dis played incl ude IG MP or USER , dependin g on sel ected options. Example The follow ing show s the mu lticast entrie s learned through IGMP s nooping for VLAN 1: IGMP Query Commands (Layer 2) ip igmp sn ooping qu erier This co mmand enab les th e swit[...]
-
Pagina 558
Command Line I nterface 4-232 4 Example ip igmp sn ooping qu ery-count This c omman d co nfigures the q uery coun t. Use the no form to res tore the defa ult. Syntax ip igmp s nooping query-co unt count no ip igmp snooping que ry-count count - The maximum n umber of queries issued for whic h there has been no response before the switch t akes actio[...]
-
Pagina 559
Multicast Filte ring Commands 4-233 4 Command Mode Global Co nfigurat ion Example The fo llowing show s h ow to c onfigu re th e que ry in terval to 1 00 se conds : ip igmp sn ooping qu ery-max-respo nse-time This c omman d co nfigures the q uery repor t dela y . U se the no form to rest ore the default. Syntax ip igmp s noopin g query-m ax-res pon[...]
-
Pagina 560
Command Line I nterface 4-234 4 ip igmp sn ooping router-port-e xpire-time This c omman d co nfigures the q uery timeou t. Use th e no form to resto re the defaul t. Syntax ip igmp s nooping router-port-expire-tim e seconds no ip igmp snooping router-po rt-expire-time seconds - The tim e the switch waits after the previous querier stops before it c[...]
-
Pagina 561
Multicast Filte ring Commands 4-235 4 ip igmp sn ooping vlan mrouter This comm and statica lly configur es a m ulticast ro uter port. U se the no form to remov e the conf iguration. Syntax [ no ] ip igm p snooping vlan vl an-id mrouter interface • vlan-i d - VLAN ID (Range : 1-4094 ) • interface • etherne t unit / port - unit - Stack un it 62[...]
-
Pagina 562
Command Line I nterface 4-236 4 Command Usage Multicast router port types di splaye d includ e S tatic or Dynam ic. Example The fol lowi ng sho ws t hat port 1 1 in VL AN 1 is at ta ched to a m ult icas t r outer : IGMP Com man ds (Layer 3) ip igmp This comm and en ables IGMP on a VLAN interface. Use the no form of this comm and to disabl e IGMP on[...]
-
Pagina 563
Multicast Filte ring Commands 4-237 4 Example Related Commands ip i gmp s noo ping (4- 228) show ip igmp s noo ping ( 4- 230) ip igmp robu stval This c omman d sp ecifies the robust ness (i.e., expec ted pack et los s) fo r this int erf ace. Use the no for m of this command to restore the default v alue. Syntax ip igmp robu stval robust-va lue no i[...]
-
Pagina 564
Command Line I nterface 4-238 4 ip igmp qu ery-interval This comm and co nfigures the frequ ency a t which hos t query m essages are sen t. Use t he no form to re store the d efault . Syntax ip igm p qu ery-in terval seco nds no ip igmp query- interv al seconds - The frequency at which the switch sends IGM P host-query messages. (Range : 1-255) Def[...]
-
Pagina 565
Multicast Filte ring Commands 4-239 4 Command Usage • The switch must be us ing IGMPv2 for this command to t ake effect. • This command defines how long any responder (i.e., client or router) still in th e group h as to resp ond to a que ry me ssage bef ore th e rout er del etes the grou p. • By varyi ng the Ma ximum R espo nse Inte rval, you[...]
-
Pagina 566
Command Line I nterface 4-240 4 ip igmp ve rsion This c omman d conf igures the IG MP v ersion used on an inter face. Use the no form of this comm and to re store the de fault . Syntax ip igmp versio n { 1 | 2 } no ip igmp version • 1 - IGMP Version 1 • 2 - IGMP Version 2 Default Sett ing IGMP V ersion 2 Command Mode Interface C onfigur ation ([...]
-
Pagina 567
Multicast Filte ring Commands 4-241 4 The follow ing exam ple shows the IGMP configura tion for VL AN 1, as well as the device curr ently servin g as the IGMP qu erier for th is multicast service. clear ip ig mp group This comm and de letes en tries from the IGMP cache. Syntax clear ip igm p grou p [ g roup-ad dress | inter face vlan vlan-id ] • [...]
-
Pagina 568
Command Line I nterface 4-242 4 Command Usage • This comm and disp lays informa tion for mult icast grou ps learn ed via IGM P, not static gr oups. • If the switch receive s an IGMP Ve rsion 1 Mem bershi p Report , it sets a time r to note that th ere are Versi on 1 hos ts present wh ich are m embers of the group for which i t heard the re port[...]
-
Pagina 569
IP Interface Co mmands 4-243 4 IP Interface Commands There are no IP addre sses as signed t o this rout er by defa ult. Y ou mu st manu ally configur e a new add ress to m anage the rout er over yo ur networ k or to conn ect the router t o existi ng IP subne ts. Y ou may also need to a establish a defau lt gate way between t his dev ice and m ana g[...]
-
Pagina 570
Command Line I nterface 4-244 4 Default Sett ing DHCP Command Mode Interface C onfigur ation (VLAN ) Command Usage • If this router is directly connec ted to end nod e devic es (or con nected to en d nodes vi a shared m edia) that will be assi gned to a specific su bnet , then you must crea te a router interface for each VL AN that will sup port [...]
-
Pagina 571
IP Interface Co mmands 4-245 4 Related Commands ip dhcp restar t client ( 4-122) ip default-g ateway This command specifies t he default gateway for dest inations not found in t he local routing table s. Use the no form t o remov e a defa ult ga tewa y . Syntax ip default- gateway gate way no ip default-gateway gateway - IP address of the default g[...]
-
Pagina 572
Command Line I nterface 4-246 4 Related Commands show ip red irec ts (4 -246 ) show ip redirects Thi s comm and s hows the defaul t g atewa y con figur ed f or t his d evic e. Default Sett ing None Command Mode Privileged Exec Example Related Commands ip default- gatew ay (4- 245) ping This comm and se nds ICMP echo re quest packets to anothe r nod[...]
-
Pagina 573
IP Interface Co mmands 4-247 4 - Net work or hos t unr eac habl e - The gate way fou nd no co rrespo nding entr y in the route t able. • Press < Esc> to s top pingi ng. Example Related Commands int erf ace (4- 143) Address Resolut ion Protocol (ARP) arp This comm and ad ds a static entry in the Addres s Resol ution Prot ocol (AR P) cach e. [...]
-
Pagina 574
Command Line I nterface 4-248 4 Command Usage • The ARP cac he is used to map 32- bit IP addre sses into 48 -bit hardw are (i.e ., Media Access Contro l) addre sses. Thi s cach e includ es entries f or hosts and other rout ers on lo cal netwo rk interfac es def ined on th is router . • The maxim um nu mber of st atic entrie s allowe d in the AR[...]
-
Pagina 575
IP Interface Co mmands 4-249 4 clear arp-ca che This comm and de letes all dyn amic en tries fro m the Add ress Re solution Protocol (ARP ) c ache. Command Mode Privileged Exec Example This examp le clea rs all dynami c entries in the ARP cac he. show arp Use this com mand t o displa y entries in t he Address Resol ution Prot ocol (ARP) cache . Com[...]
-
Pagina 576
Command Line I nterface 4-250 4 ip proxy-arp This comm and en ables pr oxy Addres s Resol ution Protocol (A RP). Use the no form to disabl e proxy AR P . Syntax [ no ] ip proxy-arp Default Sett ing Disabled Command Mode Interface C onfigur ation (VLAN ) Command Usage Proxy AR P allows a non- routing de vice to determin e the MAC add ress of a host [...]
-
Pagina 577
IP Routing Co mmands 4-251 4 Global Routing Confi guration ip routing This comm and en ables IP routing. Us e the no form t o disa ble IP ro utin g. Syntax [ no ] ip routing Default Sett ing Enabled Command Mode Global Co nfigurat ion Command Usage • The comm and a ffects bot h static an d dynami c unica st routing . • If IP routing is enabled,[...]
-
Pagina 578
Command Line I nterface 4-252 4 • gateway – IP addr ess of the gat eway us ed for th is route. • metric – Select ed RIP cos t for this interf ace. ( Range: 1-5, defau lt: 1) • * – Remove s all st atic routin g table en tries. Default Sett ing No static routes are confi gured. Command Mode Global Co nfigurat ion Command Usage • You can[...]
-
Pagina 579
IP Routing Co mmands 4-253 4 show ip route This command displays information in the IP routing table. Syntax show ip route [ config | addre ss [ netmask ]] • config – Disp lays all st atic rout ing entries . • address – IP addres s of the des tinatio n netwo rk, subnet work or hos t for whi ch rou tin g in fo rma tio n is to be d isp la ye [...]
-
Pagina 580
Command Line I nterface 4-254 4 show ip host-route This comm and disp lays the interfac e assoc iated wit h known r outes. Command Mode Privileged Exec Example Console#show ip host-route Total count: 0 IP address Mac address VLAN Port -------------------- -------------------- ------ ------ 192.168. 1.250 00-00-30-01-01-01 3 1/ 1 10. 2. 48. 2 00-00-[...]
-
Pagina 581
IP Routing Co mmands 4-255 4 show ip traffic This comm and disp lays statistic s for IP , ICMP , UDP , TCP and A RP protoc ols. Command Mode Privileged Exec Command Usage For a descr iption of th e informa tion sho wn by this co mman d, see “Di splaying S tatistics for IP Proto cols” on page 3-217. Example Console#show ip traffic IP statistics:[...]
-
Pagina 582
Command Line I nterface 4-256 4 Routing Infor mation Protocol (RIP) router rip Thi s com mand e nab les Ro uti ng I nfor mati on Pr otoc ol ( RIP) rou ting for all IP int erf aces on th e ro uter . Use t he no form to disa ble it. Syntax [ no ] r outer rip Command Mode Global Co nfigurat ion Default Sett ing Disabled Command Usage • RIP is used t[...]
-
Pagina 583
IP Routing Co mmands 4-257 4 timers basic This c omman d co nfigures the R IP u pdate timer, timeout t imer , and garb age- coll ec tio n ti me r . Us e th e no form to rest ore the de faults. Syntax timers basic up date- seconds no timers basic update-seconds – Set s the update timer to the specified value, sets the timeout time value to 6 times[...]
-
Pagina 584
Command Line I nterface 4-258 4 network This command specifie s the network inte rfaces that will be included in the RIP routing pr ocess. Use the no form to remove an entry . Syntax [ no ] ne two rk subnet-add ress subnet- addres s – IP addres s of a networ k directl y conn ected to thi s router . Command Mode Rout er C onfi gura tion Default Se[...]
-
Pagina 585
IP Routing Co mmands 4-259 4 Command Usage This comm and ca n be used to configur e a static neighbo r with whi ch this router w ill exchange i nformat ion, rath er than rel ying on bro adcast mes sages generated by the RIP pr otocol. Example vers ion This comm and sp ecifies a RI P versio n used glo bally by th e router . Use the no form to restor[...]
-
Pagina 586
Command Line I nterface 4-260 4 ip rip receive v ersion This command specif ies a RIP version to receiv e on an interface. Use the no form to restore t he defaul t value. Syntax ip rip receiv e versio n { none | 1 | 2 | 1 2 } no ip rip receive version • none - Does no t acce pt incomi ng RIP packets. • 1 - Accepts only RIPv1 packets. • 2 - Ac[...]
-
Pagina 587
IP Routing Co mmands 4-261 4 ip rip send version This comm and sp ecifies a RI P versio n to send on an interfa ce. Use the no form to restore t he defaul t value. Syntax ip rip send ver sion { non e | 1 | 2 | v2-broa dcast } no ip rip send version • none - Do es not tr ansmi t RI P up dates . • 1 - Sends only RIPv1 packe ts. • 2 - Sends only[...]
-
Pagina 588
Command Line I nterface 4-262 4 ip split-horiz on This comm and en ables spli t-horizo n or poiso n-reve rse (a var iation) on an i nterface . Use t he no form to dis able split- horizon. Syntax ip split-horizon [ poison-reverse ] no ip split-horizon poison-reverse - E nables pois on-rev erse on the curre nt in terface. Command Mode Interface C onf[...]
-
Pagina 589
IP Routing Co mmands 4-263 4 • For auth entication to funct ion prop erly, both th e sending and rec eiving interfa ce must b e configur ed with th e same pa sswo rd. Example This examp le sets an aut henticat ion passwor d of “sm all” to verif y incom ing routin g messag es and to tag ou tgoing routing m essages. Related Commands ip rip auth[...]
-
Pagina 590
Command Line I nterface 4-264 4 show rip g lobals This c omman d disp lays g loba l conf iguration set tings for R IP . Command Mode Privileged Exec Example show ip rip This c omman d disp lays i nform ation a bout interf aces configur ed fo r RI P . Syntax show ip rip { c onfi gur atio n | st atus | p eer } • co nfig ura tion - S hows RIP c onfi[...]
-
Pagina 591
IP Routing Co mmands 4-265 4 Example Console #show i p rip con figur ation Interfa ce Sen dMode R eceiv eMod e P oison Aut hent icati on ------- ----- --- ------- ----- --- - ---- ----- --- - ---- ----- ---- -- ----- ----- ---- -- 10.1.0. 253 ri p1Co mpati ble RIPv1O rv2 Spl itHorizo n noAut henti cation 10.1.1. 253 ri p1Co mpati ble RIPv1O rv2 Spl[...]
-
Pagina 592
Command Line I nterface 4-266 4 Open Shortest Path First (OS PF ) T a ble 4-8 9 Open Sho rtest Pa th First Com mands Comman d Function M ode Page General C onfigu ration router ospf Enables or disables OSP F GC 4-2 67 router-id Sets the router ID for this device RC 4-267 compatibl e rfc15 83 Calcu lates s ummary ro ute co sts usin g RFC 1583 (OSPF [...]
-
Pagina 593
IP Routing Co mmands 4-267 4 router ospf This c omman d enabl es Op en Sh ortest Pa th First (OS PF) rou ting for all I P interfac es on th e rout er . Use the no form to disable it. Syntax [ no ] router ospf Command Mode Global Co nfigurat ion Default Sett ing Disabled Command Usage • OSPF is used to specify how router s exch ange rout ing table[...]
-
Pagina 594
Command Line I nterface 4-268 4 Command Usage • The rout er ID mus t be uniqu e for every ro uter in the autonom ous sy stem. Usi ng th e de faul t se tti ng bas ed on the low est i nte rfac e add ress ensu res that each rou ter ID is uniq ue. Als o, note t hat you canno t set t he rout er ID to 0. 0.0.0 or 255 .255.25 5.255. • If this router a[...]
-
Pagina 595
IP Routing Co mmands 4-269 4 default-inform ation originate This comm and ge nerates a default ex ternal ro ute into an au tonom ous sys tem. Use the no form to di sabl e th is feat ure. Syntax default-inform ation origina te [ alw ays ] [ met ric interf a ce- met r ic ] [ metric-t ype metric -typ e ] no default-informat ion originate • always - [...]
-
Pagina 596
Command Line I nterface 4-270 4 Related Commands ip route (4-251) redistribute (4-272) timers spf Thi s comm and c onfi gure s th e hol d ti me be tween maki ng two con secut ive shor test path first (SPF) ca lculations . Use the no form to restore the default value. Syntax timers sp f spf-holdtime no timers spf spf-holdtime - Minim um time be twee[...]
-
Pagina 597
IP Routing Co mmands 4-271 4 Default Sett ing Disabled Command Usage • This com mand can be use d to adver tis e rout es bet ween ar eas . • If routes a re se t to be advertis ed, the router will issue a Type 3 sum mary LSA for each address r ange sp ecified wi th this com mand. • This rou ter supp orts up 64 su mmary r outes fo r area ranges[...]
-
Pagina 598
Command Line I nterface 4-272 4 summar y-address This comm and ag gregate s routes learned from othe r protocol s. Use the no f orm to rem ove a su mma ry a ddre ss. Syntax [ no ] su mmary-ad dress summar y-addr ess n etmas k • summary-a ddress - Summar y addres s cover ing a ran ge of addre sses. • netma sk - Network mask for th e summary rout[...]
-
Pagina 599
IP Routing Co mmands 4-273 4 Default Sett ing redistr ibution - none protocol - R IP and static metric-v alue - 0 type -me tri c - 2 Command Usage • This route r support s redistri bution for both RIP an d static rout es. • When you re dist rib ute ex tern al rou tes int o an OSP F auto nomous syste m (AS), the rout er automa tical ly become s [...]
-
Pagina 600
Command Line I nterface 4-274 4 Command Usage • An area ID un iquely defines an O SPF br oadcas t area. T he area ID 0.0. 0.0 indicate s the OSP F backb one fo r an autono mou s system . Each rou ter mu st be connec ted to th e backb one via a dire ct conne ction or a virtual link. • Set the a rea ID to the sam e value f or all rou ters on a ne[...]
-
Pagina 601
IP Routing Co mmands 4-275 4 Command Usage • All ro uter s in a st ub mus t be conf igur ed wi th t he sa me ar ea I D. • Routing table spac e is saved in a stub b y blocki ng Type -4 AS sum mary LSA s and Type 5 ex ternal LSAs . The de fault setting for this com mand com pletely isolates t he stub by b locking T ype-3 sum mary LSAs tha t adver[...]
-
Pagina 602
Command Line I nterface 4-276 4 Command Usage • All ro uter s in a NSS A mus t be confi gur ed wit h th e sa me ar ea ID. • An NSSA i s simi lar t o a stub , beca use whe n the ro uter is an ABR , it ca n send a de fault rout e for o ther are as in t he AS i nto the N SSA using the default- info rm ati on- or igin at e keywor d. Howe ver , an N[...]
-
Pagina 603
IP Routing Co mmands 4-277 4 • authenti cation - S pec ifies the aut henticat ion mo de. If no opt ional parameter s follow this keywor d, then plai n text aut hentic ation is use d along with the passwor d sp ecified by t he au thentica tion-key . If message- digest authenticatio n is s pecified, then the messag e-diges t-key and md5 parameter s[...]
-
Pagina 604
Command Line I nterface 4-278 4 Default Sett ing area-id : None router-id : None hel lo-i nter val : 10 second s ret ran smit-i nter val : 5 seco nds transm it-dela y : 1 second dead -int erva l : 40 seconds aut henti cat ion- key : None messag e-diges t-key : No ne Command Usage • All area s must be conn ecte d to a backb one ar ea (0. 0.0.0 ) t[...]
-
Pagina 605
IP Routing Co mmands 4-279 4 Command Mode Interface C onfigur ation (VLAN ) Default Sett ing No au th en tica ti on Command Usage • Before s pecifyin g plain-t ext passwo rd authe nticat ion for an int erface , configur e a passwor d with the ip ospf authentication -key comman d. Be for e specifyi ng MD 5 authen ticat ion for an int erface , conf[...]
-
Pagina 606
Command Line I nterface 4-280 4 Example This e xampl e sets a passwor d for the specif ied int erface. Related Commands ip ospf authentication (4-278) ip ospf message-d igest-key This comm and en ables m essag e-digest (MD5) aut henticat ion on th e specifi ed interface an d to ass ign a key- id and key t o be used by ne ighbo ring rout ers. Use th[...]
-
Pagina 607
IP Routing Co mmands 4-281 4 Related Commands ip ospf authentication (4-278) ip ospf cost This comm and ex plicitly s ets the cost of send ing a pack et on an inte rface. Us e the no form to restore the default value. Syntax ip o spf cos t co st no ip ospf cost cost - Link m etric fo r this interfac e. Use hig her value s to indica te slower ports.[...]
-
Pagina 608
Command Line I nterface 4-282 4 Example Related Commands ip ospf hello-interval (4-282) ip ospf hel lo-interva l This co mman d spe cifies th e in terval b etwee n sen ding he llo pack ets on an inter face. Use t he no form to re store the d efault value. Syntax ip ospf hello-interva l seco nds no ip ospf hello-interval secon ds - Interv al at whic[...]
-
Pagina 609
IP Routing Co mmands 4-283 4 Default Sett ing 1 Command Usage • Set the priority to zero to prev ent a ro uter from being elect ed as a D R or BDR. If set to any value othe r than zero, the router with th e highest p riority will become the DR and the rout er with the ne xt highe st priorit y become s the BDR. If two or more ro uters are ti ed wi[...]
-
Pagina 610
Command Line I nterface 4-284 4 ip ospf trans mit-delay This command set s the es timated time to s end a link-s tate u pdate packet o ver an int erf ace. Use the no form to restor e the def ault value . Syntax ip ospf trans mit-del ay s econd s no ip ospf transmit-del ay secon ds - S ets the estim ated time required to send a link- state u pdate. [...]
-
Pagina 611
IP Routing Co mmands 4-285 4 show ip ospf border-routers This c omman d show s e ntries in the r outing table th at le ad to an Area Bor der Router (ABR) or Autonomo us System Bo undary Rou ter (ASBR). Command Mode Privileged Exec Example T able 4-90 show ip ospf - disp lay des cription Field Descr iption Routing P rocess with ID Router ID Supports[...]
-
Pagina 612
Command Line I nterface 4-286 4 show ip ospf databas e This c omman d sh ows inf ormation abou t d ifferent OSPF Lin k St ate A dvertise ments (LSAs) st ored i n this route r ’s database . Syntax show ip ospf [ area- id ] datab ase [ ad v-ro uter [ ip-addre ss ]] show ip ospf [ area- id ] datab ase [ asbr-summa ry ] [ link-state-id ] show ip ospf[...]
-
Pagina 613
IP Routing Co mmands 4-287 4 Command Mode Privileged Exec Examples The follow ing show s output for the show ip ospf database c ommand. Consol e#sh ow ip os pf dat abas e Displa ying R outer Li nk State s(Area 1 0.1. 0.0) Link ID ADV Router Age Seq# Checks um ----- ---- ------ - ------ ------ -- --- --- ---- ----- -- --- ------ -- 10.1.1 .252 10 .1[...]
-
Pagina 614
Command Line I nterface 4-288 4 The follow ing show s output when usin g the asbr-summary keyword. Consol e#sh ow ip os pf dat abas e asbr -sum mary OSPF Ro uter w ith id(1 0.1.1. 253) Displa ying S umma ry ASB L ink St ates (Area 0 .0.0 .0) LS age: 43 3 Option s: (No T OS-c apab ilit y) LS Type: S umma ry Lin ks (AS B ound ary Ro uter ) Link St at[...]
-
Pagina 615
IP Routing Co mmands 4-289 4 The follow ing show s output when usin g the data base-summa ry keyw ord . Console#show ip ospf database database-summary Area ID (10.1.0.0) Router Network Sum-Net Sum-ASBR External-AS External-Nssa 21 1 0 0 0 Total LSA Counts : 4 Console# T able 4 -94 sho w ip os pf dat abase -summ ary - di spla y des cript ion Field D[...]
-
Pagina 616
Command Line I nterface 4-290 4 The follow ing show s output when usin g the ex terna l keywor d. Consol e#sh ow ip os pf dat abas e exte rnal OSPF Rou ter wi th id( 192. 168. 5.1) ( Auto nomo us syst em 5) Displa ying A S Exte rnal L ink St ates LS age: 43 3 Option s: (No T OS-c apab ilit y) LS Type : AS Ext ernal Li nk Link Sta te ID: 1 0.1. 1.25[...]
-
Pagina 617
IP Routing Co mmands 4-291 4 The follow ing show s output when usin g the netw ork ke ywo rd. Consol e#sh ow ip os pf dat abas e netw ork OSPF Ro uter w ith id(1 0.1.1. 253) Displa ying N et Lin k Stat es(A rea 10 .1.0. 0) Link Sta te Dat a Netw ork (T ype 2) ------ ---- ---- ---- ---- ---- ---- - LS age: 43 3 Option s: Sup port E xter nal ro utin [...]
-
Pagina 618
Command Line I nterface 4-292 4 The follow ing show s output when usin g the ro uter keywor d. Consol e#sh ow ip os pf dat abas e rout er OSPF Ro uter w ith id(1 0.1.1. 253) Displa ying R oute r Link S tate s(Ar ea 10.1 .0.0 ) Link Sta te Dat a Rout er (Ty pe 1) ------ ---- ---- ---- ---- ---- ---- - LS age: 23 3 Option s: Sup port E xter nal ro ut[...]
-
Pagina 619
IP Routing Co mmands 4-293 4 The follow ing show s output when usin g the summary keyw ord. Number o f TOS me trics T ype of Service metric – This rou ter on ly supp orts TOS 0 (or no rmal s ervice) Metrics Cost of the link Consol e#sh ow ip os pf dat abas e summ ary OSPF Ro uter w ith id(1 0.1.1. 253) Displa ying S umma ry Net L ink St ates (Are[...]
-
Pagina 620
Command Line I nterface 4-294 4 show ip ospf interface This comma nd displays summary in formation for OSPF interfa ces. Syntax show ip ospf inter face [ vlan vlan-i d ] vlan-i d - VLAN ID (Range : 1-4094) Command Mode Privileged Exec Example Console#show ip ospf interface vlan 1 Vlan 1 is up Interface Address 10.1.1.253, Mask 255. 255.255.0, Area [...]
-
Pagina 621
IP Routing Co mmands 4-295 4 show ip ospf neighbor This c omman d disp lays i nforma tion a bout neigh boring route rs on each inter face wit hin an OS PF ar ea. Syntax show ip ospf neighbor Command Mode Privileged Exec Example Console#show ip ospf neighbor ID Pri State Address --------------- ------ ---------------- - -------------- 10.1.1.252 1 F[...]
-
Pagina 622
Command Line I nterface 4-296 4 show ip ospf summary- address This co mmand dis plays all s ummary addre ss infor mation. Syntax show ip osp f summary -address Command Mode Privileged Exec Example This examp le sho ws a sum mary ad dress and associa ted netw ork ma sk. Related Commands summa ry-addre ss (4-272 ) show ip ospf virtual-lin ks This com[...]
-
Pagina 623
Multicast Routi ng Commands 4-297 4 Multicast Routing Comman ds This route r uses IGM P snoo ping and qu ery to deter mine the ports connec ted to downstr eam mu lticast hosts, and to pr opagate this inf ormat ion back up throug h the multicast tree to ens ure that request ed servi ces are fo rwarded t hrough ea ch interm ediate node betwee n the m[...]
-
Pagina 624
Command Line I nterface 4-298 4 Default Sett ing No static mult icast router ports are con figured. Command Mode Global Co nfigurat ion Command Usage Depend ing on your network connec tions, IGM P snoo ping ma y not alway s be able to loca te the IGMP querier. Ther efore, if the IGM P quer ier is a known multicast router/ switch co nnected over th [...]
-
Pagina 625
Multicast Routi ng Commands 4-299 4 General Multicas t Routing Commands ip multica st-routing This comm and enables IP mul ticast rou ting. U se the no form to disa ble IP mu ltica st routing. Syntax [ no ] ip multicast- routing Default Sett ing Disabled Command Mode Global Co nfigurat ion Command Usage This comm and is use d to enabl e multic ast [...]
-
Pagina 626
Command Line I nterface 4-300 4 Command Usage This c omman d disp lays i nformat ion f or mu lticast routin g. If n o op tional parameter s are selec ted, detailed informati on for eac h entry in th e multicast address table is display ed. If you sel ect a mu lticast group and so urce pair , detailed info rmation is display ed only for the sp ecifi[...]
-
Pagina 627
Multicast Routi ng Commands 4-301 4 DVMRP Multicast Routing Commands router dvmrp This comm and ena bles Distance -V ector Mult icast Rou ting (DVMR P) global ly for the router and to enter rou ter conf igurati on mode. Use the no f orm to di sable D VMRP multicast routing. Syntax [ no ] r outer dvm rp Command Mode Global Co nfigurat ion Command Us[...]
-
Pagina 628
Command Line I nterface 4-302 4 Example Related Commands ip dvmrp (4 -305) show rout er dvmr p (4-307) probe-interva l This comm and se ts the interval fo r sendin g neighbo r probe m essag es to the multicast group add ress for all DVM RP routers. Use the no form to re store the default va lue. Syntax probe-inter val seconds no probe -interva l se[...]
-
Pagina 629
Multicast Routi ng Commands 4-303 4 nbr-timeout This comm and se ts the interval to wait for me ssages from a DV MRP neig hbor bef ore de clar ing it dead. Use the no for m to rest ore the defa ult value. Syntax nbr-timeout secon ds no nbr-timeo ut secon ds - Interval before declaring a neighbor dead . (Range: 1-65535) Default Sett ing 35 seco nds [...]
-
Pagina 630
Command Line I nterface 4-304 4 flash-upda te-interval This co mmand specif ies how often to send tr igger u pdat es, whi ch reflec t cha nges in the netwo rk topolo gy . Use t he no form to restor e the defa ult value. Syntax flas h- update -in ter va l seco nds no flash-update-interval secon ds - Interval between sending flash updates when networ[...]
-
Pagina 631
Multicast Routi ng Commands 4-305 4 default-gate way This comm and sp ecifies the de fault DVMRP gat eway for IP multicas t traffic. Use the no form to remove the default gateway . Syntax defaul t-gateway ip-address no default-gateway ip-address - IP address of the default DVMRP gateway . Default Sett ing None Command Mode Rout er C onfi gura tion [...]
-
Pagina 632
Command Line I nterface 4-306 4 Command Usage T o fully en able DVMR P , you need t o enable mul ticast r outing glo bally for the router w ith t he ip multicast-routing comma nd (p age 4-299), enabl e DVMRP globally f or the r outer wit h the router dvmrp comma nd (page 4 -301), an d also enable DVMRP for each interfa ce that w ill par ticipate in[...]
-
Pagina 633
Multicast Routi ng Commands 4-307 4 clear ip dv mrp route This comm and clea rs all dyna mic rou tes learne d by DV MRP . Command Mode Privileged Exec Example As show n belo w , this com ma nd clea rs ever ything from the ro ute table e xcept f or the default rout e. show route r dvmrp This comm and disp lays the global DV MRP con figurat ion setti[...]
-
Pagina 634
Command Line I nterface 4-308 4 show ip dvmrp route This comm and disp lays al l entries in the D VMR P routing table. Command Mode Normal Exec, Priv ileged Exec Example DMVRP routes are sh own in the f ollowing exampl e: Console #show i p dvmrp r oute Source M ask Upst ream_nb r Interf ace M etric U pTim e Exp ire ------- ----- --- ------- ----- -[...]
-
Pagina 635
Multicast Routi ng Commands 4-309 4 show ip dvmrp neighbo r This comm and disp lays al l of the DVMR P neigh bor ro uters. Command Mode Normal Exec, Privileged Exec Example show ip dvmrp interface This comm and displays the DV MRP c onfigu ration f or interfa ces whi ch have enabl ed DVMRP . Command Mode Normal Exec, Privileged Exec Example Console[...]
-
Pagina 636
Command Line I nterface 4-310 4 PIM-DM Multicast Routing Commands router pim This comm and en ables Prot ocol-Inde pende nt Multica st - Dense Mode (PI M-DM) globally fo r the router and to ent er router c onfigurat ion mode. Use th e no form to disable PI M-DM mu lticast rou ting. Syntax [ no ] router pim Default Sett ing Disabled Command Mode Glo[...]
-
Pagina 637
Multicast Routi ng Commands 4-311 4 ip pim den se-mode This comm and en ables PIM -DM on the specified in terface. U se the no form to disable PI M-DM on this interfac e. Syntax [ no ] ip pim dense-mode Default Sett ing Disabled Command Mode Interface C onfigur ation (VLAN ) Command Usage • To fully enab le PIM-DM , you need to enabl e multicas t[...]
-
Pagina 638
Command Line I nterface 4-312 4 ip pim hel lo-interval This comm and co nfigures the frequ ency at whi ch PIM hello mess ages are transmi tted. U se t he no form to re store the de fault val ue. Syntax ip p im he llo -i nte rva l seconds no pim hello-interval secon ds - Interval betw een sending PIM he llo messages. (Range: 1-65535) Default Sett in[...]
-
Pagina 639
Multicast Routi ng Commands 4-313 4 ip pim trigge r-hello-interval This comm and co nfigures the maxim um time before tra nsmitt ing a trigg ered PIM Hello mes sage after the router is rebo oted or PIM is enabled on an inter face. Use the no f orm to restore the default va lue. Syntax ip pim trigge rr-hel lo-inter val se conds no ip pim triggerr-he[...]
-
Pagina 640
Command Line I nterface 4-314 4 Command Usage The multica st interfac e that fir st receive s a multic ast stream from a particu lar sour ce f orwar ds th is t raf fic t o all othe r PIM i nte rfac es on t he rou ter . If the re ar e no reques ting groups on that inter face, the leaf node sends a pr une mes sage upstream an d ente rs a prune state [...]
-
Pagina 641
Multicast Routi ng Commands 4-315 4 Default Sett ing 2 Command Mode Interface C onfigur ation (VLAN ) Example show route r pim This comm and disp lays the global PIM configur ation se ttings. Command Mode Normal Exec, Privileged Exec Example show ip pim interface This c omman d disp lays i nforma tion a bout i nterfac es co nfigured fo r PIM. Synta[...]
-
Pagina 642
Command Line I nterface 4-316 4 show ip pim neighbor Thi s comma nd dis play s inf ormat ion ab out PI M nei ghbor s. Syntax show ip pim neighbor [ ip-address ] ip-address - IP address of a PIM neighbor . Default Sett ing Displays i nformat ion for all kno wn PIM nei ghbo rs. Command Mode Normal Exec, Priv ileged Exec Example Router Redundancy Comm[...]
-
Pagina 643
Router Redundan cy Commands 4-317 4 Virtual Router Redundancy Protocol Commands T o configu re VRR P , select an in terface on o ne router in the group to serve as the mast er v irt ual r oute r . Thi s phys ical int erf ace i s use d as the v irt ual a ddr ess fo r t he router gr oup. N ow s et the same v irtua l addre ss an d a pri ority on the b[...]
-
Pagina 644
Command Line I nterface 4-318 4 Command Usage • The interf aces of all routers par ticipat ing in a virtu al router group mus t be within th e same IP s ubnet. • The IP addr ess as signed t o the virtu al router mus t alrea dy be con figured on the router that will be t he Owner . In other wor ds, the IP address specif ied in this comm and mu s[...]
-
Pagina 645
Router Redundan cy Commands 4-319 4 • When a VR RP pack et is recei ved from an other ro uter in the group, its aut hent icat ion key i s comp ared to t he st rin g conf igu red o n th is ro uter . I f the keys m atch, the m ess age is acc epted. Othe rwise, the p acket is discar ded. • Plain text au thenti cation does not pr ovide an y real se[...]
-
Pagina 646
Command Line I nterface 4-320 4 vrrp time rs adverti se This comm and se ts the interval at which the master virtual rout er sends advert isements com munica ting its state as t he mast er . Use the no form to res tore the defaul t interva l. Syntax vrrp grou p timers ad vert ise in te rva l no vrrp group time rs adve rti se • group - Iden tifies[...]
-
Pagina 647
Router Redundan cy Commands 4-321 4 Default Sett ing • Preempt : En able d • Delay: 0 se conds Command Mode Interf ace (VLAN) Command Usage • If preem pt is enable d, and this backup router ha s a priority h igher than the curren t acting master , it will t ake ov er as t he new mas ter. Ho wever, n ote th at if the or igin al mas ter (i.e. ,[...]
-
Pagina 648
Command Line I nterface 4-322 4 Example This examp le disp lays the full listing of status informa tion fo r all groups. This examp le disp lays the brief listing of status infor mation f or all groups. Console#show vrrp Vlan 1 - Group 1, state Master Virtual IP address 192.168.1.6 Virtual MAC address 00-00-5E-00-01-01 Advertisement interval 5 sec [...]
-
Pagina 649
Router Redundan cy Commands 4-323 4 show vrrp interface This comm and disp lays status i nformat ion for th e specifie d VRRP interface. Syntax show v rrp interf ace vl an vla n-id [ brief ] • vlan-i d - Ide ntifier of con figure d VLAN inte rface. (Ra nge: 1 -4094) • brief - D isplays sum mary info rmation for all V RRP groups on this rou ter [...]
-
Pagina 650
Command Line I nterface 4-324 4 show vrrp ro uter counters This comm and disp lays cou nters fo r errors fo und in VR RP protoc ol packets. Command Mode Privileged Exec Example Note that un know n error s indicate VRRP packe ts received w ith an un known or unsuppor ted v ersion num ber . show vrrp interface coun ters This comm and disp lays cou nt[...]
-
Pagina 651
Router Redundan cy Commands 4-325 4 clear vrrp router counters This com mand cl ears VRRP sy stem stati stics. Command Mode Privileged Exec Example clear vrrp inter face counte rs This comm and clea rs VRR P system statistics for the spe cified grou p and in terface. clear vr rp group int erface in te rfa ce count ers • group - Iden tifies a VRR [...]
-
Pagina 652
Command Line I nterface 4-326 4[...]
-
Pagina 653
A-1 Appendix A: Software Specifications Software Features Authentication Local, RADIUS, T ACACS +, Port (802 .1X), HTTPS, SSH, Port Security Acce ss Cont rol L ist s IP , MA C ( Fast Etherne t ports - 157 lists, 4 mas ks shar ed by 8-por t groups Gigabit Ether net ports - 29 lists, 4 mas ks DHCP Client, Relay , Server DNS Server Port Co nfigurat io[...]
-
Pagina 654
Software Specifi cations A-2 A Quality of Se rvice DiffServ supp orts class ma ps, policy m aps, and serv ice polic ies Multicast Filt ering IGMP S noopi ng (La yer 2) IGMP (Layer 3) Multicast Ro uting DVMRP , PIM-DM IP R outing ARP , Proxy ARP S tat ic rout es RIP , RIPv2 and OSPFv 2 dynami c routing VRRP ( Vi rtual Route r Redu ndan cy Prot ocol [...]
-
Pagina 655
Management Infor mation Bases A-3 A IEEE 802.3- 2002 Ethernet, Fast Ethernet, G igabit Ethe rnet Link Ag greg atio n Cont rol Pr otoc ol ( LACP) Full-duplex flow contro l (ISO/IEC 8 802-3) IEEE 802.3ac VLAN tagging ARP (RFC 826) DHCP Client (RFC 1541) DHCP Relay (RFC 951) DHCP Server (RFC 2131) DVMRP (RFC 1075) HTTPS ICMP (RFC 792) IGMP (RFC 1 1 12[...]
-
Pagina 656
Software Specifi cations A-4 A Port Access Entity MIB (IEEE 802 .1X) Port Access Entity Equipment MIB Private MIB Quality of Se rvice MIB RADIUS Authentication Client MIB (RFC 2621) RIP1 MIB (RFC 1058) RIP2 MIB (RFC 2453) RMON MIB (RFC 2819) RMON I I Probe Confi guration Group (R FC 2021, parti al implem entation) SNMPv2 IP MIB (RFC 201 1) SNMP Fr [...]
-
Pagina 657
B-1 Appe ndix B: Trou blesho oting Problems Accessing the Management Interface T able B -1 T rou bles hooti ng Cha rt Sympt om Act io n Cannot co nnect using T e lnet, web brow ser, or SNMP software • Be su re the s witch i s powe red up. • Check netwo rk cabl ing bet ween t he man agement station and th e switc h. • Check that you ha ve a va[...]
-
Pagina 658
T roubleshooti ng B-2 B Using System Logs If a fau lt does occur , refer to the I nstallati on Guide to ens ure that the problem you encount ered is actually ca used by the switch. If the prob lem app ears to be c aused by th e swit ch, fol low t hese st ep s: 1. Enable logg ing. 2. Set the erro r messa ges repor ted to incl ude all cat egorie s. 3[...]
-
Pagina 659
Glos sary -1 Glossary Acces s Control Lis t (ACL) ACLs can lim it netw ork traf fi c and rest ric t acce ss to cer tai n users or dev ices by checkin g each packet for certain I P or MAC (i.e., Laye r 2) inform ation . Address Reso lution Protocol (ARP) ARP conv erts between I P addresse s and M AC (i.e., har dware) ad dresses . ARP is used to loca[...]
-
Pagina 660
Glossary Glossar y-2 Distance Ve ctor Multicast Routi ng Protocol (DVMRP) A distance-ve ctor-st yle routing pr otocol used for routing mu lticast datagra ms through th e Internet . DVMRP co mbines many of the feature s of RIP with Re verse Path Forward ing (RPF). Dynamic Hos t Control Protocol (DHCP) Pro vides a fr amew ork for p ass ing conf igur [...]
-
Pagina 661
Glos sary -3 Glossary IEEE 802.1Q VLAN T agging—Defines Ethernet f rame tags which c arry VLAN informatio n. It allows switches to assign end stations to different virtua l LANs, and define s a standard wa y for VL ANs to co mmunic ate ac ross sw itched networ ks. IEEE 802.1p An IEEE standard for providing qu ality of service (QoS) in Ethernet ne[...]
-
Pagina 662
Glossary Glossar y-4 In-Band Manage ment Manage ment of the netwo rk from a stati on attached di rectly to the networ k. IP Multicast Filtering A process whereb y this swit ch can pass multica st traffic along to part icipating hosts. IP Precedence The T ype of Servi ce (T oS) oct et in t he IPv4 header incl udes t hree preced enc e bit s defining [...]
-
Pagina 663
Glos sary -5 Glossary Network Time Prot ocol (NTP) NTP prov ides the m echan isms to syn chro nize time acr oss the ne twor k. The tim e server s operate in a hierarc hical-m aster-sl ave co nfigurat ion in orde r to synch ronize local clo cks within the sub net and to nationa l time standar ds via wire or radio. Open Shortest Pa th First (OSPF) OS[...]
-
Pagina 664
Glossary Glossar y-6 Dense Mo de is de signed for networks where t he probab ility of a mu lticast cl ient is high a nd fre quent flooding of multi cast tr affic can be j ustified. Remote Authe ntication Dial-i n User Service (RADIUS) RADIUS is a logon aut hentic ation prot ocol that uses so ftware runni ng on a centr al serv er to contro l a ccess[...]
-
Pagina 665
Glos sary -7 Glossary Telnet Defines a r emote communicati on facility fo r interfaci ng to a ter minal device over TCP/IP . Termin al Access Con troller Ac cess Cont rol System Plus (TACACS+) TACACS+ is a l ogon aut hentic ation proto col that uses softw are runnin g on a cen tral server to co ntrol acce ss to T AC ACS- compl iant d evices on the [...]
-
Pagina 666
Glossary Glossar y-8[...]
-
Pagina 667
Index-1 Numerics 802.1X, po rt authenticatio n 3-67, 4-79 A accepta ble fram e type 3-144 , 4-192 Acce ss Cont rol L ist Se e ACL ACL Extende d IP 3- 77, 4- 87, 4- 88, 4- 90 MAC 3-77, 4- 87, 4- 99, 4-99 –4-1 01 Standard I P 3-77, 4-87 , 4-88, 4 -89 Addr ess Res olut io n Prot ocol See ARP addr ess t able 3-1 13, 4-16 6 aging time 3-116, 4-16 9 AR[...]
-
Pagina 668
Index-2 Index Dynami c Host Co nfigurati on Protoc ol See DHC P E edge port , STA 3-12 6, 3-128 , 4-181 event logg ing 4-43 F firmware displayi ng v ersion 3- 13, 4- 62 upgrading 3-21, 4- 64 G GARP VLAN Registration Protocol Se e GVRP gateway , default 3-1 7, 3-208 , 4-245 GVRP global s etting 3- 138, 4-202 interface co nfigur ation 3- 144, 4-20 3 [...]
-
Pagina 669
Index-3 Index MSTP 4- 171 global s ettings 3-129, 4- 170 interface s ettings 3 -127, 4- 170 multicast filtering 3 -169, 4- 228 multicast groups 3-175, 3-18 1, 4-2 30 displayi ng 3-181 , 4-230 static 3-17 5, 4-229 , 4-230 multicast routing 3-261, 4-29 7 desc rip tion 3- 261 DVMRP 3-265, 4-30 1 enabling 3-261, 4-29 9 general com ma nds 4-29 9 global [...]
-
Pagina 670
Index-4 Index specifyi ng int erfac es 3-2 28, 4-25 8 sta tist ics 3-23 2, 4-2 65 router r edun dancy protocol s 3-196, 4- 316 VRRP 3-197 , 4-317 routing tabl e, disp laying 3- 224, 4-2 53, 4-254 RSTP 3-116 , 4-171 glo bal co nfig urat ion 3-117 , 4-17 1 S secure sh ell 3-60 , 4-34 Secu re Sh ell confi gur atio n 3-6 0, 4- 37, 4-38 serial por t con[...]
-
Pagina 671
Index-5 Index private 3-1 46, 4- 197 protocol 3- 147, 4-1 98 VRRP 3-197 , 4-317 authenti cation 3- 199, 4 -318 configur ation se ttings 3-19 7, 4 -317 group st atistics 3-20 3, 4-321 preemp tion 3-19 8, 3-199 , 4-320 pri ori ty 3-198, 3 -19 9, 4-31 9 protocol mess age s tatistic s 3-202, 4-324 timers 3- 199, 4-32 0 virtua l address 3-19 7, 3-1 99, [...]
-
Pagina 672
Index-6 Index[...]
-
Pagina 673
[...]
-
Pagina 674
ES3628C E032005-R 01 14910000 5100H[...]