heberoxx 发表于 2018-7-13 07:44:45

手工设定ARP条目在Cisco路由器ARP列表中的保存时间

  配置如下:
  应用于端口:
  cisco-3845-A#config t
  Enter configuration commands, one per line.End with CNTL/Z.
  cisco-3845-A(config)#interface gigabitEthernet 0/0
  cisco-3845-A(config-if)#arp timeout ?
  <0-2147483>Seconds
  cisco-3845-A(config-if)#arp timeout 1200    //设置来自该接口的ARP信息在路由器ARP列表中保存周期为20分钟
  应用于VLAN:
  cisco-3845-A#config t
  Enter configuration commands, one per line.End with CNTL/Z.
  cisco-3845-A(config)#int vlan 6
  cisco-3845-A(config-if)#arp timeout ?
  <0-2147483>Seconds
  cisco-3845-A(config-if)#arp timeout 1200    //设置来自该VLAN的ARP信息在路由器ARP列表中保存时间为20分钟
  请注意,此命令不是定时清空,而是针对每一个学到的ARP条目设置其存活时间。若需定时清空,可以靠定时运行脚本文件来执行。
  以上 供参考,有问题M我。
  三层交换机一样的:
  3550b#config t
  Enter configuration commands, one per line.End with CNTL/Z.
  3550b(config)#int vlan 4    //vlan设置
  3550b(config-if)#arp timeout ?
  <0-2147483>Seconds
  3550b(config)#int g0/11   //端口设置
  3550b(config-if)#arp timeout ?
  <0-2147483>Seconds
页: [1]
查看完整版本: 手工设定ARP条目在Cisco路由器ARP列表中的保存时间