WellingtonIS
asked on
Cisco 3850 switch
I'm having a heck of a time setting this up. Every time I reboot i lose the config. Now I'm trying to set up the web gui and I will not take it. I'm using the command:
user name ... What is the darn command to set a user name and password for the web gui on this switch???
user name ... What is the darn command to set a user name and password for the web gui on this switch???
ASKER
How can I setup the user name and password for the Web GUI from the console???
Are you saving the configuration copy run startup or write memory, if no the configuration will not be saved after reboot.
I recommend for Cisco switch to use the CLI better than the GUI and you can find everything on the network, there is no need for GUI, however if you prefer GUI, check if if you enabled HTTP or HTTP secure on the switch.
Show run | i http
if its enabled you should be able to telnet your switch to port 80 and 443 otherwise you need to open access if you have a firewall in between.
I recommend for Cisco switch to use the CLI better than the GUI and you can find everything on the network, there is no need for GUI, however if you prefer GUI, check if if you enabled HTTP or HTTP secure on the switch.
Show run | i http
if its enabled you should be able to telnet your switch to port 80 and 443 otherwise you need to open access if you have a firewall in between.
ASKER
OK I am doing that. The config is still not staying. I lose the IP each time. But I'm also trying to enable the web too. I can get to it I jsut can't login.
put:
show version
and check the configuration register and send it back
show version
and check the configuration register and send it back
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
OK that finally worked thanks. But now I'm still having the issue of the config file not saving. The problem I believe it configuration register is0x142 and it says it will change to 0x102 on the next reload. But it never does. I did do a password recovery
Add the following variables.
Switch: SWITCH_IGNORE_STARTUP_CFG= 1
Switch: SWITCH_DISABLE_PASSWORD_RE COVERY=0
Then boot the switch.
Switch: boot
Once the switch has booted you can copy the saved config back into the running config.
Switch# copy start run
But I put it back to 0
is there a way to check this?
Add the following variables.
Switch: SWITCH_IGNORE_STARTUP_CFG=
Switch: SWITCH_DISABLE_PASSWORD_RE
Then boot the switch.
Switch: boot
Once the switch has booted you can copy the saved config back into the running config.
Switch# copy start run
But I put it back to 0
is there a way to check this?
ASKER
OK I got it. this is what I had to do:
Switch: SWITCH_IGNORE_STARTUP_CFG= 1
Switch: SWITCH_DISABLE_PASSWORD_RE COVERY=0
Switch# no system ignore startupconfig switch all
Switch# system disable password recovery switch all
Switch: SWITCH_IGNORE_STARTUP_CFG=
Switch: SWITCH_DISABLE_PASSWORD_RE
Switch# no system ignore startupconfig switch all
Switch# system disable password recovery switch all
do a show run. at the bottem there will be a line like this
Configuration register is 0x102
when it's not 0x102 then go to config terminal and give the command
config-register 0x102
then write memory and reload youre switch.