下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、VLAN的基础配置VLAF最基本实验,1和3属于VLAN2相互不通;2和4属于VLAN3可以ping通SW1di cu#sysname SW1#vlan batch 2 to 3#cluster enablentdp enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default#aaaauthentication-scheme default authorization-scheme default accounting-scheme default domain default dom
2、ain default_admin local-user admin password simple admin local-user admin service-type httpinterface Vlanif1 #interface MEth0/0/1#interface Ethernet0/0/1 port link-type access port default vlan 2#interface Ethernet0/0/2 port link-type access port default vlan 3#interface Ethernet0/0/3#interface Ethe
3、rnet0/0/4#interface Ethernet0/0/5#interface Ethernet0/0/6#interface Ethernet0/0/7#interface Ethernet0/0/8#interface Ethernet0/0/9#interface Ethernet0/0/10#interface Ethernet0/0/11interface Ethernet0/0/12 #interface Ethernet0/0/13#interface Ethernet0/0/14#interface Ethernet0/0/15#interface Ethernet0/
4、0/16#interface Ethernet0/0/17#interface Ethernet0/0/18#interface Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/21#interface Ethernet0/0/22port link-type trunkport trunk allow-pass vlan 3#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#user-interface con 0 user-interface
5、 vty 0 4#ReturnSW2di cu#sysname SW2#vlan batch 2 to 3#cluster enablentdp enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default#aaaauthentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin p
6、assword simple admin local-user admin service-type httpinterface Vlanif1 #interface MEth0/0/1#interface Ethernet0/0/1 port link-type access port default vlan 2#interface Ethernet0/0/2 port link-type access port default vlan 3#interface Ethernet0/0/3#interface Ethernet0/0/4#interface Ethernet0/0/5#in
7、terface Ethernet0/0/6#interface Ethernet0/0/7#interface Ethernet0/0/8#interface Ethernet0/0/9#interface Ethernet0/0/10#interface Ethernet0/0/12 #interface Ethernet0/0/13#interface Ethernet0/0/14#interface Ethernet0/0/15#interface Ethernet0/0/16#interface Ethernet0/0/17#interface Ethernet0/0/18#inter
8、face Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/21#interface Ethernet0/0/22port link-type trunkport trunk allow-pass vlan 3#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#user-interface con 0 user-interface vty 0 4#port-group link-type#returnVLAN间路由注:在pci和pc2上面配置好ip
9、地址和网关SW1di cu #sysname SW1#vlan batch 2 to 3#cluster enable ntdp enable ndp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default# aaa authentication-scheme default authorization-scheme default accounting-scheme defaultdomain defaultdomain default_adminlocal-user admin password
10、simple admin local-user admin service-type http#interface Vlanif1#interface Vlanif2#interface Vlanif3#interface MEth0/0/1#interface Ethernet0/0/1port link-type accessport default vlan 2#interface Ethernet0/0/2port link-type accessport default vlan 3#interface Ethernet0/0/3#interface Ethernet0/0/4#in
11、terface Ethernet0/0/5#interface Ethernet0/0/7 #interface Ethernet0/0/8#interface Ethernet0/0/9#interface Ethernet0/0/10#interface Ethernet0/0/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface Ethernet0/0/15#interface Ethernet0/0/16#interface Ethernet0/0/17#inter
12、face Ethernet0/0/18#interface Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/22 #interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface NULL0#user-interface con 0user-interface vty 0 4# returnR1di cu# sysname R1#aaa authentication-scheme default authorization-scheme d
13、efault accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16interface Ethernet0/0/vlan-type dot1q 2#interface Ethernet0/0/vlan-type dot1q 3#interface Ethernet0/0/1#inte
14、rface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3 wlaninterface NULL0#user
15、-interface con 0user-interface vty 0 4user-interface vty 16 20#returnSW1di cu#sysname SW1#vlan batch 2 to 3#cluster enable ntdp enable ndp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default# aaa authentication-scheme default authorization-scheme default accounting-scheme defa
16、ult domain defaultdomain default_admin local-user admin password simple admin local-user admin service-type http# interface Vlanif1# interface MEth0/0/1# interface Ethernet0/0/1 port link-type access port default vlan 2# interface Ethernet0/0/2 port link-type access port default vlan 3#interface Eth
17、ernet0/0/3#interface Ethernet0/0/4#interface Ethernet0/0/5# interface Ethernet0/0/6# interface Ethernet0/0/7# interface Ethernet0/0/8#interface Ethernet0/0/9interface Ethernet0/0/10 #interface Ethernet0/0/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface Etherne
18、t0/0/15#interface Ethernet0/0/16#interface Ethernet0/0/17#interface Ethernet0/0/18#interface Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/21port link-type trunkport trunk allow-pass vlan 2 to 4094#interface Ethernet0/0/22port link-type trunkport trunk allow-pass vlan 2 to 4094interf
19、ace GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface NULL0#user-interface con 0user-interface vty 0 4# returnSW2di cu#sysname SW2#vlan batch 3#cluster enable ntdp enable ndp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default# aaa authentication-scheme default aut
20、horization-scheme defaultaccounting-scheme defaultdomain defaultdomain default_adminlocal-user admin password simple admin local-user admin service-type http#interface Vlanif1#interface MEth0/0/1#interface Ethernet0/0/1port link-type accessport default vlan 3#interface Ethernet0/0/2#interface Ethern
21、et0/0/3#interface Ethernet0/0/4#interface Ethernet0/0/5#interface Ethernet0/0/6#interface Ethernet0/0/7#interface Ethernet0/0/8#interface Ethernet0/0/10 #interface Ethernet0/0/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface Ethernet0/0/15#interface Ethernet0/0
22、/16#interface Ethernet0/0/17#interface Ethernet0/0/18#interface Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/21#interface Ethernet0/0/22port link-type trunkport trunk allow-pass vlan 2 to 4094#interface GigabitEthernet0/0/2#interface NULL0#user-interface con 0user-interface vty 0 4#
23、return静态路由R1di cu# sysname R1#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16# interface Ethernet0/
24、0/0interface Ethernet0/0/1 #interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthern
25、et0/0/3#wlan#interface NULL0#interface LoopBack0#user-interface vty 0 4user-interface vty 16 20#ReturnR2di cu#sysname R2#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBN
26、Uw# local-user admin service-type http#firewall zone Localpriority 16# interface Ethernet0/0/0# interface Ethernet0/0/1#interface Serial0/0/0 link-protocol ppp#interface Serial0/0/1 link-protocol pppinterface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthern
27、et0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#returnR3di cu#sysname R3 aaaauthentication-scheme default authorization-scheme defaultaccounting-scheme default
28、domain defaultdomain default_adminlocal-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#local-user admin service-type http#firewall zone Localpriority 16#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0
29、/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#returnRIPR1di cu#sysname R1#aaaauthentication-scheme defau
30、lt authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#local-user admin service-type http#firewall zone Localpriority 16#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Serial0/0/0link-protocol
31、ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3 wlaninterface NULL0#rip 1undo summaryversion 2#user-int
32、erface con 0user-interface vty 0 4user-interface vty 16 20#returnR2di cu# sysname R2#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type ht
33、tp#firewall zone Localpriority 16# interface Ethernet0/0/0interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#
34、interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#rip 1undo summaryversion 2user-interface con 0user-interface vty 0 4user-interface vty 16 20R3di cu#sysname R3#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default do
35、main default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16# interface Ethernet0/0/0# interface Ethernet0/0/1#interface Serial0/0/0 link-protocol ppp#interface Serial0/0/1 link-protocol pppinterface Serial0/0/2link-pr
36、otocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#rip 1undo summaryversion 2#user-interface con 0user-interface vty 0 4user-interface vty 16 20#ReturnOSPF基
37、本的 ospf 配置R1di cu#sysname R1#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16# interface Ethernet0/0
38、/0# interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol pppinterface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEtherne
39、t0/0/3#wlan#interface NULL0#interface LoopBack0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#returnR2di cusysname R2#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOC
40、M4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16# interface Ethernet0/0/0# interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3interface GigabitEtherne
41、t0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#interface LoopBack0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#returnR3di cu#sysname R3#aaaauthentication-scheme default authorization-scheme default accou
42、nting-scheme default domain defaultdomain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#local-user admin service-type http#firewall zone Localpriority 16#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol
43、 ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#wlan#interface NULL0#interface LoopBack0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#return多区域的 OSPFR
44、1di cu# sysname R1#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type httpfirewall zone Local priority 16#interface Ethernet0/0/0#interfac
45、e Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan
46、interface LoopBack0#interface LoopBack1#interface LoopBack2#interface LoopBack3#user-interface con 0user-interface vty 0 4user-interface vty 16 20#returnR2di cu# sysname R2#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin lo
47、cal-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http firewall zone Localpriority 16#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Ser
48、ial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0interface LoopBack0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#ReturnR3di cu# sysname R3#aaa authenticatio
49、n-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16# interface Ethernet0/0/0#interface Ethernet0/0/1link-protocol ppp#in
50、terface Serial0/0/1link-protocol ppp#interface Serial0/0/2link-protocol ppp#interface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#interface LoopBack0#user-interface con 0
51、user-interface vty 0 4returnR4di cu# sysname R4#aaaauthentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Localpriority 16# int
52、erface Ethernet0/0/0# interface Ethernet0/0/1#interface Serial0/0/0link-protocol ppp#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-protocol pppinterface Serial0/0/3link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2# int
53、erface GigabitEthernet0/0/3#wlan#interface NULL0#interface LoopBack0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#ReturnR5di cu#sysname R5 aaaauthentication-scheme default authorization-scheme defaultaccounting-scheme defaultdomain defaultdomain default_adminlocal-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#local-user admin service-type http#firewall zone Localpriority 16#interfa
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025 年终工作总结课件之融资情况汇报
- 2026年初一数学下学期期中考试试卷及答案(共七套)
- 游戏开发者社区营销活动策划及推广计划
- 旅游行业项目策划经理面试全解析
- 非营利组织项目管理部门的计划安排手册
- 邮政系统邮件处理中心主任运营计划
- 铁路客运公司工会服务流程的优化措施
- 合规业务案例分析报告
- 国家开发银行项目评估部经理面试技巧详解
- 教育机构班主任工作安排及学生管理策略
- 婴幼儿安全照护(中职)PPT完整全套教学课件
- 膜分离技术-反渗透(RO)(药物分离纯化课件)
- 现代纺纱技术课件 第一章绪论
- 西南科技大学833材料科学基础2016-2022年考研初试真题
- 译林版英语七年级下册全册短语汇总
- DB3208-T 173-2022群众体育智力运动 掼蛋 术语与定义
- GA/T 1939-2021法庭科学电流斑检验扫描电子显微镜/X射线能谱法
- YY/T 0951-2015干扰电治疗设备
- JJF 1189-2008测长仪校准规范
- 2023年湖南九嶷职业技术学院高职单招(英语)试题库含答案解析
- 中兴微电子技术
评论
0/150
提交评论