ChinaUnix.net
相关文章推荐:

Ignore VRRP interface faults

track 100 interface f0/1 line-protocol interface FastEthernet0/1 no ip address shutdown duplex auto speed auto vrrp 1 ip 192.168.0.244 vrrp 1 priority 120 vrrp 1 preempt vrrp 1 authentication md5 key-string cisco vrrp 1 track 100 decrement 30 ----vrrp的端口跟踪和HSRP有些不同,需要在全局配置模式下,先定义跟踪目标,才配置vrrp中跟踪该目标,这里定义目标100是f0/1接口 show vrrp brief ...

by linqm521 - 网络技术文档中心 - 2009-08-17 22:27:36 阅读(1105) 回复(0)

相关讨论

随着Internet的迅猛发展,基于网络的应用逐渐增多。这就对网络的可靠性提出了越来越高的要求。斥资对所有网络设备进行更新当然是一种很好的可靠性解决方案;但本着保护现有投资的角度考虑,可以采用廉价冗余的思路,在可靠性和经济性方面找到平衡点。   虚拟路由冗余协议就是一种很好的解决方案。在该协议中,对共享多存取访问介质(如以太网)上终端IP设备的默认网关(Default Gateway)进行冗余 备份,从而在其中一台路由设...

by leirenyuan - Linux文档专区 - 2005-07-21 15:06:13 阅读(498) 回复(0)

本帖最后由 yshihyu 于 2012-07-21 01:28 编辑 [code]public static interface IRequest { public void execute(); } [/code][code]public interface IRequest { public void execute(); } [/code]请问 inferface 有无加上 static 差异在哪? 谢谢

by yshihyu - Java - 2012-07-22 21:18:14 阅读(1004) 回复(2)

class Car{ } class FastCar extends Car implements ISpeedInfo { function getMaximumSpeed() { return 150; } } class Street { protected $speedLimit; protected $cars; public function __construct($speedLimit = 200) { $this->cars = array(); $this->speedLimit = $speedLimit; } protected function isStreetLegal($car) { i...

by xmlamp - php文档中心 - 2010-01-20 14:08:38 阅读(1774) 回复(0)

java interface的一个经典实例 import java.io.*; interface CAR { void start(); void stop(); } class SmallCar implements CAR { public void start() { System.out.println("smallcar start..."); } public void stop() { System.out.println("smallcar stop!"); } } class BigCar implements CAR { public void start() { System.out.println("bigcar sta...

by 一水思南 - Java文档中心 - 2007-09-29 16:28:10 阅读(715) 回复(0)

================================================ PHP5里的接口(interface)到底有什么用? 看了些资料,依然觉得很迷糊,php5的接口只是提供了一些空的function而已,实际的方法依然在各个class里面,并且要使用这些function的时候依然要先实例化这些class,那么,接口,到底起个什么作用?? =====================================...

by je1024 - PHP - 2007-09-20 12:19:23 阅读(2183) 回复(4)

interface can have three kinds of members: 1. field 2. method 3. nesting(嵌套)class or interface In the interface, the field is always public, static and final. But generally we can omit(省略)them. Them must have initalize values, because final field can not be null. The methods in interface are always abstract and public, they can not be native, synchronized or strctfp. They can't be static too...

by ganqing1234 - Java文档中心 - 2007-04-20 14:28:56 阅读(818) 回复(0)

大家好,我在LINUX下下载了一个开源代码vrrpD, 编译后执行vrrpD。 参数如下 。/vrrpd -i eth0 -v 34 10.155.20.222 (本地IP是10.155.20.2) 我是SSH到这个机器上的,一旦运行了后就无法和本地机器连接了,也无法ping通10.155.20.2 如果我这样配置./vrrpd -i eth0 -v 34 -n 10.155.20.222, 一切就OK了, -n参数的含义是 -n : Dont handle the virtual mac address 我查看了代码,如果不配置-n,代码会做如下操作 ...

by godguy - Linux环境编程 - 2011-07-01 23:43:13 阅读(2158) 回复(1)

工作了,没有太多的时间自学和写原创博客了,遗憾遗憾。 最近做PR遇到了vrrp,不知所云,所以google了一下,贴点资料扫扫盲吧,都是知识啊! vrrp简介 随着Internet的迅猛发展,基于网络的应用逐渐增多。这就对网络的可靠性提出了越来越高的要求。斥资对所有网络设备进行更新当然是一种很好的可靠性解决方案;但本着保护现有投资的角度考虑,可以采用廉价冗余的思路,在可靠性和经济性方面找到平衡点。   虚拟路由冗余协议就是一...

by gaozhenbo1985 - Linux文档专区 - 2010-02-05 14:20:33 阅读(925) 回复(0)

2026: 2026#configure terminal 2026(config)#vlan 10 2026(config-vlan)#vlan 20 2026(config-vlan)#vlan 30 2026(config-vlan)#vlan 40 2026(config-vlan)#exit 2026(config)#interface range fa 0/1-4 2026(config-if-range)#switchport access vlan 10 2026(config-if)#exit 2026(config)#interface range fa 0/5-9 2026(config-if-range)#switchport access vlan 20 2026(config-if-range)#exit 2026(config)#in...

by zjyyljd - 网络技术文档中心 - 2009-02-22 19:16:30 阅读(1090) 回复(0)

随着Internet的迅猛发展,基于网络的应用逐渐增多。这就对网络的可靠性提出了越来越高的要求。斥资对所有网络设备进行更新当然是一种很好的可靠性解决方案;但本着保护现有投资的角度考虑,可以采用廉价冗余的思路,在可靠性和经济性方面找到平衡点。 虚拟路由冗余协议就是一种很好的解决方案。在该协议中,对共享多存取访问介质(如以太网)上终端IP设备的默认网关(Default Gateway)进行冗余备份,从而在其中一台路 由设备宕机时...

by 剑心通明 - 网络技术文档中心 - 2008-03-20 21:38:38 阅读(732) 回复(0)