您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > H3C-E152B-配置模板-v10(含说明)
H3C-E152B-接入交换机-配置模板-v1.0说明:1.每台交换机需要手工配置的参数:黄色字体部分2.1-48口为用户口,50口为级联上联口3.老学生区:49口配置为与1-48口相同的用户口4.蓝旗营、荷清苑:49口配置为级联下联口(最后一台没有级联下联的交换机的49口需配置为与1-48口相同的用户口)5.使用console线复制粘贴时可能会丢配置命令,需要小段粘贴,并认真检查。Interfacerange命令只能逐条配置,不可复制粘贴#模板Sysname××××××#clocktimezonechinaadd08:00:00#superpasswordlevel3cipher××××××#ipv6ndsnoopingenableglobalipv6ndsnoopingenablelink-local#ipv6#telnetserverenable#port-securityenableport-securitytimerautolearnaging30//设置StickyMAC地址的老化时间为30分钟。#loopback-detectionenable//允许环路检测loopback-detectionmulti-port-modeenable//允许多端口环路检测#undoiphttpenable//关闭HTTP服务#mac-addresstimeraging200//MAC地址动态表项的老化时间为200秒#vlan1ipv6nddetectionenableipv6ndsnoopingenable#local-useradminpasswordcipher×××××××service-typetelnet#interfaceVlan-interface1ipaddress×××.×××.×××.×××255.255.×××.×××#interfacerange1/0/1toe1/0/48loopback-detectionenable//允许环路检测loopback-detectionactionshutdown//开启自动关闭环回端口功能mac-addressmax-mac-count4//端口可以学习的最大MAC地址数为4port-isolateenable//开启端口隔离ipverifysourceip-addressmac-address//配置IPv4动态绑定功能,绑定源IP地址和MAC地址ipv6verifysourceipv6-addressmac-address//配置IPv6动态绑定功能,绑定源IP地址和MAC地址#interfaceGigabitEthernet1/0/49(级联下联口,用于蓝旗营、荷清苑)loopback-detectionenableport-securitymax-mac-count1000port-securityport-modeautolearn//设置端口安全模式为autoLearnport-securitymac-addressdynamicport-isolateenable#interfaceGigabitEthernet1/0/50(comboenablefiber光纤连接需要配置此命令)//开启combo口的光口port-securitymax-mac-count1000port-securityport-modeautolearnport-securitymac-addressdynamicdhcp-snoopingtrust//开启为DHCP-Snooping的信任端口ipv6nddetectiontrust#dhcp-snooping#iproute-static0.0.0.00.0.0.0×××.×××.×××.×××#ntp-serviceunicast-server166.111.8.28#user-interfacevty015authentication-modescheme#save
本文标题:H3C-E152B-配置模板-v10(含说明)
链接地址:https://www.777doc.com/doc-2875405 .html