实验报告hcna综合实验

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
HCNA实验手册
组名:一班一组
班级:网络安全一班
实验
实验目的
1掌握hcna所学的所有技术的原理
2掌握HCNA所学的所有技术的命令配置
1所使用的技术:vlanacl三层技术 natgvrpvrrpstpip
技术原理:
1vlan:虚拟局域网
2acl:访问控制列表
3三层技术:实验vlan间互通
4nat:网络地址转换
interface Ethernet0/0/5
port link-typeaccess
port defaultvlan 20
interface Eth-Trunk3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
3.3SWA
#
interface Eth-Trunk1
5gvrp:vlan注册技术
6vrrp:虚拟路由冗余协议
7stp:生成树
8ip:网际协议:
实验拓扑:
操作步骤
要求
1.内部客户端A属于VLAN 10
二层交换机
Sys
SYSname2SWA
1.2SWA
创建vlan
vlan batch 10
interface Ethernet0/0/5
port link-type access
BRB
ospf 1
default-route-advertise
area 0.0.0.0
network 192.168.0.130 0.0.0.0
三层交换机
3SWA
ospf 1
area 0.0.0.0
network 192.168.0.161 0.0.0.0
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface Eth-Trunk3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
要求二
创建链路聚合(1通道和3通道)
要求六:内部路由使用OSPF协议;
边界路由器
BRA
ospf 1
default-route-advertise
area 0.0.0.0
network 192.168.0.129 0.0.0.0
--------------------------------------------------------
gvrp
interface GigabitEthernet0/0/5
eth-trunk 1
#
interface GigabitEthernet0/0/6
eth-trunk 1
#
interface GigabitEthernet0/0/7
eth-trunk 3
#
interface GigabitEthernet0/0/8
三层交换机
3SWA
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
gvrp
#
interface Eth-Trunk3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
三层交换机
3SWA
设置生成树的优先级为主优先
stpinstance 0root primary
2swA
设置生成树的优先级为次优先
stpinstance 0root secondary
2SWB
堵塞成功
要求
边界路由器
BRA
interface GigabitEthernet0/0/1
ip address 192.168.0.129 255.255.255.224
interface Eth-Trunk2
interface Eth-Trunk3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface Ethernet0/0/1
eth-trunk 2
#
interface Ethernet0/0/2
#
interface GigabitEthernet0/0/2
eth-trunk 1
interface Eth-Trunk2
#
interface Ethernet0/0/1
eth-trunk2
#
interface Ethernet0/0/2
eth-trunk2
3 SWB
创建链路聚合(1通道和2通道)
port default vlan 10
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
2内部客户端B属于VLAN 20;
二层交换机
Sys
Sysname2SWB
创建vlan20
2. 2SWB
vlan batch 20
eth-trunk 2
#
interface GigabitEthernet0/0/1
eth-trunk 3
#
interface GigabitEthernet0/0/2
eth-trunk 3
要求三:
1三层交换机
3SWA
gvrp
#
interface Eth-Trunk1
port link-type trunk
vrrp vrid 1 virtual-ip 192.168.0.131
vrrp vrid 1 priority 200
BRB
interface GigabitEthernet0/0/1
ip address 192.168.0.130 255.255.255.224
vrrp vrid 1 virtual-ip 192.168.0.131
port trunk allow-pass vlan 2 to 4094
gvrp
#
interface Eth-Trunk3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
gvrp
要求四:阻塞内部二层交换机B上面向内部交换机A的两个端口;
eth-trunk 3
2SWABaidu Nhomakorabea:
创建链路聚合(1通道和2通道)
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
eth-trunk1
相关文档
最新文档