資源描述:
《華為交換機配置實例1》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
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