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

Page 292

Advertising
background image

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

278

Switch#show firewall

Firewall Status: Enable.

Firewall Default Rule: Permit.

Switch#show ipv6 access-lists

Ipv6 access-list 600(used 1 time(s))

ipv6 access-list 600 deny 2003:1:1:1::0/64 any-source

ipv6 access-list 600 permit 2003:1:1:1:66::0/80 any-source

Switch #show access-group interface ethernet 1/10

interface name:Ethernet1/10

IPv6 Ingress access-list used is 600, traffic-statistics Disable.

Scenario 5:

The configuration requirement is stated as below: The interface 1, 2, 5, 7 belongs to vlan100,

Hosts with 192.168.0.1 as its IP address should be disabled from accessing the listed

interfaces.

Configuration description:

Create the corresponding access list.

Configure datagram filtering.

Bind the ACL to the related interface.

The configuration steps are listed as below.

Switch (config)#firewall enable

Switch (config)#vlan 100

Switch (Config-Vlan100)#switchport interface ethernet 1/1;2;5;7

Switch (Config-Vlan100)#exit

Switch (config)#access-list 1 deny host-source 192.168.0.1

Switch (config)#interface ethernet1/1;2;5;7

Switch (config-if-port-range)#ip access-group 1 in

Switch (Config-if-Vlan100)#exit

Configuration result:

Switch (config)#show access-group interface vlan 100

Interface VLAN 100:

Ethernet1/1: IP Ingress access-list used is 1, traffic-statistics Disable.

Ethernet1/2: IP Ingress access-list used is 1, traffic-statistics Disable.

Ethernet1/5: IP Ingress access-list used is 1, traffic-statistics Disable.

Ethernet1/7: IP Ingress access-list used is 1, traffic-statistics Disable.

Advertising