eNSP综合实验

该文描述了网络设备的配置过程,包括创建VLAN,配置生成树协议以确保网络稳定性,设置访问控制列表(ACL)管理流量,实现DHCP服务,配置VRRP进行故障转移,以及设定OSPF和RIP动态路由协议。同时,也涉及到了NAT转换和链路聚合。
摘要由CSDN通过智能技术生成

 L2S1:

创建vlan    vlan batch 11 to 14 

配置生成树,创建实例

配置各端口类型

 

 配置内网主机访问权限

acl number 3000
 rule permit tcp (source any) destination 192.168.15.100 0 destination-port eq ftp time-ran
ge worktime
 rule permit tcp (source any) destination 192.168.15.100 0 destination-port eq www time-ra
nge worktime
 rule deny tcp (source any destination any) destination-port eq ftp time-range worktime
 rule deny tcp (source any destination any) destination-port eq www time-range worktime
 rule permit ip (source any destination any)

不允许vlan 11与vlan 12 互相访问,创建3001

加入对应访问控制列表

 interface GigabitEthernet0/0/1
 traffic-filter outbound acl 3000

interface GigabitEthernet0/0/2
 traffic-filter outbound acl 3000

interface Ethernet0/0/1
 traffic-filter inbound acl 3001

L3S1:

创建vlan 并配置相应端口(链路聚合)

vlan batch 11 to 15 21

interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 21

interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan all

interface GigabitEthernet0/0/10
 port link-type access
 port default vlan 15

配置链路聚合,模式为手动,负载均衡源目地

interface Eth-Trunk1
 port link-type trunk
 port trunk allow-pass vlan all
mode manual load-balance 
load-balance src-dst-ip
interface GigabitEthernet0/0/23
 eth-trunk 1
interface GigabitEthernet0/0/24
 eth-trunk 1

 配置DHCP

配置vrrp并追踪上行接口

配置生成树 

stp mode mstp
stp enable
stp region-configuration
 region-name instance1
 revision-level 1
 instance 1 vlan 11 12
 instance 2 vlan 13 14
 active region-configuration

配置主根桥

stp instance 1 root pri
stp instance 2 root sec

动态路由ospf

L3S2 

创建vlan,

vlan batch 11 to 14 22

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan all
 
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 22

配置DHCP(关宣排阻dns)

 

配置vrrp,并追踪上行接口

 

配置生成树mstp,创建两个实例

stp enable
stp mode mstp
stp region-configuration
 region-name instance1
 revision-level 1
 instance 1 vlan 11 to 12
 instance 2 vlan 13 to 14
 active region-configuration

 配置主根桥

stp  instance  1   root   pri

stp   instance   1   root     sec

配置ospf

R1 

配置aaa

aaa
 local-user huawei password cipher wei privilege level 3
 local-user huawei service-type ppp 

配置静态路由

rip

 

ospf 

 

 nat

 

 

R2

  rip 配置    

ISP

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

李增雄

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值