Danh mục

Tổng hợp CCNA

Số trang: 11      Loại file: doc      Dung lượng: 72.50 KB      Lượt xem: 23      Lượt tải: 0    
10.10.2023

Phí tải xuống: 1,000 VND Tải xuống file đầy đủ (11 trang) 0
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Note: Tất cả những router có cùng area phải cấu hình giống nhau tất cả các thôngsố thì khu vực đó mới hoạt động đúng chức năng được.
Nội dung trích xuất từ tài liệu:
Tổng hợp CCNAPhần 1. Routing - Định Tuyến (Các giao thức phức tạp)OSPF.Note: Tất cả những router có cùng area phải cấu hình giống nhau tất cả các thôngsố thì khu vực đó mới hoạt động đúng chức năng được.1. Cấu hình cơ bảnRouter(config)#router ospf process IDRouter(config-router)#network Network_number Wildcard_mask area_ID2. Cấu hình priority ở các interface để bầu DR và BDRPriority càng lớn thì khả năng được bầu làm DR càng cao, ngược với bầu Rootbrige của Switch, càng nhỏ thì lại càng được bầu.Router(config)#interface fastethernet 0/0Router(config-int)#ip ospf priority 55Sau khi cấu hình xong priority có thể kiểm tra bằng lệnh.Router# show ip ospf interface f0/03. Chỉnh sửa lại OSPF cost metric trong mỗi interfaceCost càng nhỏ thì tuyến đó càng được coi là best pathRouter(config-int)#ip ospf cost 14.Cấu hình OSPF Authentication ở các interface và áp dùng vào routerAuthentication key được hiểu như là password để các router trong cùng một vùngchia sẻ với nhau.a.Cấu hình authentication đơn giảnRouter(config-if)#ip ospf authentication-key passwordRouter(config-router)#area area number authenticationb.Cấu hình authentication theo dạng mã hoá, bảo mật cao.Router(config-if)ip ospf message-digest-key key ID md5 encryption-type keyRouter(config-router)#area area ID authentication message-digest5.Cấu hình OSPF timer trong các interfaceRouter(config-if)ip ospf hello-interval timerRouter(config-if)ip ospf dead-interval timer6.Cấu hình quảng bá một tuyến mặc định trong OSPFRouter(config-router)#default-information originate7.Quảng bà một tuyến khác (không phải là default)Router(config-router)#redistribute protocols subnets8.Các lệnh show dùng để kiểm tra cấu hình OSPFshow ip protocolshow ip routeshow ip ospfshow ip ospf interfaceshow ip ospf databaseshow ip ospf neighbor detailclear ip route *debug ip ospf eventsdebug ip ospf adj 1EIGRP1.Cấu hình cơ bản.Router(config)#router eigrp autonomous numberRouter(config-router)#network network numberRouter(config-router)#eigpr log-neighbor-changes (Không có cũng được)Router(config-router)#no auto-summary2.Thay đổi băng thông và tự tổng hợp tuyến trong interfaceRouter(config-if)#bandwidth kilobitsRouter(config-if)#ip summary-address protocol AS network number subnets mask3.Cân bằng tải trong EIGRPRouter(config-router)#variance number4.Quảng bá default routeCách 1:Router(config)#ip route 0.0.0.0 0.0.0.0 [interface/nexthop]Router(config)#redistribute staticCách 2:Router(config)#ip default-network network numberCách 3:Router(config-if)#ip summary-network eigrp AS number 0.0.0.0 0.0.0.05.Quảng bá các tuyến khác trong EIGRP (không phải là default)Router(config-router)#redistribute protocol process ID metrics k1 k2 k3 k4 k5Ex: Router(config-router)#redistribute ospf metrics 100 100 100 100 1006.Chia sẻ traffic trong EIGRPRouter(config-router)#traffic share {balanced/min}7.Các lệnh kiểm tra cấu hình EIGRP- show ip eigrp neighbor- show ip eigrp interface- show ip eigrp topology- show ip eigrp traffic- debug eigrp fsm- debug eigrp packetPhần 2. Switching - Chuyển mạch1.Cấu hình cơ bản chung cho một SwitchReset tất cả cấu hình của Switch và reload lại.Switch#delete flash:vlan.datSwitch#erase startup-configSwitch#reload2.Cấu hình về Security và managementSwitch(config)#hostname tên switchSwitch(config)#line console 0Switch(config-line)#password mật khẩuSwitch(config-line)#login 2Switch(config)#line vty 0 4Switch(config-line)#pass mật khẩuSwitch(config-line)#login3.Thiết lập địa chỉ IP và default gateway cho SwitchSwitch(config)#interface vlan1Switch(config-int)#ip address địa chỉ subnetmaskSwitch(config)#ip default-gateway địa chỉ4.Thiết lập tốc độ và duplex của cổngSwitch(config-int)#speed tốc độSwitch(config-int)#duplex full5.Thiết lập dịch vụ HTTP và cổngSwitch(config)#ip http serverSwitch(config)#ip http port 806.Thiết lập, quản lý địa chỉ MACSwitch(config)#mac-address-table static địa chỉ MAC interface fastethernet số vlanSwitch#show mac-address-tableSwitch#clear mac-address-table7.Cấu hình bảo mật cho cổngSwitch(config-if)#switchport mode acessSwitch(config-if)#switchport port-securityCấu hình Static: Switch(config-if)#switchport port-security mac-address địa chỉMacCấu hình Sticky: Switch(config-if)#switchport port-security mac-address sticky(thông dụng nhất)Switch(config-if)#switchport port-security maximum valueSwitch(config-if)#switchport port-security violation shutdown8.Tạo VlanCách 1.Switch#vlan databaseSwitch(vlan)#vlan numberCách 2. Khi gán các cổng vào vlan, dù vlan chưa tồn tại nhưng Switch vẫn tựtạo.Switch(config)#interface fastethernet 0/0Switch(config-int)#switchport access vlan vlan-idMuốn xoá vlan ta làm như sau:Switch(config-if)#no switchport access vlan vlan-idSwitch#clear vlan vlan_number (xoá toàn bộ vlan )9.Gán nhiều cổng và ...

Tài liệu được xem nhiều: