sy
sysname heixin
创建VLAN
vlan 2
description to sanL
vlan 3
description to DAP
vlan 4
description to AP
vlan 5
description to MJKQ
vlan 6
description yo ZL
vlan 8
description to 18
interface Vlanif1
ip address 1.1.1.1 255.255.255.0
interface Vlanif2
ip address 192.168.2.1 255.255.255.0
dhcp select global
interface Vlanif3
ip address 192.168.3.1 255.255.255.0
dhcp select global
interface Vlanif4
ip address 192.168.4.1 255.255.255.0
dhcp select global
interface Vlanif5
ip address 192.168.5.1 255.255.255.0
dhcp select global
interface Vlanif6
ip address 192.168.1.1 255.255.255.0
dhcp select global
interface Vlanif7
ip address 192.168.6.2 255.255.255.0
interface Vlanif8
ip address 192.168.8.1 255.255.255.0
dhcp select global
DHCP配置
dhcp enable
dhcp server database enable
ip pool vlan2
gateway-list 192.168.2.1
network 192.168.2.0 mask 255.255.255.0
excluded-ip-address 192.168.2.2 192.168.2.25
dns-list 211.137.130.3 221.11.1.67 221.11.1.68
ip pool vlan3
gateway-list 192.168.3.1
network 192.168.3.0 mask 255.255.255.0
dns-list 211.137.130.3 221.11.1.67 221.11.1.68
ip pool vlan4
gateway-list 192.168.4.1
network 192.168.4.0 mask 255.255.255.0
excluded-ip-address 192.168.4.2 192.168.4.15
dns-list 211.137.130.3 221.11.1.67 221.11.1.68
ip pool vlan5
gateway-list 192.168.5.1
network 192.168.5.0 mask 255.255.255.0
dns-list 211.137.130.3 221.11.1.67 221.11.1.68
ip pool vlan6
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
dns-list 211.137.130.3 221.11.1.67 221.11.1.68
ip pool vlan8
gateway-list 192.168.8.1
network 192.168.8.0 mask 255.255.255.0
dns-list 211.137.130.3 221.11.1.67 221.11.1.68
interface GigabitEthernet0/0/1
description to FW
arp learning multicast enable
port link-type access
port default vlan 7
Port-group DQHJ
Group-member dongqu 0/0/47 to gigabitethernet 0/0/48
description to
port link-type trunk
port trunk allow-pass vlan 2 to 8 1
Port-group XC
Group-member gigabitethernet 0/0/3 to gigabitethernet 0/0/7
port link-type access
port default vlan 2
Port-group XC1
Group-member gigabitethernet 0/0/30 to gigabitethernet 0/0/31
port link-type access
port default vlan 3
Port-group AP
Group-member gigabitethernet 0/0/12 to gigabitethernet 0/0/13
Group-member gigabitethernet 0/0/36 to gigabitethernet 0/0/37
port link-type access
port default vlan 4
Port-group MJ
Group-member gigabitethernet 0/0/14 to gigabitethernet 0/0/15
port link-type access
port default vlan 5
Port-group JK
Group-member gigabitethernet 0/0/16 to gigabitethernet 0/0/17
Group-member gigabitethernet 0/0/8 to gigabitethernet 0/0/9
port link-type access
port default vlan 6
Port-group FWQ
Group-member gigabitethernet 0/0/18 to gigabitethernet 0/0/28
port link-type access
port default vlan 2
Port-group ZHGL
Group-member gigabitethernet 0/0/32 to gigabitethernet 0/0/35
port link-type access
port default vlan 8
VLAN间不通信设置
acl 3030
rule 5 permit ip source 192.168.3.0 0.0.0.255 destination 192.168.2.0 0.0.0.255
rule 10 permit ip source 192.168.3.0 0.0.0.255 destination 192.168.4.0 0.0.0.255
traffic classifier CW
if-match acl 3030
traffic behavior CW
deny
traffic policy CW
classifier CW behavior CW
interface g0/0/10
traffic-policy CW inbound
MAC 绑定
arp static 192.168.2.1 08e8-4ffd-7933
arp static 192.168.2.254 98be-9443-b10a
arp static 192.168.2.253 98be-9443-ad72
默认路由
ip route-static 0.0.0.0 0.0.0.0 192.168.6.1
配置SSH
本地RSA密钥对
rsa local-key-pair create
2048
xie
aaa
local-user admin password cipher Admin@123
local-user admin service-type ssh telnet
local-user admin privilege level 7
user-interface vty 0 4
authentication-mode aaa
protocol inbound all
save
2025年S6720 核心交换配置实战
S6720 核心交换配置实战sy sysname heixin 创建 VLAN vlan 2 description to sanL vlan 3 description to DAP vlan 4 description to AP vlan 5 description to MJKQ vlan 6 description yo ZL vlan 8 description to 18
大家好,我是讯享网,很高兴认识大家。
2025年【最重要的 G 代码命令列表】
上一篇
2025-01-27 12:05
判断一个单词是否是回文(JavaScript实现)
下一篇
2025-04-08 22:23

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/24355.html