Các câu lệnh Router - Router Commands
- Seiten
- 6
- Định dạng
- Dung lượng
- 240 KB
- Ngôn ngữ
- VI · Tiếng Việt
- Aufrufe
- 1.423
- Kommentare
- 0
- Lượt tải
- 0
Vorschau wird generiert...
- Dokumentenname
- Các câu lệnh Router - Router Commands
- Inhaltsverzeichnis
- Dieses Dokument hat kein eindeutiges Inhaltsverzeichnis.
- Seiten
- 6 Seiten
- Hochgeladen von
- ThiNganHang
Eine detaillierte Zusammenfassung wird generiert. Bitte schauen Sie in ein paar Minuten noch einmal vorbei.
Beschreibung
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
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „Các câu lệnh Router - Router Commands“ ist kostenlos — melden Sie sich einfach an und klicken Sie auf Herunterladen, um die Originaldatei zu erhalten.
Wie viele Seiten hat dieses Dokument?
Das Dokument hat 6 Seiten. Sie können es vor dem Herunterladen online in der Vorschau ansehen.
Kann ich vor dem Herunterladen eine Vorschau ansehen?
Ja. Sie können sich dieses Dokument direkt auf dieser Seite im Online-Reader ansehen und dann entscheiden, ob Sie es herunterladen möchten.
Các câu lệnh Router - Router Commands
Vorschau wird generiert...
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
- Dokumentenname
- Các câu lệnh Router - Router Commands
- Inhaltsverzeichnis
- Dieses Dokument hat kein eindeutiges Inhaltsverzeichnis.
- Seiten
- 6 Seiten
- Hochgeladen von
- ThiNganHang
Eine detaillierte Zusammenfassung wird generiert. Bitte schauen Sie in ein paar Minuten noch einmal vorbei.
Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!
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

Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!