两台交换机不同vlan端的设备通信互访.docx

上传人:b****8 文档编号:10839159 上传时间:2023-02-23 格式:DOCX 页数:13 大小:41.78KB
下载 相关 举报
两台交换机不同vlan端的设备通信互访.docx_第1页
第1页 / 共13页
两台交换机不同vlan端的设备通信互访.docx_第2页
第2页 / 共13页
两台交换机不同vlan端的设备通信互访.docx_第3页
第3页 / 共13页
两台交换机不同vlan端的设备通信互访.docx_第4页
第4页 / 共13页
两台交换机不同vlan端的设备通信互访.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

两台交换机不同vlan端的设备通信互访.docx

《两台交换机不同vlan端的设备通信互访.docx》由会员分享,可在线阅读,更多相关《两台交换机不同vlan端的设备通信互访.docx(13页珍藏版)》请在冰豆网上搜索。

两台交换机不同vlan端的设备通信互访.docx

两台交换机不同vlan端的设备通信互访

 

左侧交换机vlan100IP:

10.10.10.1

PC:

10.10.10.2,vlan1IP:

192.168.1.1

右侧交换机vlan200IP:

172.16.10.1

PC:

192.168.10.2vlan1IP:

192.168.1.2

学习目:

两台交换机不同vlan端的设备通信互访。

重点端口0/0/24配置trunk口,并允许所有Vlan通过,配置静态路由

左侧交换机配置:

discur

#

sysnameHuawei

#

vlanbatch100

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1//启用vlan1交换地址

ipaddress192.168.1.1255.255.255.0

#

interfaceVlanif100

ipaddress10.10.10.1255.255.255.0

#

interfaceMEth0/0/1

#

interfaceGigabitEthernet0/0/1

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/2

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/3

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/4

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/5

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/6

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/7

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/8

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/9

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/10

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/11

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/12

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/13

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/14

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/15

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/16

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/17

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/18

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/19

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/20

portlink-typeaccess

portdefaultvlan100

#

interfaceGigabitEthernet0/0/21

#

interfaceGigabitEthernet0/0/22

#

interfaceGigabitEthernet0/0/23

#

interfaceGigabitEthernet0/0/24

portlink-typetrunk

porttrunkallow-passvlan2to4094

#

interfaceNULL0

#

iproute-static172.16.10.0255.255.255.0192.168.1.2

#

user-interfacecon0

user-interfacevty04

#

port-group1-20

group-memberGigabitEthernet0/0/1

group-memberGigabitEthernet0/0/2

group-memberGigabitEthernet0/0/3

group-memberGigabitEthernet0/0/4

group-memberGigabitEthernet0/0/5

group-memberGigabitEthernet0/0/6

group-memberGigabitEthernet0/0/7

group-memberGigabitEthernet0/0/8

group-memberGigabitEthernet0/0/9

group-memberGigabitEthernet0/0/10

group-memberGigabitEthernet0/0/11

group-memberGigabitEthernet0/0/12

group-memberGigabitEthernet0/0/13

group-memberGigabitEthernet0/0/14

group-memberGigabitEthernet0/0/15

group-memberGigabitEthernet0/0/16

group-memberGigabitEthernet0/0/17

group-memberGigabitEthernet0/0/18

group-memberGigabitEthernet0/0/19

group-memberGigabitEthernet0/0/20

#

return

[Huawei]

右侧交换机配置文件

[Huawei]discur

#

sysnameHuawei

#

vlanbatch200

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1

ipaddress192.168.1.2255.255.255.0//启用vlan1交换地址

#

interfaceVlanif200

ipaddress172.16.10.1255.255.255.0

#

interfaceMEth0/0/1

#

interfaceGigabitEthernet0/0/1

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/2

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/3

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/4

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/5

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/6

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/7

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/8

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/9

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/10

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/11

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/12

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/13

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/14

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/15

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/16

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/17

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/18

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/19

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/20

portlink-typeaccess

portdefaultvlan200

#

interfaceGigabitEthernet0/0/21

#

interfaceGigabitEthernet0/0/22

#

interfaceGigabitEthernet0/0/23

#

interfaceGigabitEthernet0/0/24

portlink-typetrunk

porttrunkallow-passvlan2to4094

#

interfaceNULL0

#

iproute-static10.10.10.0255.255.255.0192.168.1.1

#

user-interfacecon0

user-interfacevty04

#

port-group1-20

group-memberGigabitEthernet0/0/1

group-memberGigabitEthernet0/0/2

group-memberGigabitEthernet0/0/3

group-memberGigabitEthernet0/0/4

group-memberGigabitEthernet0/0/5

group-memberGigabitEthernet0/0/6

group-memberGigabitEthernet0/0/7

group-memberGigabitEthernet0/0/8

group-memberGigabitEthernet0/0/9

group-memberGigabitEthernet0/0/10

group-memberGigabitEthernet0/0/11

group-memberGigabitEthernet0/0/12

group-memberGigabitEthernet0/0/13

group-memberGigabitEthernet0/0/14

group-memberGigabitEthernet0/0/15

group-memberGigabitEthernet0/0/16

group-memberGigabitEthernet0/0/17

group-memberGigabitEthernet0/0/18

group-memberGigabitEthernet0/0/19

group-memberGigabitEthernet0/0/20

#

return

[Huawei]

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 笔试

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1