六月丁香五月婷婷,丁香五月婷婷网,欧美激情网站,日本护士xxxx,禁止18岁天天操夜夜操,18岁禁止1000免费,国产福利无码一区色费

學(xué)習(xí)啦>學(xué)習(xí)電腦>網(wǎng)絡(luò)知識(shí)>路由器>路由器設(shè)置>TP-link>

cisco路由器怎么設(shè)置網(wǎng)關(guān)

時(shí)間: 春健736 分享

  cisco路由器設(shè)置網(wǎng)關(guān),怎么設(shè)置?學(xué)習(xí)啦小編整理了相關(guān)資料,給大家介紹。有需要學(xué)習(xí)的同學(xué)可參考參考。

  cisco設(shè)置網(wǎng)關(guān)命令

  Cisco路由器默認(rèn)路由的命令為:

  ip route 0.0.0.0 0.0.0.0 X.X.X.X

  其中0.0.0.0 0.0.0.0匹配所有路由條目,X.X.X.X 應(yīng)配置為下一跳ip地址。默認(rèn)路由后面還可以加很多參數(shù)設(shè)置,如下一跳接口,優(yōu)先值等,在命令后鍵入?可以查看具體參數(shù)命令。

  網(wǎng)關(guān)設(shè)置命令為:

  default gateway IP地址

  以上命令均需config t 進(jìn)入全局模式后鍵入。


  怎么給路由器配置IP?

  router(config)#interface fastethernet 0/1

  router(config-if)#ip address 192.168.1.100 255.255.255.0

  router(config-if)#no shutdown

  怎么給交換機(jī)配置IP?

  switch(config)#interface vlan 1

  switch(config-if)#ip address 192.168.1.100 255.255.255.0

  switch(config-if)#no shutdown

  靜態(tài)路由配置方式:

  router(config)#ip route 192.168.1.0 255.255.255.0 192.168.10.1

  默認(rèn)路由配置方式:

  router(config)#ip route 0.0.0.0 0.0.0.0 192.168.10.1

  浮動(dòng)路由配置:

  router(config)#ip route 192.168.1.0 255.255.255.0 192.168.10.1 50

  router(config)#ip route 0.0.0.0 0.0.0.0 192.168.10.1 50

  給交換機(jī)配置默認(rèn)網(wǎng)關(guān),方便管理

  switch(config)#ip default-gateway 192.168.2.254

  輔助地址配置:

  switch(config-if)#ip address 192.168.1.1 255.255.255.0 secondary

558589