【正文】
it Routerwrite Router 添刪管理用戶 添加一個(gè)用戶名為 test,密碼為 testpass Routerconf t Enter configuration mands, one per line. End with CNTL/Z. Router(config)username test password testpass Router(config)exit Routerwrite Router 刪除用戶 test Routerconf t Enter configuration mands, one per line. End with CNTL/Z. Router(config)no username test Router(config)exit Routerwrite Router *設(shè)備的特權(quán)模式密碼只能有一個(gè),但用戶則可以多個(gè) 。 保留 - 16IP 地址 Routerconf t Enter configuration mands, one per line. End with CNTL/Z. Router(config)ip dhcp pool IPPOOL Router(dhcpconfig) work Router(dhcpconfig) defaultrouter Router(dhcpconfig) dnsserver Router(dhcpconfig)exit Router(config) ip dhcp excludedaddress Router(config)exit Routerwrite Router 修改 DHCP 服務(wù)器 修改動(dòng)態(tài)分配的地址段為 ,掩碼為 , 網(wǎng)關(guān)為 , dns 為 和 保留地址為 和 Routerconf t Enter configuration mands, one per line. End with CNTL/Z. Router(config)ip dhcp pool IPPOOL Router(dhcpconfig) no work Router(dhcpconfig) work Router(dhcpconfig) no defaultrouter Router(dhcpconfig) defaultrouter Router(dhcpconfig) no dnsserver Router(dhcpconfig) dnsserver Router(dhcpconfig)exit Router(config) no ip dhcp excludedaddress Router(config) ip dhcp excludedaddress Router(config) ip dhcp excludedaddress Router(config)exit Routerwrite Router 添加默認(rèn)路由,下一跳為 Router Router(config)ip route Router(config)exit Routerwrite Router 添加靜態(tài)路由,網(wǎng)段為 掩碼 ,下一跳為 Router Router(config) ip route Router(config)exit Routerwrite Router 刪除網(wǎng)段為 掩碼 ,下一跳為 的靜態(tài)路由 Router Router(config)no ip route Router(config)exit Routerwrite Router