HCIP第一次作业
2026/6/20 17:09:32 网站建设 项目流程

LSW1配置
vlan batch 2 3
interface GigabitEthernet 0/0/1
port link-type access
port default vlan 2
interface GigabitEthernet 0/0/2
port link-type access
port default vlan 3
interface GigabitEthernet 0/0/3
port link-type trunk
port trunk allow-pass vlan all
interface GigabitEthernet 0/0/4
port link-type trunk
port trunk allow-pass vlan all

LSW2配置
vlan batch 2 4
interface GigabitEthernet 0/0/1
port link-type access
port default vlan 2
interface GigabitEthernet 0/0/2
port link-type access
port default vlan 4
interface GigabitEthernet 0/0/3
port link-type trunk
port trunk allow-pass vlan all
interface GigabitEthernet 0/0/4
port link-type trunk
port trunk allow-pass vlan all

LSW3配置
vlan batch 5 6
interface GigabitEthernet 0/0/1
port link-type access
port default vlan 5
interface GigabitEthernet 0/0/2
port link-type access
port default vlan 6
interface GigabitEthernet 0/0/3
port link-type trunk
port trunk allow-pass vlan all

AR1配置
dhcp enableinterface GigabitEthernet 0/0/4.2
dot1q termination vid 2
ip address 192.168.2.1 255.255.255.0
arp broadcast enable


interface GigabitEthernet 0/0/4.3
dot1q termination vid 3
ip address 192.168.3.1 255.255.255.0
arp broadcast enable
interface GigabitEthernet 0/0/4.4
dot1q termination vid 4
ip address 192.168.4.1 255.255.255.0
arp broadcast enable
interface GigabitEthernet 0/0/4.5
dot1q termination vid 5
ip address 192.168.5.1 255.255.255.0
arp broadcast enable
interface GigabitEthernet 0/0/4.6
dot1q termination vid 6
ip address 192.168.6.1 255.255.255.0
arp broadcast enable
ip pool VLAN2
network 192.168.2.0 mask 255.255.255.0
gateway-list 192.168.2.1
dns-list 8.8.8.8 114.114.114.114

ip pool VLAN3
network 192.168.3.0 mask 255.255.255.0
gateway-list 192.168.3.1
dns-list 8.8.8.8 114.114.114.114
ip pool VLAN4
network 192.168.4.0 mask 255.255.255.0
gateway-list 192.168.4.1
dns-list 8.8.8.8 114.114.114.114
ip pool VLAN5
network 192.168.5.0 mask 255.255.255.0
gateway-list 192.168.5.1
dns-list 8.8.8.8 114.114.114.114
ip pool VLAN6
network 192.168.6.0 mask 255.255.255.0
gateway-list 192.168.6.1
dns-list 8.8.8.8 114.114.114.114
interface GigabitEthernet 0/0/4.2
dhcp select global
interface GigabitEthernet 0/0/4.3
dhcp select global
interface GigabitEthernet 0/0/4.4
dhcp select global
interface GigabitEthernet 0/0/4.5
dhcp select global
interface GigabitEthernet 0/0/4.6
dhcp select global
acl number 3000
rule 10 deny ip source 192.168.5.0 0.0.0.255 destination 192.168.6.0 0.0.0.255
rule 20 permit ip source 192.168.4.0 0.0.0.255 destination 192.168.5.0 0.0.0.255
rule 30 deny ip source 192.168.4.0 0.0.0.255 destination 192.168.6.0 0.0.0.255
rule 40 permit ip source 192.168.3.0 0.0.0.255 destination 192.168.4.0 0.0.0.255
rule 50 permit ip source 192.168.3.0 0.0.0.255 destination 192.168.5.0 0.0.0.255
rule 60 permit ip source 192.168.3.0 0.0.0.255 destination 192.168.6.0 0.0.0.255
rule 100 permit ip any any
interface GigabitEthernet 0/0/4.3
traffic-filter inbound acl 3000
interface GigabitEthernet 0/0/4.4
traffic-filter inbound acl 3000
interface GigabitEthernet 0/0/4.5
traffic-filter inbound acl 3000

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询