摘要: 按照要求划分vlan,设置vlan 名称,划定端口,基本命令示例如下: system-view //进入system-view视图 vlan 10 //进入vlan name RD //给vlan10起名字 RD port g1/0/1 to g1/0/4 //将g1/0/1到g1/0/4这四个端口 阅读全文
posted @ 2017-06-20 08:33 吴先 阅读(479) 评论(0) 推荐(0)
摘要: 任务 : 使pc0可以telnet Router4,pc1不可以telnet Router4 1.配置协议,使网络互通 2.在Router4上配置ACL如下 Router(config)#access-list 100 deny tcp host 192.168.3.2 host 192.168.2 阅读全文
posted @ 2017-05-11 22:37 吴先 阅读(1332) 评论(0) 推荐(0)
摘要: 交换机 Switch(config)#vlan 10 Switch(config-vlan)#vlan 20 Switch(config-vlan)#exit Switch(config)#int f0/1 Switch(config-if)#switchport access vlan 10 Sw 阅读全文
posted @ 2017-05-10 16:59 吴先 阅读(485) 评论(0) 推荐(0)
摘要: router(config)#ip access-list extend V1router(config-acl)#permit ip any host 192.167.0.2router(config-acl)#permit ip any host 192.167.0.3router(config 阅读全文
posted @ 2017-04-12 22:46 吴先 阅读(354) 评论(0) 推荐(0)
摘要: router(config)#enable secret 密码 -> 这个密码是进入特权模式的密码,是一定要的router(config)#line vty 0 4router(config-line)password 密码 ->这个密码是telnet密码router(config-line)log 阅读全文
posted @ 2017-04-12 22:44 吴先 阅读(206) 评论(0) 推荐(0)
摘要: class list(object): """ list() -> new empty list list(iterable) -> new list initialized from iterable's items """ def append(self, p_object): # real s 阅读全文
posted @ 2017-03-09 13:29 吴先 阅读(218) 评论(0) 推荐(0)