欢迎大家光临【无师自通-教程网】您的到来是我们的荣幸。本站提供photoshop教程,ps教程,flash教程,cad教程,网页制作教程,excel教程,asp教程,vb教程,3d教程,c语言教程,html教程,coreldraw教程,dreamweaver教程,java教程,3dmax教程 等各种教程为主题的内容和服务,相信您会在这里找到您所需要的东东。无师自通伴您一生-谢谢您的光临!!
网站地图 设为首页
简繁切换 加入收藏
栏目待定 留言本站
您现在的位置: 无师自通-教程网 >> 网络原理 >> VLAN >> 教程正文

  没有公告

教程: VLAN-基础教程-CatOS下定义VLAN 更多...
教程: VLAN-基础教程-CatOS下定义VLAN


Step 1 Before you can create a VLAN, the switch must be in VTP server mode or VTP ansparent mode. If the switch is a VTP server, you must define a VTP domain name before you can add any VLANs. This has to be defined regardless of the number of switches in the network (one or many), or whether or not you will be using VTP to propagate VLANs to other switches in the network. For details on VTP, please refer to the Understanding and Configuring VLAN Trunk Protocol (VTP) document.

The default VTP configuration on the switch is as follows:

CatosSwitch> (enable) show vtp domain

Domain Name Domain Index VTP Version Local Mode Password

-------------------------------- ------------ ----------- ----------- ----------

1 2 server -

Vlan-count Max-vlan-storage Config Revision Notifications

---------- ---------------- --------------- -------------

5 1023 0 disabled

Last Updater V2 Mode Pruning PruneEligible on Vlans

--------------- -------- -------- -------------------------

0.0.0.0 disabled disabled 2-1000

Use the set vtp command to set the domain name and mode.

CatosSwitch> (enable) set vtp domain ?

Domain name

CatosSwitch> (enable) set vtp domain cisco ?

mode Set VTP mode

passwd Set VTP password

pruning Set VTP pruning

v2 Set VTP version 2

CatosSwitch> (enable) set vtp domain cisco mode ?

client VTP client mode

server VTP server mode

ansparent VTP ansparent mode

CatosSwitch> (enable) set vtp domain cisco mode server

VTP domain cisco modified

Step 2 Verify VTP configuration by using the show vtp domain command.

CatosSwitch> (enable) show vtp domain

Domain Name Domain Index VTP Version Local Mode Password

-------------------------------- ------------ ----------- ----------- ----------

cisco 1 2 server -

Vlan-count Max-vlan-storage Config Revision Notifications

---------- ---------------- --------------- -------------

5 1023 1 disabled

Last Updater V2 Mode Pruning PruneEligible on Vlans

--------------- -------- -------- -------------------------

0.0.0.0 disabled disabled 2-1000

If you have the output of a show vtp domain command from your Cisco device, you can use Output Interpreter to display potential issues and fixes. To use Output Interpreter , you must be a registered user, be logged in, and have JavaScript enabled.

Step 3 Once the VTP domain has been set and verified, you can begin to create VLANs on the switch. By default, there is only a single VLAN for all ports, and this VLAN is called the default. VLAN1 cannot be renamed or deleted.

You can use the show vlan command to display the parameters for all configured VLANs in the adminisative domain, as shown below:

CatosSwitch> (enable) show vlan

VLAN Name Status IfIndex Mod/Ports, Vlans

---- -------------------------------- --------- ------- ------------------------

1 default active 5 1/1-2

3/1-48

4/1-16

1002 fddi-default active 6

1003 token-ring-default active 9

1004 fddinet-default active 7

1005 net-default active 8

VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------

1 enet 100001 1500 - - - - - 0 0

1002 fddi 101002 1500 - - - - - 0 0

1003 crf 101003 1500 - - - - - 0 0

1004 fdnet 101004 1500 - - - - - 0 0

1005 brf 101005 1500 - - - ibm - 0 0

VLAN DynCreated RSPAN

---- ---------- --------

1 static disabled

1002 static disabled

1003 static disabled

1004 static disabled

1005 static disabled

VLAN AREHops STEHops Backup CRF 1q VLAN

---- ------- ------- ---------- -------

1003 7 7 off

[1] [2] [3] 下一页

教程录入:admin    责任编辑:admin 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
     
     
     
     

    教程: IPV6教程-基础-TCP/IP网络…

    教程: IPV6教程-基础-IPv6解决方…

    教程: HUB-基础教程-集线器(HUB)…

    教程: VLAN-基础教程-经典配置 V…

    教程: TCP/IP教程-基础-广播和多…

    教程: TCP/IP教程-基础-IGMP(Int…
    免责声明!本站资料大部分来自于互联网,其版权归原作者或其他合法者所有.如内容涉及或侵犯了您的权益,请通知本人,我将尽快处理!.欢迎您的光临。
    辽ICP备07003958号
    无师自通,伴你一生-教程网