Switch(config-if)#switchport access vlan 10 Switch(config-if)#exit Switch(config)#interface fastEthernet 0/2 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 10 Switch(config-if)
Switch#show vlan name VLAN0002 Switch(config)#no vlan 2 Switch(config)#do show vlan VLAN 中继协议 (VTP) 可简化交换网络中的管理。在一台 VTP 服务器上配置新的 VLAN 时,该 VLAN 将通过域中的所有交换机进行分发。这样可以减少在各处配置相同 VLAN 的需求。VTP 是一种 Cisco 专有协议,适用于大多数...
Switch(config)#vtp mode client //设置为client模式 Setting device to VTP CLIENT mode. Switch(config)#vtp domain lee //设置vtp域名为lee Changing VTP domain name from NULL to lee Switch(config)# 创建VLAN //在Multilayer Switch上 Switch#vlan database % Warning: It is recommended to configure VL...
Switch(config)#interface range fastEthernet 0/3-6 Switch(config-if-range)#switchport mode access Switch(config-if-range)#switchport access vlan 20 Switch(config-if-range)#exit Switch(config)#interface range fastEthernet 0/7-9 Switch(config-if-range)#switchport mode access Switch(config-if-range...
三层交换机开启路由功能的命令是:Switch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#no ip domain-loo Switch(config)#ip routing Switch(config)#int vlan Switch(config)#int vlan 10(这个是你的第一个VLAN)Switch(config-if)#ip add A...
Switch# Switch(config)#no vlan 2 // 删除vlan 2 将端口1-5划到VLAN 100中 Switch#configure terminal 进入全局配置模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int range fast0/1 - 5 选中端口, Switch(config-if-range)#switchport access vlan 100 划到vlan100...
Before you create VLANs, you must decide whether to use VLAN Trunking Protocol (VTP) to maintain global VLAN configuration for your network. The switch supports 1000 VLANs in VTP client, server, and transparent modes. Note On using the L...
switchxxxxxx#show vlanCreated by: S-Static, G-GVRP, R-Radius Assigned VLAN, V-Voice VLAN interface vlan Use theinterface vlanGlobal Configuration mode command to enter the Interface Configuration (VLAN) mode for a specific VLAN. After this command is entered, all commands configure this VLAN...
Switch#configure terminal Enter configuration commands,one per line.EndwithCNTL/Z.Switch(config)# ps: configure terminal意为配置终端,单词较长,可采用以下解决办法: tab键自动补全 简写成conf t 4.全局配置模式 代码语言:javascript 代码运行次数:0
因模拟软件无法实现VTP的功能,只能每台配置vlan 实验目的: pc1--pc4互通 pc2--pc3互通 sw1: Switch>en Switch#conf t Enter configuration commands, .e per line. End with CNTL/Z. Switch(config)#host sw1 sw1(config)#end sw1#vlan data