자료 내용
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. 1 ThiNganHang.com
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). 2 ThiNganHang.com
3쪽
Static : metric [metric_value] RIP : metric [metric_value] redistribute {protocol} redistribute from one IGRP : [autonomous-system] metric [metric-value] routing domain into another routing domain EIGRP : [autonomous-system] metric [metric-value] OSPF : [process−id] metric [metric-value] 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 source- wildcard [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 Wildcard mask (0s : match, 1s : indicate “don’t care” positions ) destination-wildcard 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 ) 3 ThiNganHang.com
앞 3페이지만 표시됩니다. 전체를 보려면 자료를 다운로드하세요.
댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!