650) this. onclickwindow. open (blog.51cto. comviewpic. php? Export border0
650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'alt =" "src =" http://cdn.verydemo.com/upload/2013_05_27/13695849406780.jpg "border =" 0 "/> in reality, there is no cisco device we use at school, mostly
650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'alt =" "src =" http://cdn.verydemo.com/upload/2013_05_27/13695849406780.jpg "border =" 0 "/> realistic work does notWeMost cisco devices used in schools are routes and switches of Huawei and other brands. I will introduce the basic commands for an access control list between cisco and Huawei.
Standard ACL:
Allow hosts in the 10.10.1.0 subnet to access the test Server
Deny Access to the test server from hosts in the 10.10.2.0 Subnet
Add commands to the lab Router
Access-list 1 permit 10.10.1.10 0.0.255
Interface f0/0
Ip access-group 1 in
2. Extend the ACL
Allow CIDR Block 1 and CIDR Block 2 to ping the test Server
Allow Network Segment 1 but do not allow Network Segment 2 to access the internal network's TELNET Service
Add commands to the lab Router
Access-list 101 permit icmp any echo
Access-list 101 permit icmp any echo-reply
Access-list 101 permit tcp 10.10.1.0 0.0.0.255 172.16.1.0 0.0.0.255 eq 23
Interface f0/0
Ip access-group 101 in
On the test Server
Line vty 0 4
Password 123
Login
Ping the test server on PC1 and PC2, and then telnet
View ACL
Show access-list
Show ip route
(The above is the cisco configuration)
Shiyan Router
System
[Quidway] sysname shiyan
[Shiyan] interface e0/0
[Shiyan-fastethernet0/0] ip address 192.168.1.1 255.255.255.0
[Shiyan-fastethernet0/0] undo shutdown
[Shiyan-fastethernet0/0] quit
[Shiyan] interface e0/1
[Shiyan-fastethernet0/0] ip address 172.16.1.10 255.255.255.0
[Shiyan-fastethernet0/0] undo shutdown
[Shiyan-fastethernet0/0] quit
[Shiyan] ip routing
[Shiyan] ip route-static 10.10.1.0 255.255.255.0 192.168.1.1
[Shiyan] ip route-static 10.10.2.0 255.255.255.0 192.168.1.1
Ceshi Server
System
[Quidway] sysname ceshi
[Ceshi] interface e0/1
[Ceshi-Serial0/0] ip address 172.16.1.10 255.255.255.0
[Ceshi-Serial0/0] undo shutdown
[Ceshi-Serial0/0] quit
[Ceshi] ip routing
[Ceshi] ip route-static 0.0.0.0 0.0.0.0 172.16.1.1
1. Standard ACL:
Allow hosts in the 10.10.1.0 subnet to access the test Server
Deny Access to the test server from hosts in the 10.10.2.0 Subnet
Add commands to the lab Router
[Shiyan] firewall enable
[Shiyan] firewall default permit
[Shiyan] acl number 2001
[Shiyan-acl-basic-2001] rule normal deny source 10.10.2.0 0.0.0.255
[Shiyan-acl-basic-2001] rule normal permit source any
[Shiyan-acl-basic-2001] quit
[Shiyan] interface ethernet0/0
[Shiyan-Ethernet0/0] firewall packet-filter 2001 inbound
[Shiyan-Ethernet0/0] quit
2. Extend the ACL
Allow CIDR Block 1 and CIDR Block 2 to ping the test Server
Allow Network Segment 1 but do not allow Network Segment 2 to access the internal network's TELNET Service
Add commands to the test Server
[Ceshi] user-interface vty 0 4
(The above is the configuration of Huawei)
Just see !!!!!!" Blog, declined to reprint!