Các câu lệnh Router - Router Commands
- Pages
- 6
- Format
- Taille
- 240 KB
- Langue
- VI · Tiếng Việt
- Vues
- 1 423
- Commentaires
- 0
- Lượt tải
- 0
Génération de l'aperçu...
- Nom du document
- Các câu lệnh Router - Router Commands
- Table des matières
- Ce document n'a pas de table des matières claire.
- Pages
- 6 pages
- Téléversé par
- ThiNganHang
Un résumé détaillé est en cours de génération. Veuillez vérifier dans quelques minutes.
Description
Trích nội dung tài liệu
1 ROUTER COMMANDS Lu Hue Thu - ritalu2610@yahoo.com Reference : Commands Guide of Cisco ********************* Router > enable Router # configure terminal Router(config) # Router # show running-config Router # show startup-config Router # write 1. Hostname Router(config) # hostname {name} 2. Set Password (to access Privileged Mode ) Router(config) # enable password {password} Router(config) # enable secret {password} Password is encrypted 3. IP Address Router(config) # interface {interface} {interface_number} Router(config-if) # ip address {ip-address} { mask} Router(config-if) # no shutdown Turn on the interface 4. Telnet Router(config)# line vty 0 4 Router(config-line)# login Router(config-line)# password {password} 5. Enable Router to act as an HTTP server Router (config)# ip http server 6. Set clock rate on DCE Serial interface Router# show controller serial {interface_number} check to find out whether the serial interface is DCE or DTE. Router(config) # interface {interface} {interface_number} Router(config-if) #clock rate {clock} 7. Routing Protocols * Static Router(config)# ip route {network} [mask] {address|interface} [distance][permanent] distance metric for this route * RIP – Routing Information Protocol Router(config) # router rip Defines IP routing protocol. 2 Router(config-router) # network {network-number} specifies a directly connected network. * IGRP – Interior Gateway Routing Protocol Router(config)# router igrp autonomous-system Router(config-router) # network {network-number} * EIGRP – Enhanced Interior Gateway Routing Protocol Router(config)# router eigrp autonomous-system Router(config-router) # network {network-number} * OSPF – Open Shortest Path First Protocol Router(config)# router ospf process-id Router(config-router)# network {address} {wildcard-mask} area {area-id} * Show command Router# show ip route Router# show ip route w.x.y.z Router# show ip protocols Router# show ip {protocol} [ interface | database | neighbors | topology ] Route Source Default Distance Connected interface 0 Static route 1 EIGRP summary route 5 External BGP 20 Internal EIGRP 90 IGRP 100 OSPF 110 IS-IS 115 RIP 120 EGP 140 EIGRP external route 170 Internal BGP 200 Unknown 255 8. Route Redistribute default−metric {bandwidth delay reliability loading mtu} : set metric value for all redistributed routes (IGRP, EIGRP, OSPF, BGP, EGP). 3 9. Access Control Lists Step 1 : Choose type of ACL ( Standard or Extended) and set parameters for the ACL test statements Standard IP ACL Router(config) # access-list access-list-number { permit | deny } source [mask] Parameters Description access-list-number Identifies the list that the entry belongs to; a number from 1 to 99 permit | deny Indicates whether this entry allows or blocks traffic from the specified address source Identifies the source IP address source [mask] Identifies which bits in the address field are matched; default wildcard mask is 0.0.0.0 <host> Extended IP ACL Router(config) # access-list access-list-number { permit | deny } protocol source sourcewildcard [operator port] destination destination-wildcard [operator port] [established] [log] Parameters Description access-list-number Identifies the list using a number in the ranges of 100 to 199 or 2000 to 2699. permit | deny Indicates whether this entry allows or blocks traffic from the specified address protocol IP, TCP, UDP, ICMP, IGMP,.. source / destination Identifies the source / destination IP addresses source-wildcard destination-wildcard Wildcard mask (0s : match, 1s : indicate “don’t care” positions ) operator port It(less than), gt (greater than), eq (equal), neq (not equal) and a port number. established For inbound TCP only, allows TCP traffic to pass if the packet uses an established connection. (Ex : it has ACK bits set ) RIP : metric [metric_value] IGRP : [autonomous-system] metric [metric-value] EIGRP : [autonomous-system] metric [metric-value] OSPF : [process−id] metric [metric-value] redistribute {p
Foire aux questions
Ce document est-il gratuit ?
Oui. « Các câu lệnh Router - Router Commands » est gratuit — il suffit de vous connecter et de cliquer sur Télécharger pour obtenir le fichier original.
Combien de pages compte ce document ?
Le document contient 6 pages. Vous pouvez le prévisualiser en ligne avant de le télécharger.
Puis-je prévisualiser avant de télécharger ?
Oui. Vous pouvez prévisualiser ce document directement sur cette page avec le lecteur en ligne, puis décider de le télécharger ou non.
Các câu lệnh Router - Router Commands
Génération de l'aperçu...
Trích nội dung tài liệu
1 ROUTER COMMANDS Lu Hue Thu - ritalu2610@yahoo.com Reference : Commands Guide of Cisco ********************* Router > enable Router # configure terminal Router(config) # Router # show running-config Router # show startup-config Router # write 1. Hostname Router(config) # hostname {name} 2. Set Password (to access Privileged Mode ) Router(config) # enable password {password} Router(config) # enable secret {password} Password is encrypted 3. IP Address Router(config) # interface {interface} {interface_number} Router(config-if) # ip address {ip-address} { mask} Router(config-if) # no shutdown Turn on the interface 4. Telnet Router(config)# line vty 0 4 Router(config-line)# login Router(config-line)# password {password} 5. Enable Router to act as an HTTP server Router (config)# ip http server 6. Set clock rate on DCE Serial interface Router# show controller serial {interface_number} check to find out whether the serial interface is DCE or DTE. Router(config) # interface {interface} {interface_number} Router(config-if) #clock rate {clock} 7. Routing Protocols * Static Router(config)# ip route {network} [mask] {address|interface} [distance][permanent] distance metric for this route * RIP – Routing Information Protocol Router(config) # router rip Defines IP routing protocol. 2 Router(config-router) # network {network-number} specifies a directly connected network. * IGRP – Interior Gateway Routing Protocol Router(config)# router igrp autonomous-system Router(config-router) # network {network-number} * EIGRP – Enhanced Interior Gateway Routing Protocol Router(config)# router eigrp autonomous-system Router(config-router) # network {network-number} * OSPF – Open Shortest Path First Protocol Router(config)# router ospf process-id Router(config-router)# network {address} {wildcard-mask} area {area-id} * Show command Router# show ip route Router# show ip route w.x.y.z Router# show ip protocols Router# show ip {protocol} [ interface | database | neighbors | topology ] Route Source Default Distance Connected interface 0 Static route 1 EIGRP summary route 5 External BGP 20 Internal EIGRP 90 IGRP 100 OSPF 110 IS-IS 115 RIP 120 EGP 140 EIGRP external route 170 Internal BGP 200 Unknown 255 8. Route Redistribute default−metric {bandwidth delay reliability loading mtu} : set metric value for all redistributed routes (IGRP, EIGRP, OSPF, BGP, EGP). 3 9. Access Control Lists Step 1 : Choose type of ACL ( Standard or Extended) and set parameters for the ACL test statements Standard IP ACL Router(config) # access-list access-list-number { permit | deny } source [mask] Parameters Description access-list-number Identifies the list that the entry belongs to; a number from 1 to 99 permit | deny Indicates whether this entry allows or blocks traffic from the specified address source Identifies the source IP address source [mask] Identifies which bits in the address field are matched; default wildcard mask is 0.0.0.0 <host> Extended IP ACL Router(config) # access-list access-list-number { permit | deny } protocol source sourcewildcard [operator port] destination destination-wildcard [operator port] [established] [log] Parameters Description access-list-number Identifies the list using a number in the ranges of 100 to 199 or 2000 to 2699. permit | deny Indicates whether this entry allows or blocks traffic from the specified address protocol IP, TCP, UDP, ICMP, IGMP,.. source / destination Identifies the source / destination IP addresses source-wildcard destination-wildcard Wildcard mask (0s : match, 1s : indicate “don’t care” positions ) operator port It(less than), gt (greater than), eq (equal), neq (not equal) and a port number. established For inbound TCP only, allows TCP traffic to pass if the packet uses an established connection. (Ex : it has ACK bits set ) RIP : metric [metric_value] IGRP : [autonomous-system] metric [metric-value] EIGRP : [autonomous-system] metric [metric-value] OSPF : [process−id] metric [metric-value] redistribute {p
- Nom du document
- Các câu lệnh Router - Router Commands
- Table des matières
- Ce document n'a pas de table des matières claire.
- Pages
- 6 pages
- Téléversé par
- ThiNganHang
Un résumé détaillé est en cours de génération. Veuillez vérifier dans quelques minutes.
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !
Ngân hàng đề thi môn: Hệ thống thông tin quản lý
Đề thi môn Cơ sở dữ liệu (kèm Đáp án) - Đại học Sư phạm kỹ thuật
Đề thi và đáp án môn Hệ thống thông tin kế toán
Đề thi và đáp án môn Cấu trúc dữ liệu giải thuật
Đáp án đề thi môn Mạng máy tính - ĐH Công nghệ thông tin (CNTT)
Tiểu luận - Kinh tế phát triển - Phân tích nhận định "Việt Nam đã kiên định chọn hướng phát triển lấy con người làm trọng tâm ..."
Đề cương - Luật vận tải
600 Câu trắc nghiệm Tư tưởng Hồ Chí Minh
Tài liệu ôn tập Nguyên lý kế toán
Bài tập Xác suất thống kê đại học - có lời giải

Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !