switch(config)#interface f0/1(进入fastethernet0/1接口配置模式) switch(config-if)#switchport mode access(这步可以省略) switch(config-if)#switchport access vlan 2(把该接口划分到vlan2,记得vlan2之间有空格) switch(config-if)#no shutdown(激活端口) switch(config-if)#exit switch(config)#interface f...
Switch Virtual Interface (SVI) Configuration Example and Explanation 2. Port 以太网端口有三种链路类型:access、trunk、hybird Access类型端口:只能属于1个VLAN,一般用于连接计算机端口; Trunk类型端口:可以允许多个VLAN通过,可以接收和发送多个VLAN 报文,一般用于交换机与交换机的连接。 Hybrid类型端口:可以允许多个VLAN...
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...
Enter configuration commands,one per line.EndwithCNTL/Z.Switch(config)# ps: configure terminal意为配置终端,单词较长,可采用以下解决办法: tab键自动补全 简写成conf t 4.全局配置模式 代码语言:javascript 复制 特权用户模式下的命令提示符:(configure)+#Switch(config)#?Configure commands:access-list Add a...
no Negate a command or set its defaults fabric Fabric forwarding Fabric Forwarding Protocol: Host Mobility Manager (HMM) anycast-gateway-mac Anycast Gateway MAC of the Switch mac-addr MAC address Command Mode /exec/configure fabric forw...
Switch(config-if)# Console configuration To configure the console interface; from the directly connected console or the virtual terminal; used with Telnet. From global configuration mode, enter theline console 0command. Switch(config-line)#
Would you like to enable as a cluster command switch? [yes/no]:n The following configuration command script was created: hostname sw_internet enable secret 5 $1$Z5Ol$bCjpU9zVIY0H.LJzFeYe8/ enable password cisco line vty 0 15
switch#configt Enterconfigurationcommands,oneperline.EndwithCNTL/Z. switch(config)#switchnameswitchswitch(config)# switch(config)#interfacemgmt0 switch(config-if)#ipadress15switch(config-if)#noshutdown interfacemgmt0表示的是交换机的管理端口。 2.2.配置VSAN 接下来配置VSAN switch#configt switch(config)...
包括端口和 VLAN 的配置等。对于Cisco交换机,恢复出厂设置后,默认情况下,所有端口都将被禁用,除了Port0。这是因为Port0通常用于进行初始配置,可以通过Port0连接到交换机并使用命令行界面或其他管理工具进行交换机的基本配置。在初始配置完成后,可以将Port0重新配置为常规端口并进行常规网络交换操作。
the initial configuration dialog? [yes/no]:,输入 N,屏幕上出现 Switch>表示连接成 功,并处于命令操作方式下(称为命令行接口:CLI) ,用户的操作操作需在该 方式键入命令进行配置。 (2)、练习使用 ?查看命令 输入? 查看全部命令 Switch>? 查看过程中,按ESC 中止显示,回车继续显示 ...