Switch(config)# interface gigabitethernet0/2 Switch(config-if)# no switchport Switch(config-if)# ip address 192.20.135.21 255.255.255.0 Switch(config-if)# no shutdown 配置VLAN configure terminal 进入配置状态 vlan vlan-id 输入一个VLAN号, 然后进入vlan配态,可以输入一个新的VLAN号或旧的来进行修改。
当系统从新启动以后,你进入交换机后模式的提示符就成为了“Switch>” 通过使用命令“Switch#show version”来查看现在的寄存器值是否修改成功。 Switch#show version ---看看是不是有下面这一行 Configuration register is 0x2142 此时交换机的配置为空,使用命令“Switch#show startup−config”查看曾经的配置。 此时...
当系统从新启动以后,你进入交换机后模式的提示符就成为了“Switch> ” 通过使用命令“Switch#show version”来查看现在的寄存器值是否修改成功。 Switch#show version ---看看是不是有下面这一行 Configuration register is 0x2142 此时交换机的配置为空,使用命令“Switch#show startupconfig”查看曾经的配置。 此时可...
You also need the console/enable passwords. If you forget the console and enable password of your switch, you cannot reset the switch configuration to factory default to reset the password. In this case, you need to do the steps in the password recovery procedure for your switch. Refer to ...
Switch(config)# interface range g1/0/2 - 3 Switch(config-if-range)# shutdown Switch(config-if-range)# switchport trunk encapsulation dot1q Switch(config-if-range)# switchport mode trunk Switch(config-if-range)# channel-group 5 mode active Switch(config-if-range)# no shutdown 註:請始終...
Racked it up, connected to console port with PuTTY, booted the switch. Went through the basic configuration script. When it was done, I tried to enter enable mode and found I couldn't - evidently, I fat-fingered the password. I don't care about the config that's on there now- it...
What is the enable password for this?... SWITCH1(config)#username mark privilege 15 password ? 0 Specifies an UNENCRYPTED password will follow 7 Specifies a HIDDEN password will follow LINE The UNENCRYPTED (cleartext) user password SWITCH1(config)#username mark privilege 15 secret ? 0 Specifies...
Switch>enable // 进入特权模式 Switch# Switch#erase startup-config // 擦除已经保存的配置 Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [OK] Erase of nvram: complete %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram ...
So you lost the password on your Cisco switch. Maybe the old administrator left or maybe you just haven’t used this switch in a while and don’t recall the password. No matter what the case, you need to change the password on the switch so you can create a new password. How do yo...
1. switch配置命令 (1)模式转换命令 用户模式---特权模式,使用命令"enable"特权模式---全局配置模式,使用命令"configt"全局配置模式---接口模式,使用命令"interface+接口类型+接口号"全局配置模式---线控模式,使用命令"line+接口类型+接口号"注:用户模式:查看初始化的信息.特权模式:查看所有信息、调试、保存配置...