cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2361
Views
5
Helpful
11
Replies

Cisco Catalyst 2960L-24TS-LL switch: completely blank page after initial setup and software upgrade

Dwokfur
Level 1
Level 1

I tried Cisco Configuration Professional for Catalyst for the initial setup of a Cisco Catalyst 2960L-24TS-LL. I ended up falling back to the good old console and upgraded the software to c2960l-universalk9-mz.152-7.E. If I set authentication local for http, it rejects my credentials (working for console and ssh). If I disable authentication local, it accepts my secret, but it just displays a blank page. I don't expect too much from the web UI, but I'm curious about this symptom. Are there any remnants of Configuration Professional? Am I missing something necessary for the http page to display? The source of the page looks all right. The results are the same both for Firefox, Chrome or IE. The switch is otherwise functioning normally.

Are there any ideas what I should check out?

Thanks: Dw.

 

Source of the blank page:

<!--
Description: Library wiring of WebUI application
Copyright (c) 2016 by Cisco Systems, Inc.
All rights reserved.
-->
<!doctype html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
    <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        <script>
            var createCanvas = document.createElement("canvas");
            var canvascheck = (createCanvas.getContext) ? true : false;
            if (window.FormData == undefined || !canvascheck) {
                var msg = "The application is not supported in this browser\n\n";
                msg += "Supported Browsers are:\n\n";
                msg += "IE > 9\nGoogle Chorme >= 6\nMozilla >= 4\nSafari >= 11.1";
                alert(msg);
            }
            delete createCanvas;
        </script>
        <!-- Wire Bootstrap CSS -->
        <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css"/>

        <!-- Wire any Kendo theme from the below location. Here kendo bootstrap look is wired -->
        <link rel="stylesheet" href="lib/kendo/styles/kendo.common-bootstrap.min.css"/>
        <link rel="stylesheet" href="lib/kendo/styles/kendo.bootstrap.min.css"/>
        <link rel="stylesheet" href="lib/kendo/styles/kendo.dataviz.min.css"/>
        <link rel="stylesheet" href="lib/kendo/styles/kendo.dataviz.bootstrap.min.css"/>

        <!-- Wire icon font -->
        <link rel="stylesheet/less" href="resources/fonts/style.css"/>

        <!-- Wire Font Awesome CSS for icon fonts -->
        <link rel="stylesheet" href="lib/fontawesome/css/font-awesome.min.css">

        <!-- This is the custom CSS for WebUI -->

        <link rel="stylesheet/less" href="resources/styles/bootstrap_customization.css"/>
        <link rel="stylesheet/less" href="resources/styles/angular-wizard.css"/>
        <link rel="stylesheet/less" href="resources/styles/typography.css"/>
        <link rel="stylesheet/less" href="resources/styles/kendo_customization.css" />
        <link rel="stylesheet" href="utils/megamenu/css/style.css">
        <link rel="stylesheet/less" href="resources/styles/main.css"/>
        <link rel="stylesheet/less" href="features/common/switch/resource/switch.css"/>

        <!-- ng-cloak to wait until angular loads -->
        <style>
            [ng-cloak] {
                display: none !important;
            }
            div.busyLoadingContainer {
                display: none;
            }
            .busy div.busyLoadingContainer {
                position: fixed;
                width: 100%;
                height: 100%;
                background: #000;
                opacity: 0.5;
                filter: alpha(opacity=50);
                display: block;
                z-index: 99999;
                text-align: center;
            }
            div.busyLoadingContainer span.spinner {
                color: #fff;
                font-size: 60px;
                position: relative;
                top: 50%;
            }
        </style>
    </head>

    <!-- Declare the app -->
    <body ng-app="webUiDevApp" class="busy">
        <div class="busyLoadingContainer">
            <span class="spinner fa fa-spin fa-spinner"></span>
        </div>
        <div class="container main-container">
            <div class="row">
                <!-- Header-->
                <div ng-include="'utils/header/views/header.html'"></div>
                <div class="main">
                    <span id="notification"></span>
                    <!--Left Mega Menu-->
                    <div ng-include="'utils/megamenu/megaMenu/views/megaMenu.html'"></div>
                    <div ng-view="" class="webui-container">
                        <!-- The view is filled via routes -->
                    </div>
		    <!-- for online help-->
		    <div class="inlineHelpContainer">
			<span class="fa fa-close inlineHelpClose" onclick='angular.element("body").removeClass("inlineHelp")'></span>
			<iframe src="" width="100%" height="95%" id="inlineHelp"></iframe>
		    </div>
                </div>
            </div>
        </div>

        <!-- use the css class no-js on top to get the exact container width -->

        <!-- Scripts wired in Angular, D3, Boostrap -->

        <script src="resources/styles/variables.js"></script>
        <script src="lib/less/less.min.js"></script>
        <script src="lib/d3/d3.min.js"></script>
        <script src="lib/jquery/jquery.min.js"></script>
        <script src="lib/ang/angular.min.js"></script>
        <script src="lib/ang/angular-resource.min.js"></script>
        <script src="lib/ang/angular-cookies.min.js"></script>
        <script src="lib/ang/angular-sanitize.min.js"></script>
        <script src="lib/ang/angular-route.min.js"></script>
        <script src="lib/ang/ng-csv.min.js"></script>
        <script src="lib/kendo/js/kendo.all.min.js"></script>
        <script src="lib/kendo/js/kendo.angular.min.js"></script>
        <script src="lib/bootstrap/js/bootstrap.min.js"></script>
        <script src="lib/ngDraggable/ngDraggable.js"></script>
        <script src="lib/xml2json/xml2json.js"></script>
        <script src="utils/directives/angular-wizard.js"></script>	
        <script src="lib/lang/ja_lang.js"></script>
        <script src="lib/lang/ko_lang.js"></script>
        <script src="lib/lang/zh_lang.js"></script>
        <script src="lib/lang/scrypt.js"></script>
        <!-- Angular App, Controller and any other script wired here -->
        <script src="config.js"></script>
        <script src="version.js"></script>
        <script src="js/deviceCommunicator.js"></script>
        <script src="js/deviceCommunicatorCLI.js"></script>
        <script src="app.js"></script>
        <script src="utils/filters/translateFilter.js"></script>
        <script src="utils/directives/commonDirectives.js"></script>
        <!-- Add services here -->
        <script src="utils/services/commonServices.js"></script>
        <script src="utils/services/validationService.js"></script>
        <script src="features/portsConfig/portsConfDataService.js"></script>
        <script src="utils/services/datasourceService.js"></script>
        <script src="features/common/db/dashlet/DashletService.js"></script>
        <script src="features/stp/stpDataService.js"></script>
        <script src="features/common/switch/switchService.js"></script>
        <script src="features/common/stackConf/switchService.js"></script>
        <script src="utils/directives/addEditDirective.js"></script>
        <!-- Add Filters here -->
        <script src="utils/filters/customFilter.js"></script>
        <!--Add Controllers here-->
        <script src="utils/header/headerCtrl.js"></script>
        <script src="utils/megamenu/megaMenu/megaMenuCtrl.js"></script>
        <script src="utils/directives/toggleButtonDirective.js"></script>
        <script src="utils/directives/validationDirective.js"></script>
        <script src="features/common/db/dashlet/dashletDirectives.js"></script>
        <script src="features/common/db/cl/criticalLogController.js"></script>
        <script src="features/common/switch/switchController.js"></script>
        <script src="features/common/stackConf/switchController.js"></script>
        <script src="features/common/db/CPUMemory/CPUMemoryController.js"></script>
        <script src="features/common/db/sysInfo/systemInfoCtrl.js"></script>
        <script src="features/aaa/aaaService.js"></script>
        <script>
            angular.element(window).load(function() {
                angular.element("body.busy").removeClass("busy");
            });
        </script>
        <style parse-style>
		div[button-options~="{{'com_switch' | translate}},{{'portconfig_port_routed' | translate}}"] .toggle-slider
			{
			background-color: rgba(11, 132, 20, 0.73);
		}
    </body>
</html>
11 Replies 11

Jaderson Pessoa
VIP Alumni
VIP Alumni
Hello,

try it:
ip http authentication local
ip http secure-server

and clean cookie browse.
Jaderson Pessoa
*** Rate All Helpful Responses ***

If I set ip http authentication local, the switch doesn't let me in with the credentials I can use to login over ssh or for enable. I don't have clue from where it tries to verify the login data? If ip http authentication local is not set I can log in using the credentials. It loads a little and soon displays a blank page. In the mean time there is an actual content if I try to check out page source. Here are two links for screen capture videos to have a clue how it looks like. 1. Chrome: https://atoth.sote.hu/nextcloud/index.php/s/mC6B9qc88LAMo9k 2. Firefox: https://atoth.sote.hu/nextcloud/index.php/s/44EFL5RRrfFpfB9 Are there any clues what is happening here? How can I make the web interface's state clean? Where are the credentials for local web authentication? Thx: Dw.

Hello,

Could you share your running-config from ssh with us?

Thanks in advance.
Jaderson Pessoa
*** Rate All Helpful Responses ***

Current configuration : 10967 bytes ! ! Last configuration change at 11:40:19 CEST Sun Apr 14 2019 by admin ! NVRAM config last updated at 11:40:35 CEST Sun Apr 14 2019 by admin ! version 15.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname c2960l-24ts ! boot-start-marker boot-end-marker ! logging console emergencies enable secret 5 . ! username admin password 7 . no aaa new-model clock timezone CET 1 0 clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 2:00 ! ! no ip domain-lookup ip domain-name sote.hu ip name-server 192.160.172.6 ip name-server 193.6.209.38 vtp mode transparent ! location civic-location identifier 1 building CVC city Budapest country HU county BP primary-road-name "Gaal Jozsef ut" room "Szerver szoba" number 9 ! ! ! ! ! udld aggressive ! crypto pki trustpoint TP-self-signed-1900382720 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-1900382720 revocation-check none rsakeypair TP-self-signed-1900382720 ! ! crypto pki certificate chain TP-self-signed-1900382720 certificate self-signed 01 . quit ! spanning-tree mode rapid-pvst spanning-tree loopguard default spanning-tree extend system-id errdisable recovery cause link-flap errdisable recovery interval 60 ! ! vlan 9 ! ! ! ! ! macro global description cisco-global ! interface Bluetooth0 no ip address ip mtu 1514 shutdown ! interface Port-channel1 description uplink switchport mode trunk storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ! interface Port-channel2 description atoth switchport mode access storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ! interface Port-channel3 description paradise switchport mode access storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ! interface GigabitEthernet0/1 description raritan1 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/2 description raritan2 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/3 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/4 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/5 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/6 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/7 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/8 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/9 description apc switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/10 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/11 description bmc-paradise switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/12 description bmc-atoth switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/13 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/14 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/15 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/16 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/17 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/18 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/19 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/20 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable ! interface GigabitEthernet0/21 description paradise1 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable channel-group 3 mode active ! interface GigabitEthernet0/22 description paradise2 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable channel-group 3 mode active ! interface GigabitEthernet0/23 description atoth1 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable channel-group 2 mode active ! interface GigabitEthernet0/24 description atoth2 switchport mode access no cdp enable storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 spanning-tree portfast edge spanning-tree bpduguard enable channel-group 2 mode active ! interface GigabitEthernet0/25 description uplink4 switchport mode trunk storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ip dhcp snooping trust ! interface GigabitEthernet0/26 description uplink3 switchport mode trunk storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ip dhcp snooping trust ! interface GigabitEthernet0/27 description uplink2 switchport mode trunk storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ip dhcp snooping trust ! interface GigabitEthernet0/28 description uplink1 switchport mode trunk storm-control broadcast level 5.00 storm-control multicast level 5.00 storm-control unicast level 5.00 ip dhcp snooping trust ! interface Vlan1 ip address 10.97.100.133 255.255.252.0 no ip route-cache ! interface Vlan9 no ip address ! ip default-gateway 10.97.100.1 ip http server ip http secure-server ! ! ! snmp-server community usn RO snmp mib flash cache banner login ^C Dwokfur's Cisco Catalyst WS-C2960CG-8TC-L Upon any questions please call . (0*8057) ^C banner motd ^C Dwokfur's Cisco Catalyst WS-C2960CG-8TC-L Upon any questions please call . (0*8057) ^C ! line con 0 exec-timeout 0 0 length 50 speed 115200 line vty 0 4 password 7 . login local length 0 transport preferred ssh transport input ssh transport output ssh line vty 5 15 password 7 . login local length 0 transport preferred ssh transport input ssh transport output ssh ! ntp server 193.6.209.18 end

Could you try it?

crypto key generate rsa 1024
no ip http server
no ip http-secure server
ip http server
ip http login local

and test with internet explorer

http://10.97.100.133

and post result here.
Jaderson Pessoa
*** Rate All Helpful Responses ***

First command regenerated the RSA key. Second command switch of http, third command switch off https (there's a typo: instead of "no ip http-secure server" it's "no ip http secure-server"). OK. Switch back on http. Now the fifth command has a typo again: instead of "ip http login local" it accepts "ip http authenticatoin local". Now I can access the device only through http - port 80. I'm using IE as you requested: the device doesn't accept my credentials. Switching https back on and switching of authentication local brings me to the situation I've been before: it accepts my credentials and loads a little bit after showing a blank page only.

@Dwokfur  hello, 

 

username admin password 7  <<  what level of this user has?

 

run this command: username admin privilege 15 password xxxx

Jaderson Pessoa
*** Rate All Helpful Responses ***

The user is called admin, but must provide a password for enable. I've made those changes after the initial configuration, because I used to do this way before. I reverted it by the command you've requested. Now the user have privilege level 15 right after login and no need to specify a password for enable.

Regarding https access, things changed a bit without a solution. Now I can also login after I configured ip http authentication local. But it still displays a blank page.

You know on other c2960 switches I used before (2960c, 2960cx) - that were older - the https interface was less complex compared to this newer c2960l. Now I got the concept, that this may be a privilege issue.

Are there any other suggestion on how to move forward?

Thanks: Dw.

What tag I should use on this forum to mark config code block?

you can use ~REPLY~ not ~quick reply~

Jaderson Pessoa
*** Rate All Helpful Responses ***

Work for me. 

Thank You !