01-30-2012 07:21 AM - edited 03-07-2019 04:38 AM
I was able to access and assugn an IP address to it but I cannot ping it neither access the command prompt to configure it. I will appreciate any help.
Thanks.
Solved! Go to Solution.
01-30-2012 01:14 PM
I will presume that your switch does not have any config ...
conf t
interface vlan 1
no shutdown
ip address 1.1.1.1 255.255.255.0
exit
int g1/0/1
spanning portfast
switchport access vlan 1
end
Your PC should have an IP address between 1.1.1.2 to 1.1.1.254 with a subnet mask of 255.255.255.0.
Disable any firewall to your PC and try to see if the PC can ping 1.1.1.1 and the switch can ping the IP address to your switch.
Make sure you plug your PC into Gig port 1/0/1 and not the management Fast0 port.
If you connect the PC to the management Fast0 then the configuration will need to change to the following:
conf t
int f0
no shutdown
spanning portf
ip address 1.1.1.1 255.255.255.0
end
01-30-2012 01:14 PM
I will presume that your switch does not have any config ...
conf t
interface vlan 1
no shutdown
ip address 1.1.1.1 255.255.255.0
exit
int g1/0/1
spanning portfast
switchport access vlan 1
end
Your PC should have an IP address between 1.1.1.2 to 1.1.1.254 with a subnet mask of 255.255.255.0.
Disable any firewall to your PC and try to see if the PC can ping 1.1.1.1 and the switch can ping the IP address to your switch.
Make sure you plug your PC into Gig port 1/0/1 and not the management Fast0 port.
If you connect the PC to the management Fast0 then the configuration will need to change to the following:
conf t
int f0
no shutdown
spanning portf
ip address 1.1.1.1 255.255.255.0
end
02-02-2012 01:28 PM
Thanx a lot Leolaohoo, that helped a lot in solving my issue.
Regards.
02-02-2012 02:05 PM
Glad to be of assistance.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide