Switch(config-if)#no switchport Switch(config-if)#ip address 10.20.1.1 255.255.255.0 Switch(config-if)#no shutdown Switch(config-if)#end Switch# Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#line vty 0 15 Switch(config-line)#login...
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. End with CNTL/Z. Switch(config)#interface fastethernet0/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport port-security Switch(config-if)#switchport port-security maximum 1 Switch(config-if)#switchport port-security mac-address 0060....
Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface fastethernet0/4 Switch(config-if# switchport mode trunk Switch(config-if# switchport trunk encapsulation dot1q Switch(config-if)# end ...
February 26, 2009 Chapter: Configuring the Switch Chapter Contents This chapter describes basic switch configuration functions. This chapter includes the following sections: Image Files on the Switch Upgrading the Switch Downgrading from a Higher Release Initial Configuration ...
Switch#configure terminal Enter configuration commands,one per line.EndwithCNTL/Z.Switch(config)# ps: configure terminal意为配置终端,单词较长,可采用以下解决办法: tab键自动补全 简写成conf t 4.全局配置模式 代码语言:javascript 代码运行次数:0
1. switch配置命令 (1)模式转换命令 用户模式---特权模式,使用命令"enable"特权模式---全局配置模式,使用命令"configt"全局配置模式---接口模式,使用命令"interface+接口类型+接口号"全局配置模式---线控模式,使用命令"line+接口类型+接口号"注:用户模式:查看初始化的信息.特权模式:查看所有信息、调试、保存配置...
mode, you can enter any EXEC command or access global configuration mode. Most EXEC commands are one-time commands, such asshowcommands, which display the current configuration status, andclearcommands, which reset counters or interfaces. The EXEC commands are not saved when the switch...
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#host Router(config)#hostname R1 R1(config)#int f1/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no shu R1(config-if)#exit R1(config)#int s2/0 ...
configure Enter configuration mode connect Open a terminal connection copy Copy from one file to another debug Debugging functions (see also 'undebug') delete Delete a file diagnostic Diagnostic commands dir List files on a filesystem disable Turn off privileged commands ...