收藏 分销(赏)

华为eNSP实验指南.docx

上传人:w****g 文档编号:1715258 上传时间:2024-05-08 格式:DOCX 页数:64 大小:274.31KB
下载 相关 举报
华为eNSP实验指南.docx_第1页
第1页 / 共64页
华为eNSP实验指南.docx_第2页
第2页 / 共64页
华为eNSP实验指南.docx_第3页
第3页 / 共64页
华为eNSP实验指南.docx_第4页
第4页 / 共64页
华为eNSP实验指南.docx_第5页
第5页 / 共64页
点击查看更多>>
资源描述

1、VLAN的基础配置VLAN最基本实验,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#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain defau

2、lt domain 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 Ethernet0/0/3#interfac

3、e Ethernet0/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/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface Ethernet0/0/15#interface Ethe

4、rnet0/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/22 port link-type trunk port trunk allow-pass vlan 3#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface NULL0#user-interf

5、ace con 0user-interface vty 0 4#Return=SW2di cu#sysname SW2#vlan batch 2 to 3#cluster enablentdp enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default

6、_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 Ethernet0/0/3#interface Ethernet0/0/4#i

7、nterface 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/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface Ethernet0/0/15#interface Ethernet0/0/16#interf

8、ace Ethernet0/0/17#interface Ethernet0/0/18#interface Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/21#interface Ethernet0/0/22 port link-type trunk port trunk allow-pass vlan 3#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface NULL0#user-interface con 0user-int

9、erface vty 0 4#port-group link-type#returnVLAN间路由注:在pc1和pc2上面配置好ip地址和网关= SW1di cu#sysname SW1#vlan batch 2 to 3#cluster enablentdp enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default#aaa authentication-scheme default authorization-scheme default accounting-scheme def

10、ault domain default domain default_admin local-user admin password simple admin local-user admin service-type http#interface Vlanif1#interface Vlanif2 ip address 192.168.2.254 255.255.255.0#interface Vlanif3 ip address 192.168.3.254 255.255.255.0#interface MEth0/0/1#interface Ethernet0/0/1 port link

11、-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#interface Ethernet0/0/6#interface Ethernet0/0/7#interface Ethernet0/0/8#interface Ethernet0/0/9#interface Ethernet0/0/10#interfac

12、e 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#interface Ethernet0/0/18#interface Ethernet0/0/19#interface Ethernet0/0/20#interface Ethernet0/0/21#interface Ethernet0/0/22#interfac

13、e GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface NULL0#user-interface con 0user-interface vty 0 4#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 OOC

14、M4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Local priority 16#interface Ethernet0/0/0#interface Ethernet0/0/0.1 vlan-type dot1q 2 ip address 192.168.2.254 255.255.255.0#interface Ethernet0/0/0.3 vlan-type dot1q 3 ip address 192.168.3.254 255.255.255.0#interface Ethernet0/0

15、/1#interface Serial0/0/0 link-protocol ppp#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-protocol ppp#interface Serial0/0/3 link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interfac

16、e NULL0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#return=SW1di cu#sysname SW1#vlan batch 2 to 3#cluster enablentdp enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default#aaa authentication-scheme default authorization-scheme default accounting-s

17、cheme default domain default domain 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#interf

18、ace Ethernet0/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/9#interface Ethernet0/0/10#interface Ethernet0/0/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface Eth

19、ernet0/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/21 port link-type trunk port trunk allow-pass vlan 2 to 4094#interface Ethernet0/0/22 port link-type trunk port trunk allow-pass vlan 2 to 40

20、94#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface NULL0#user-interface con 0user-interface vty 0 4#return=SW2di cu#sysname SW2#vlan batch 3#cluster enablentdp enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile default#aaa authentication-scheme defau

21、lt authorization-scheme default accounting-scheme default domain default domain 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 3#interface Ethernet0/0/2#inte

22、rface Ethernet0/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/9#interface Ethernet0/0/10#interface Ethernet0/0/11#interface Ethernet0/0/12#interface Ethernet0/0/13#interface Ethernet0/0/14#interface E

23、thernet0/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/21#interface Ethernet0/0/22 port link-type trunk port trunk allow-pass vlan 2 to 4094#interface GigabitEthernet0/0/1#interface GigabitEther

24、net0/0/2#interface NULL0#user-interface con 0user-interface vty 0 4#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 se

25、rvice-type http#firewall zone Local priority 16#interface Ethernet0/0/0 ip address 12.1.1.1 255.255.255.0#interface Ethernet0/0/1#interface Serial0/0/0 link-protocol ppp#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-protocol ppp#interface Serial0/0/3 link-protocol ppp#interface

26、GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#interface LoopBack0#ip route-static 23.1.1.0 255.255.255.0 12.1.1.2#user-interface con 0user-interface vty 0 4user-interface vty 16 20#Return=R2di cu#sysname R2#aaa

27、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 Local priority 16#interface Ethernet0/0/0 ip address 12.1.1.2 255.255.25

28、5.0#interface Ethernet0/0/1 ip address 23.1.1.1 255.255.255.0#interface Serial0/0/0 link-protocol ppp#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-protocol ppp#interface Serial0/0/3 link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface Gigabi

29、tEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#return=R3di cu#sysname R3#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admi

30、n password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Local priority 16#interface Ethernet0/0/0 ip address 23.1.1.2 255.255.255.0#interface Ethernet0/0/1#interface Serial0/0/0 link-protocol ppp#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-p

31、rotocol ppp#interface Serial0/0/3 link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#ip route-static 12.1.1.0 255.255.255.0 23.1.1.1#user-interface con 0user-interface vty 0 4user-interfac

32、e vty 16 20#returnRIP=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 Local priority 16#interface

33、 Ethernet0/0/0 ip address 192.168.1.254 255.255.255.0#interface Ethernet0/0/1#interface Serial0/0/0 link-protocol ppp ip address 12.1.1.1 255.255.255.0#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-protocol ppp#interface Serial0/0/3 link-protocol ppp#interface GigabitEthernet0/0

34、/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#rip 1 undo summary version 2 network 12.0.0.0 network 192.168.1.0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#return=R2di cu#sysname R2#aaa authentication-schem

35、e 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 Local priority 16#interface Ethernet0/0/0 ip address 192.168.2.254 255.255.255.0#interface E

36、thernet0/0/1#interface Serial0/0/0 link-protocol ppp ip address 12.1.1.2 255.255.255.0#interface Serial0/0/1 link-protocol ppp ip address 23.1.1.1 255.255.255.0#interface Serial0/0/2 link-protocol ppp#interface Serial0/0/3 link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0

37、/1#interface GigabitEthernet0/0/2#interface GigabitEthernet0/0/3#wlan#interface NULL0#rip 1 undo summary version 2 network 23.0.0.0 network 12.0.0.0 network 192.168.2.0#user-interface con 0user-interface vty 0 4user-interface vty 16 20=R3di cu#sysname R3#aaa authentication-scheme default authorizati

38、on-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 Local priority 16#interface Ethernet0/0/0 ip address 192.168.3.254 255.255.255.0#interface Ethernet0/0/1#interfac

39、e Serial0/0/0 link-protocol ppp ip address 23.1.1.2 255.255.255.0#interface Serial0/0/1 link-protocol ppp#interface Serial0/0/2 link-protocol ppp#interface Serial0/0/3 link-protocol ppp#interface GigabitEthernet0/0/0#interface GigabitEthernet0/0/1#interface GigabitEthernet0/0/2#interface GigabitEthe

40、rnet0/0/3#wlan#interface NULL0#rip 1 undo summary version 2 network 23.0.0.0 network 192.168.3.0#user-interface con 0user-interface vty 0 4user-interface vty 16 20#ReturnOSPF基本的ospf配置=R1di cu#sysname R1#aaa authentication-scheme default authorization-scheme default accounting-scheme default domain d

41、efault domain default_admin local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw# local-user admin service-type http#firewall zone Local priority 16#interface Ethernet0/0/0#interface Ethernet0/0/1#interface Serial0/0/0 link-protocol ppp ip address 12.1.1.1 255.255.255.0#interface Serial0/0/1 link-pr

展开阅读全文
部分上传会员的收益排行 01、路***(¥15400+),02、曲****(¥15300+),
03、wei****016(¥13200+),04、大***流(¥12600+),
05、Fis****915(¥4200+),06、h****i(¥4100+),
07、Q**(¥3400+),08、自******点(¥2400+),
09、h*****x(¥1400+),10、c****e(¥1100+),
11、be*****ha(¥800+),12、13********8(¥800+)。
相似文档                                   自信AI助手自信AI助手
百度文库年卡

猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服