欢迎来到天天文库
浏览记录
ID:42770555
大小:50.50 KB
页数:6页
时间:2019-09-22
《交换机配置详解》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Discur#version5.20,Release6105版本号#sysnameJTYBG7503交换机名#domaindefaultenablesystem#telnetserverenabletelnet服务已开启#link-aggregationgroup1modemanual端口聚合组1-9链接到不同楼层交换机link-aggregationgroup2modemanuallink-aggregationgroup3modemanuallink-aggregationgroup4mod
2、emanuallink-aggregationgroup5modemanuallink-aggregationgroup6modemanuallink-aggregationgroup7modemanuallink-aggregationgroup8modemanuallink-aggregationgroup9modemanual#Gvrpvlan信息传递服务#mirroring-group1remote-source远程端口镜像(监测功能)mirroring-group1remote-pro
3、bevlan20#switch-modestandard-routing交换模式(标准路由)#vlan1#vlan2descriptionManageVlandescription后面跟的是vlan描述信息#vlan3descriptionServerVlan#vlan4descriptionBG-NO-SERVERVlan#vlan5descriptionBG-SERVERVlan#vlan6descriptionOther#vlan7descriptionIDSVlan#vlan8descr
4、iptionCanyinDiandanVlan#vlan9descriptionZongjian#vlan20#domainsystemaccess-limitdisablestateactiveidle-cutdisableself-service-urldisabledomaintelnetaccess-limitdisablestateactiveidle-cutdisableself-service-urldisable#trafficclassifieracl_vlan6operato
5、randvlan6(90段)使用acl3000控制列表if-matchacl3000#trafficbehavioracl_vlan6qospolicyacl_vlan6classifieracl_vlan6behavioracl_vlan6#dhcpserverip-pooljtyfbnetwork10.152.92.0mask255.255.255.0gateway-list10.152.92.1#local-userjtyitpasswordcipher1L,]!J4CDNOQ=^Q`MA
6、F4<1!!service-typetelnetterminallevel3#aclnumber3000acl3000访问控制列表rule0denyipsource10.152.90.00.0.0.255destination10.152.87.00.0.0.255规则0禁止ip(协议)源IP为90段访问目标为87段rule5denyipsource10.152.90.00.0.0.255destination10.152.88.00.0.0.255rule10denyipsource10.15
7、2.90.00.0.0.255destination10.152.89.00.0.0.255rule15denyipsource10.152.90.00.0.0.255destination10.152.91.00.0.0.255rule20denyipsource10.152.90.00.0.0.255destination10.152.92.00.0.0.255rule25denyipsource10.152.90.00.0.0.255destination10.152.93.00.0.0.
8、255#stpinstance0rootprimary生成树(阻止二层环路协议)stpinstance1rootprimarystpenablestpregion-configurationregion-nameJTYrevision-level1instance1vlan1to10activeregion-configuration#interfaceNULL0#interfaceVlan-interface2每个vlan的网关ipaddress192.168.200.2255.255.255
此文档下载收益归作者所有