How to config an IP address to a port in switch 4507R-E

Unanswered Question
Sep 2nd, 2010

I m very new to networking line. I have Cisco 4507R-E as core switch and i have connected to the console to do my intial setup. I have 1 24 port module at 1st slot. I would like to know how to config a IP address to the port? . I have 2 Cisco IP Phone connected to the switch. Need to set the IP for these two IP Phone and need to ping and try the connection. I need it very urgently.Thanks in advance

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
Jon Marshall Thu, 09/02/2010 - 03:09

ssnickson wrote:

I m very new to networking line. I have Cisco 4507R-E as core switch and i have connected to the console to do my intial setup. I have 1 24 port module at 1st slot. I would like to know how to config a IP address to the port? . I have 2 Cisco IP Phone connected to the switch. Need to set the IP for these two IP Phone and need to ping and try the connection. I need it very urgently.Thanks in advance

With a L3 switch you don't actually assign IP's to ports usually. What you do is to create a vlan and then assign the phones into that vlan so assuming your subnet for the vlan is 192.168.5.0/24

4500(config)# vlan 10

4500(config)# int vlan 10

4500(config-if)# ip address 192.168.5.1 255.255.255.0

4500(config)# no shut

then on the 2 ports for the ip phones -

int gi0/1

switchport

switchport mode access

switchport access vlan 10

spanning-tree portfast

then you allocate an IP address of the 192.168.5.0/24 network to each phone.

Jon

ssnickson Thu, 09/02/2010 - 23:28

Hi marshall,

THanks for your reply. I have tried the command you have advice

i can set the vlan but when i try to set the ip address for a particular port. I doest allow me to enter 0/1. it always says  % Invalid input detected at marker

and the marker is at 0. What could be the possible error

vragotha Thu, 09/02/2010 - 23:37

If the module is in slot 1, then try interface gig/fast 1/?

If the port is L2, then you cannot assign an IP address. Like  Jon mentioned, assign the port to a VLAN

ssnickson Thu, 09/02/2010 - 23:59

For

"If the module is in slot 1, then try interface gig/fast 1/?

If the port is L2, then you cannot assign an IP address. Like  Jon mentioned, assign the port to a VLAN"

The module is actually in slot 1

i tried using gi0/1 and fast0/1 but it still gives me the same error

when i try help with ?

under gi ?

it only show <1-7>

Jon Marshall Thu, 09/02/2010 - 23:42

ssnickson wrote:

Hi marshall,

THanks for your reply. I have tried the command you have advice

i can set the vlan but when i try to set the ip address for a particular port. I doest allow me to enter 0/1. it always says  % Invalid input detected at marker

and the marker is at 0. What could be the possible error

Why are you trying to assign an IP to the port ??

Assign an IP to the vlan interface as described and then assign IPs to the phones. If you assign an IP to the port this will not mean that the IP phone has that IP. You need to configure the actual phone with an IP or setup DHCP.

Jon

ssnickson Fri, 09/03/2010 - 00:06

Hi Marshall,

Meaning to say that ip phone IP address has to be within the VLAN IP range ?

ok my IP Phone Address are

10.10.12.3 and 10.10.12.2 (Default when we connect)

I set the VLAN as 10.10.12.0

So do i need to do anything on the IP Phone ?

or need to do setting in the switch?

Jon Marshall Fri, 09/03/2010 - 00:35

ssnickson wrote:

Hi Marshall,

Meaning to say that ip phone IP address has to be within the VLAN IP range ?

ok my IP Phone Address are

10.10.12.3 and 10.10.12.2 (Default when we connect)

I set the VLAN as 10.10.12.0

So do i need to do anything on the IP Phone ?

or need to do setting in the switch?

You don't need to config anything on a switch. You need to either config the phone itself to have a static IP or you need to seup DHCP so the phone can get an address. The phone should have interface that allows you to set the IP or tell it to use DHCP.

Jon

Actions

Login or Register to take actions

This Discussion

Posted September 2, 2010 at 2:57 AM
Stats:
Replies:8 Avg. Rating:
Views:5647 Votes:0
Shares:0
Tags: ip, phone, 4507
+

Related Content

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,725
4 7,083
5 6,742
Rank Username Points
165
82
69
65
55