当前位置:网站首页>ACL access control experiment
ACL access control experiment
2022-07-23 13:01:00 【.98℃】
1. requirement

2. Topology

3. analysis
4. To configure
Configure the router ip
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.2.24 24
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.1 30
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.2 30
to pc To configure ip, Replace gateway with default
[pc1]int g0/0/0
[pc1-GigabitEthernet0/0/0]ip add 192.168.2.1 24
[pc1]ip route-static 0.0.0.0 0 192.168.2.24
[pc2]int g0/0/0
[pc2-GigabitEthernet0/0/0]ip add 192.168.2.2 24
[pc2]ip route-static 0.0.0.0 0 192.168.2.24
Create one on the router lyc Users of
[r1]aaa
[r1-aaa]local-user lyc privilege level 15 password cipher a12345
[r1-aaa]local-user lyc service-type telnet
[r1-aaa]q
[r1]user-interface vty 0 1
[r1-ui-vty0-1]authentication-mode aaa
[r2]aaa
[r2-aaa]local-user lyc privilege level 15 password cipher a12345
[r2-aaa]local-user lyc service-type telnet
[r2-aaa]q
[r2]user-interface vty 0 1
[r2-ui-vty0-1]authentication-mode aaa
Set reject ICMP and tcp23 Port number service
[r1]acl 3002
[r1-acl-adv-3002]rule deny icmp source 192.168.2.1 0 destination 192.168.2.24 0
[r1-acl-adv-3002]rule deny tcp source 192.168.2.2 0 destination 192.168.2.24 0 destination-port eq 23
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]traffic-filter inbound acl 3002
[r2]acl 3003
[r2-acl-adv-3003]rule deny icmp source 192.168.2.2 0 destination 192.168.1.2 0
[r2-acl-adv-3003]rule deny tcp source 192.168.2.1 0 destination 192.168.1.2 0 destination-port eq 23
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]traffic-filter inbound acl 30035. verification
PC1- ping - R1

PC1- ping - R2

PC1- Telnet -R1

PC1- Telnet -R2

PC2- ping - R1

PC2- ping - R2

PC2- Telnet -R1

PC2- Telnet -R2

边栏推荐
- 查询交叉编译出的可执行文件依赖库
- 浅做一下思科实验吧!
- Routing and switching technology - static routing
- 学习日记——(路由与交换技术)三层交换机
- Learning diary - (routing and switching technology) DHCP (Dynamic Host Configuration Protocol)
- Rk3588 compilation problem set
- DHCP原理与配置
- 0 shortest path problem leetcode743. Network delay time
- PostgreSQL k8s部署模板
- Copy, paste and drag files between VMware virtual machine and host
猜你喜欢

DHCP原理与配置

Secret key remote login server to realize secret free login

Understanding of LSM tree (log structured merge tree)

Learning diary - (routing and switching technology) layer 3 switch

Gameframework: resource hot code analysis, check version information, download version files, verify version files, get the number of updated files, download files, taskpool

Hcip - first experiment

HCIA----06 OSPF

HCIA----02

OSPF comprehensive experiment

路由与接口技术——直连网络总结
随机推荐
Unity3d+gameframework: resource analysis, resource dependency, circular dependency detection
Learning diary - (routing and switching technology) layer 3 switch
HCIA----07 ACL-Net
OSPF comprehensive experiment
查询交叉编译出的可执行文件依赖库
openvpn部署
psutil监控的简单使用
Learning diary - (routing and switching technology) single arm routing
Hcip --- OSPF details
Hcip --- condition matching and OSPF Protocol
手动配置DHCP服务
Understand the article frankly and get the HTTP protocol cache
FTP 配置实例学习记录
2020-09-22
Do a Cisco experiment!
ftp部署
2020-09-22
Rip configuration instance learning record
Rk3588 compilation problem set
RHCSA--文件内容浏览、cut、uniq、sort、.tr命令使用