Các câu lệnh Router - Router Commands
Đang tạo bản xem trước...
Mô tả
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
Tóm tắt AI
- Tên tài liệu
- Các câu lệnh Router - Router Commands
- Mục lục
- Tài liệu không có mục lục rõ ràng.
- Số trang
- 6 trang
- Người đăng
- ThiNganHang
Bản tóm tắt chi tiết đang được tạo. Quay lại sau ít phút nhé.
Câu hỏi thường gặp
Tài liệu này có miễn phí không?
Có. “Các câu lệnh Router - Router Commands” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 6 trang. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.
Các câu lệnh Router - Router Commands
Đang tạo bản xem trước...
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
Đọc toàn bộ tài liệu
- Tên tài liệu
- Các câu lệnh Router - Router Commands
- Mục lục
- Tài liệu không có mục lục rõ ràng.
- Số trang
- 6 trang
- Người đăng
- ThiNganHang
Bản tóm tắt chi tiết đang được tạo. Quay lại sau ít phút nhé.
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!
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 ..."
600 Câu trắc nghiệm Tư tưởng Hồ Chí Minh
Đề cương - Luật vận tải
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
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!