首页 > 其他 > 详细

实验 5

时间:2019-11-27 15:22:21      阅读:62      评论:0      收藏:0      [点我收藏+]

技术分享图片

 

 

PC

192.168.10.1、192.168.10.2

192.168.20.1、192.168.20.2

192.168.10.3、192.168.10.4

192.168.20.3、192.168.20.4

 

S3700-1:
system-view

vlan batch 10 20
int e0/0/1
port link-type access 
port default vlan 10

int 0/0/2
port link-type access 
port default vlan 10

int e0/0/3
port link-type access 
port default vlan 20

int e0/0/4
port link-type access 
port default vlan 20

interface g0/0/2
port link-type trunk
port trunk allow-pass vlan 10 20

 

S3700-2:
system-view

vlan batch 30 40
int e0/0/1
port link-type access 
port default vlan 30

int e0/0/2
port link-type access 
port default vlan 30

int e0/0/3
port link-type access 
port default vlan 40

int e0/0/4
port link-type access 
port default vlan 40
int g0/0/2
port link-type trunk
port trunk allow-pass vlan 30 40

 

S5700
system-view
vlan batch 30 40

Int g0/0/1
port link-type trunk
port trunk allow-pass vlan 30  40

interface vlanif 30
ip address 192.168.30.254 24

interface vlanif 40
ip address 192.168.40.254 24

int g0/0/24
interface vlanif 1
ip address 172.16.1.2 24

ip route-static 0.0.0.0 0.0.0.0 172.16.1.1

 

AR2220:
system-view

Int g0/0/0.10
dot1q termination vid 10
ip address 192.168.10.254 24
arp broadcast enable

Int g0/0/0.20
dot1q termination vid 20
ip address 192.168.20.254 24
arp broadcast enable

Int g0/0/1
ip address 172.16.1.1 24
ip route-static 0.0.0.0 0.0.0.0 172.16.1.2

实验 5

原文:https://www.cnblogs.com/X-Lee/p/11942010.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!