cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1711
Views
5
Helpful
8
Replies

Configuring 2955 http and telnet

josepss
Level 1
Level 1

I have one 2955 Switch out of the box and need to configure http to connect from the web browser and need also telnet. I followed the manual for configuring, setting the passwords and setting ip server http for instance, but doesn't work.

Could somebody help me?.

Thanks.

8 Replies 8

thisisshanky
Level 11
Level 11

I assume you are still using vlan 1. TO start with

a. you will configure vlan 1 interface with an ip address of your choice. (192.168.1.1/24)

int vlan 1

ip add 192.168.1.1 255.255.255.0

b. Configure (say) port 1 into vlan 1 -

int fa0/1

switchport access vlan 1

switchport mode access

spanning-tree portfast

c. Put your PC to access this switch in port 1. Configure IP 192.168.1.2/24 for your PC.

d. To enable HTTP web server on the switch

Switch(config)#ip http server

Switch(config)#ip http authentication local

Switch(config)#username josepss password cisco

e. To enable telnet (login using username configured above)

Switch(config)#line vty 0 4

Switch(config-line)#login local

Hope that helps!

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

Hi! I wrote these instructions but don't work. This switch is connected to the other switches in the ethernet and have to be available to connect with http or telnet from anywhere inside the network and not only from one specific port.

Thanks for your help and if there is any other idea will be wellcome.

Please post the configuration of the switch here and I'll help you get it working. Also, if possible give the IP subnet(s) of the rest of your network.

Thanks for your reply. Here it is the configuration for the switch. I have a 193.148.197.0/24

(254 hosts) network.

The current configuration, after some trials, is:

CIM_EGR_SW1#sh running-conf

Building configuration...

Current configuration : 1532 bytes

!

version 12.1

no service single-slot-reload-enable

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname CIM_EGR_SW1

!

enable password xxxxx

!

username xxxx password xxxx

ip subnet-zero

!

!

alarm profile defaultPort

!

alarm facility temperature primary relay major

alarm facility temperature primary syslog

alarm facility temperature primary notifies

spanning-tree extend system-id

!

!

interface FastEthernet0/1

switchport mode access

no ip address

!

interface FastEthernet0/2

no ip address

!

interface FastEthernet0/3

no ip address

!

interface FastEthernet0/4

no ip address

!

interface FastEthernet0/5

no ip address

!

interface FastEthernet0/6

no ip address

!

interface FastEthernet0/7

no ip address

!

interface FastEthernet0/8

switchport mode access

no ip address

!

interface FastEthernet0/9

no ip address

!

interface FastEthernet0/10

no ip address

!

interface FastEthernet0/11

no ip address

!

interface FastEthernet0/12

no ip address

!

interface GigabitEthernet0/1

no ip address

!

interface GigabitEthernet0/2

no ip address

!

!

ip address 193.148.197.10 255.255.255.0

no ip route-cache

shutdown

!

ip default-gateway 193.148.197.1

ip http server

ip http authentication local

!

snmp-server engineID local xxxxx

snmp-server community xxxx

snmp-server community xxxx

!

line con 0

password xxxx

line vty 0 4

password xxxx

login local

line vty 5 15

password xxxx

login

!

end

Are you able to access the switch's web page from a PC directly connected to this switch ? Are you able to ping from the PC to this switch ?

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

No,I am not able to connect from one port of the same switch.And the ping from the console doen't see any IP on the network

p-dolbow
Level 1
Level 1

You have the interface shutdown (this is the default) after you create a new interface. You have to bring it up by issuing a "no shutdown" command.

ip address 193.148.197.10 255.255.255.0

no ip route-cache

shutdown <-------------

Do a "no shutdown" on this interface and try it again.

-=Phil=-

Thank you very much for your help. Now I can connect to the switch by http and telnet and the problem is solved.

Review Cisco Networking for a $25 gift card