欢迎来到天天文库
浏览记录
ID:41382494
大小:74.19 KB
页数:7页
时间:2019-08-23
《华为交换机配置实例1》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、discurr在userview下显示交换机配置详情#sysnameQuidway#vlanbatch1100200此行可得知此交换机划分冇3个Vian#bpduenable#clusterenablentdpenablentdphop16ndpenable#voice-vlanmac-address0001-e300-0000maskffff-ffOO-OOOOdescriptionSimensphonevoice-vlanmac-address0003-6b00-0000maskffff-ffOO-OOOOdescriptionCiscophonevoice-vl
2、anmac・address0004-0d00-0000maskffff-ffOO-OOOOdescriptionAvayaphonevoice-vlanmac-address0060-b900-0000maskffff-ffOO-OOOOdescriptionPhilips/NECphonevoice-vlanmac-addressOOdO-leOO-OOOOmaskffff-ffOO-OOOOdescriptionPingtelphonevoice-vlanmac-address00e0-7500-0000maskffff-ffOO-OOOOdescriptionPolycompho
3、nevoice-vlanmac-addressOOeO-bbOO-OOOOmaskffff-ffOO-OOOOdescription3comphone#interfaceVian讦1ETH端口详情此行表示端口模式为access此行表示端口1的默认Vlan是100,以下类推#interfaceEthernetO/O/1portlink-typeaccessportdefaultvlan100ntdpenablendpenable#interfaceEthernetO/O/2portlink-typeaccessportdefaultvlan100ntdpenablendpenable#i
4、nterfaceEthernetO/O/3portlink-typeaccessportdefaultvlan100ntdpenablendpenable#interfaceEthernetO/O/4portlink-typeaccessportdefaultvlan100ntdpenablendpenable#interfaceEthernetO/O/5portlink-typeaccessportdefaultvlan200ntdpenablendpenable#interfaceEthernetO/O/6portlink-typeaccessportdefaultvlan200n
5、tdpenablendpenable#interfaceEthernetO/O/7portlink-typeaccessportdefaultvlan200ntdpenablendpenable#interfaceEthernetO/O/8portlink-typeaccessportdefaultvlan200ntdpenablendpenable#interfaceGigabitEthernetO/0/1GE丨1详情portlink-typetrunk此行表示GELI模式为trunkporttrunkallow-passvlan100200GE口允许通过的Vlan为100和200n
6、tdpenablendpenable#interfaceNULL0#aaaauthentication-schemedefault#authorization-schemedefault#accounting-schemedefault#domaindefault##user-interfacecon0user-interfacevty04#Return通过观察配置文件我们可以得知:此交换机配置有3个VLan,分别为1、100、200,Vian之间不互通。VlanlOO下辖端口为ETH的1到4口Vlan200下辖端口为ETH的5到8口GE口的模式为trunk,且只能通itVlanlOO
7、和Vlan200此次实例需要操作的是:删除VlanlOO和Vlan200。修改GE口为access模式取消GE口的Vian通过限制以下为实际操作:sys进入systemviewEntersystemview,returnuserviewwithCtrl+Z・[QuidwayjinterfaceGigabitEthernet0/0/1进入GEII[Quidway-GigabitEthernetO/0/l]undoporttrun
此文档下载收益归作者所有