【正文】
nyuanR1(config)int fa0/0wangxinyuanR1(configif)ip accessgroup 103 in之后。:目的地不可達(dá),即不可訪問。如想要實(shí)現(xiàn)全網(wǎng)全通,則要進(jìn)行啟用路由協(xié)議。二、實(shí)驗(yàn)環(huán)境(實(shí)驗(yàn)設(shè)備)硬件:微機(jī)軟件:Cisco Packet Tracer二、 實(shí)驗(yàn)原理及內(nèi)容具體的實(shí)驗(yàn)步驟如下:一:路由器Router0的管理員忘記了密碼,要求你能通過密碼恢復(fù)的方式進(jìn)入路由器斷電重啟路由器,并重啟過程中Ctrl break路由器會(huì)進(jìn)入rommon1這個(gè)模式rommon 1confreg 0x2142 rommon 2reset //重啟路由器RouterenRoutercopy startupconfig runningconfigDestination filename [runningconfig]? Routerconf tRouter(config)Router(config)no enable passwordRouter(config)enable password ccieRouter(config)configregister 0x2102Routershow versionRouterwr二:要求給設(shè)備命名,命名方式為 你姓名R0,姓名A這種類似的方式R0重命名R0enR0conf tR0(config)hostname wangxinyuanR0wangxinyuanR0(config)R1重命名:RouterRouterenRouterconf tRouter(config)hostname wangxinyuanR1wangxinyuanR1(config)R2重命名:RouterenRouterconf tEnter configuration mands, one per line. End with CNTL/Z.Router(config)Router(config)Router(config)hostname wangxinyuanR2wangxinyuanR2(config)R3的重命名:RouterRouterconf tRouter(config)Router(config)hostname wangxinyuanR3wangxinyuanR3(config)wangxinyuanR3(config)sw0的重命名:SwitchenSwitchconf tEnter configuration mands, one per line. End with CNTL/Z.Switch(config)hostname wangxinyuanAwangxinyuanA(config)wangxinyuanA(config)sw1的重命名:SwitchSwitchenSwitchconf tEnter configuration mands, one per line. End with CNTL/Z.Switch(config)hostname wangxinyuanBwangxinyuanB(config)sw2的重命名:SwitchSwitchenSwitchconf tEnter configuration mands, one per line. End with CNTL/Z.Switch(config)hostname wangxinyuanCwangxinyuanC(config)sw3的重命名:SwitchSwitchenSwitchconf tEnter configuration mands, one per line. End with CNTL/Z.Switch(config)hostname wangxinyuanDwangxinyuanD(config)sw4的重命名:SwitchSwitchSwitchenSwitchconf tEnter configuration mands, one per line. End with CNTL/Z.Switch(config)hostname wangxinyuanEwangxinyuanE(config)wangxinyuanE(config)三:交換機(jī)之間形成trunk,配置在wangxinyuanA上trunk如下:wangxinyuanA(config)int fa0/1wangxinyuanA(configif)swwangxinyuanA(configif)switchport mowangxinyuanA(configif)switchport mode trwangxinyuanA(configif)switchport mode trunk wangxinyuanA(configif)wangxinyuanA(configif)wangxinyuanA(configif)int fa0/2wangxinyuanA(configif)swwangxinyuanA(configif)switchport mowangxinyuanA(configif)switchport mode trwangxinyuanA(configif)在wangxinyuanB上trunk如下:wangxinyuanB(config)int fa0/1wangxinyuanB(configif)swwangxinyuanB(configif)switchport mowangxinyuanB(configif)switchport mode trwan