計算機四級考試網路工程師考點精選2015
- 計算機四級
- 關注:2.46W次
1、靜態路由的配置
配置路由器A的主機名和介面引數
router>enable
router#configure terminal
router(conf)#hostname routerA
routerA(conf)#interface fastethernet 0/1 路由器A的1埠為兩路由器的連線埠
routerA(conf-if)#ip address
routerA(conf-if)#no shutdown
routerA(conf-if)#exit
routerA(conf)# interface fastethernet 0/0 路由器A的`0埠為與主機的連線埠
routerA(conf-if)#ip address
routerA(conf-if)#no shutdown
配置路由器A的靜態路由表
routerA(conf)#ip router
在routerA上配置預設路由
routerA(conf)#ip route
routerA(conf)#ip classless
在routerA上配置動態路由(RIP)
routerA(conf)#router rip
routerA(conf)#network
routerA(conf)#network
2、動態路由的配置
router>enable
router#configure terminal
routerA (config)#route ospf 10配置ospf程序id
routerA (config-router)#network area 0
3、訪問控制列表配置
router(config-if)#ip access-group 1 in 訪問列表的入
router(config-if)#ip access-group 1 out 訪問列表的出
router(config)#access-list 1 premit 允許的網段通過router(config)#access-list 1 deny 拒絕的主機通過
router(config)#access-list 1 premit any any表示
router(config)#access-list 1 premit host host表示
router(config)#access-list 101 deny tcp eq 21
拒絕來自去往的FTP流量
router(config)#ip access-list extended cisco建立名為cisco的命名訪問控制列表
特別注意:
1、 當目的網路不可達時,路由表的跳數顯示為16
2、 Bandwidth的頻寬戴維為kbps
3、 encapsulation表示封裝
4、 pos介面的幀格式使用sdH:pos framing sdh
5、 配置ospf協議釋出直連網段時會用的是反掩碼
6、 劃分子網的時候需要子網掩碼
- 文章版權屬於文章作者所有,轉載請註明 https://xuezhezhai.com/zh-tw/jsj/siji/o619xk.html