一、命令行SW1interfaceVlan10ipaddress192.168.1.1255.255.255.0#interfaceEth-Trunk1portlink-typetrunkporttrunkallvlanall#interfaceGigabitEthernet0/0/4eth-trunk1#interfaceGigabitEthernet0/0/5eth-trunk1SW2同上二、建立顺序建立eth-trunk把接口划到eth-trunk中。三、..
分类:
其他好文 时间:
2014-08-19 14:43:45
阅读次数:
218
public interface HttpDownloader { public void setDownloadManager(HttpDownloadManager manager); public HttpDownloadManager getDownloadManager(); ...
分类:
移动开发 时间:
2014-08-19 12:27:44
阅读次数:
181
Route使用子接口配置fa0/0无IP并激活interfaceFastEthernet0/0noipaddressnoshut配置子接口1fa0/0.1interfaceFastEthernet0/0.1encapsulationdot1Q2(VLAN2)ipaddress10.10.10.1255.255.255.0noshut配置子接口2fa0/0.2interfaceFastEthernet0/0.2encapsulationdot1Q3(VLAN3)..
分类:
其他好文 时间:
2014-08-19 11:07:35
阅读次数:
255
环回接口(loopback interface)的新认识
分类:
其他好文 时间:
2014-08-19 00:59:13
阅读次数:
247
#import @interface Father : NSObject @property (nonatomic,copy) NSString *name;@property (nonatomic,retain) NSNumber *age;-(id) initWithName:(NSString...
分类:
移动开发 时间:
2014-08-19 00:57:13
阅读次数:
316
#import #define CHILD_WEAK_NOTIFC @"childe_week"@interface Child : NSObject@property (nonatomic,assign) int age;@property (nonatomic,assign) NSInteger...
分类:
移动开发 时间:
2014-08-19 00:47:13
阅读次数:
298
不足之处,欢迎指正!什么是MDI..我表示不知道的呢。MDI(Multiple Document Interface)就是所谓的多文档界面,与此对应就有单文档界面 (SDI), 它是微软公司从Windows 2.0下的MicrosoftExcel电子表格程序开始引入的,Excel电子表格用户有时需要...
Comparator位于java.util包下public interface Comparator强行对某个对象 collection 进行整体排序 的比较函数。可以将 Comparator 传递给 sort 方法(如 Collections.sort 或 Arrays.sort),从而允许在排序...
分类:
编程语言 时间:
2014-08-18 20:16:22
阅读次数:
192
NSDate+MJ.h#import @interface NSDate (MJ)/** * 是否为今天 */- (BOOL)isToday;/** * 是否为昨天 */- (BOOL)isYesterday;/** * 是否为今年 */- (BOOL)isThisYear;/** * 返回...
分类:
其他好文 时间:
2014-08-18 20:11:12
阅读次数:
207
接口的作用是用来制定规范,以便让后面的程序根据这个规范来实现。接口的声明方式:interface 接口名{},接口只能声明抽象方法,至少要有一个,但是声明的抽象方法前不需要用abstract修饰。声明一个类实现接口,class demo implements interface_name {},当一...
分类:
其他好文 时间:
2014-08-18 20:09:22
阅读次数:
174