两者一般只需要配置其中一个,如果两者同时配置时,只有使能密码生效. Switch.> /*用户直行模式提示符 Switch.>enable /*进入特权模式 Switch.# /*特权模式提示符 Switch.#configterminal /*进入配置模式 Switch.(config)# /*配置模式提示符 Switch.(config)# hostname Pconline /*设置主机名Pc
switch(config-if)# switchport trunk encapsulation {isl|dotlq} switch(config-if)# switchport trunk allowed vlan remove vlan-list switch(config-if)# switchport trunk allowed vlan add vlan-list 在基于CLI的交换机上配置VLAN中继线: switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiat...
switchxxxxxx(config)# security-suite enable global-rules-only switchxxxxxx(config)# interface gi1/0/1 switchxxxxxx(config-if)# security-suite deny fragmented add any /32 To perform this command, DoS Prevention must be enabled in the per-interface mode. security...
Enter configuration commands,one per line.EndwithCNTL/Z.Switch(config)# ps: configure terminal意为配置终端,单词较长,可采用以下解决办法: tab键自动补全 简写成conf t 4.全局配置模式 代码语言:javascript 代码运行次数:0 运行 AI代码解释 特权用户模式下的命令提示符:(configure)+#Switch(config)#?Configure...
Cisco IOS Basic CLI Configuration : Switch Port Command 1. Basic Switch>en Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface vlan 1 Switch(config-if)#ip address 192.168.1.200 255.255.255.0 ...
switchxxxxxx(config)#interface gi1/0/1switchxxxxxx(config-if)#green-ethernet energy-detect green-ethernet short-reach (global) Use thegreen-ethernet short-reachGlobal Configuration mode command to enable Green-Ethernet Short-Reach mode globally. Use thenoform of this command to disabled...
Switch(config)#no vlan 2 Switch(config)#do show vlan VLAN 中继协议 (VTP) 可简化交换网络中的管理。在一台 VTP 服务器上配置新的 VLAN 时,该 VLAN 将通过域中的所有交换机进行分发。这样可以减少在各处配置相同 VLAN 的需求。VTP 是一种 Cisco 专有协议,适用于大多数 Cisco Catalyst 系列产品。 当删...
switch#vlandatabase switch(vlan)#vlanvlan-numnamevla switch(vlan)#exit 在基于CLI的交换机上配置静态VLAN: switch(enable)setvlanvlan-num[namename] switch(enable)setvlanvlan-nummod-num/port-list 9.在基于IOS的交换机上配置VLAN中继线: switch(config)#interfaceinterfacemod/port ...
一.PC0通过console线连接交换机 一个用直接连接交换机 二.PC1通过Telnet远程登录交换机 1.PC1通过双绞线连接交换机 2.给主机设置IP地址 3.给交换机配置一个虚拟的管理接口 因为交换机是一个二层设备,是没有网络层的Ip地址,所以为了给交换机进行管理,所以要在交换机上设置一个interface vlan 1对交换机进行一个...
A shell script to run the command-line apps is in testbin/CmdLineExample.sh Usage information can be found in testbin/CmdLineReadMe Using meson Meson build definitions have been added, and are known to work on Linux and Windows, for x86 and x86 64-bit. See http://mesonbuild.com/Install...