QTECH QSW-2800 Инструкция по настройке User Manual

Page 291

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

277

Switch(config)#firewall enable

Switch(config)#interface ethernet 1/10

Switch(Config-If-Ethernet1/10)#mac-ip access-group 3110 in

Switch(Config-Ethernet1/10)#exit

Switch(config)#exit

Configuration result:

Switch#show firewall

Firewall Status: Enable.

Firewall Default Rule: Permit.

Switch#show access-lists

access-list 3110(used 1 time(s))

access-list 3110 deny 00-12-11-23-00-00 00-00-00-00-ff-ff

any-destination-mac

tcp 10.0.0.0 0.0.0.255 any-destination d-port 21

access-list 3110 deny any-source-mac 00-12-11-23-00-00 00-00-00-00-ff-ff icmp any-source

10.0.0.0 0.0.0.255

Switch #show access-group interface ethernet 1/10

interface name:Ethernet1/10

MAC-IP Ingress access-list used is 3110, traffic-statistics Disable.

Scenario 4:

The configuration requirement is stated as below: IPv6 protocol runs on the interface 600 of

the switch. And the IPv6 network address is 2003:1:1:1::0/64. Users in the 2003:1:1:1:66::0/80

subnet should be disabled from accessing the outside network.

Configuration description:

Create the corresponding access list.

Configure datagram filting.

Bind the ACL to the related interface.

The configuration steps are listed as below.

Switch(config)#ipv6 access-list 600 permit 2003:1:1:1:66::0/80 any-destination

Switch(config)#ipv6 access-list 600 deny 2003:1:1:1::0/64 any-destination

Switch(config)#firewall enable

Switch(config)#interface ethernet 1/10

Switch(Config-If-Ethernet1/10)#ipv6 access-group 600 in

Switch(Config-If-Ethernet1/10)#exit

Switch(config)#exit

Configuration result:

Advertising