11-05-2024 02:22 AM
Hallo,
I have a Catalyst 1300 that I want to use as an access switch for some telephones and APs. I have followed the config guide but the telephone is not getting an IP address from our DHCP server. The voice vlan has been set and the interface configured as below:
Test-999CI1300#sh voice vlan
Administrate Voice VLAN state is auto-enabled
Operational Voice VLAN state is auto-enabled
Best Local Voice VLAN-ID is 251
Best Local VPT is 5 (default)
Best Local DSCP is 46 (default)
Agreed Voice VLAN is received from switch 84:5a:3e:90:1f:62
Agreed Voice VLAN priority is 0 (active static source)
Agreed Voice VLAN-ID is 251
Agreed VPT is 5
Agreed DSCP is 46
Agreed Voice VLAN Last Change is 24-Oct-24 00:05:17
Test-999CI1300#sh run int g1
interface GigabitEthernet1
spanning-tree portfast
switchport access vlan 251
!
Test-999CI1300#ping 172.x.x.x ---------------------> ping to the distribution switch where voice SVI is works
Pinging 172.x.x.x with 18 bytes of data:
18 bytes from 172.x.x.x: icmp_seq=1. time=0 ms
18 bytes from 172.x.x.x: icmp_seq=2. time=0 ms
18 bytes from 172.x.x.x: icmp_seq=3. time=0 ms
18 bytes from 172.x.x.x: icmp_seq=4. time=0 ms
----172.x.x.x PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
Could I be missing any config? I'll appreciate your input.
11-05-2024 03:25 AM
Have you set the IP helper on the VLAN interface?
11-05-2024 04:06 AM
Hallo @Roger Kallberg. That is already configured on the ISR1100 router and the voice vlan to the dhcp and it can be pinged.
11-05-2024 04:26 AM - edited 11-05-2024 04:26 AM
Please share your running configuration so that we can verify it.
11-05-2024 04:47 AM
You have only configured switchport access vlan 251
, but for the phone to get an IP from the voice VLAN, you need the command switchport voice vlan 251
. I’m not sure how to configure that on the C1300, but this is how it works on other Cisco models.
11-05-2024 05:07 AM - edited 11-05-2024 05:07 AM
@Nithin Eluvathingal C1300 configs are different, so that is for any other switch but the C1200 and C1300
@Roger Kallberg Here are the configs:
Test-999CI1300#sh run
config-file-header
Test-999CI1300
v4.0.0.93 / RLSB4.0HF_950_778_052
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink none
unit-type-control-end
!
udld aggressive
spanning-tree mode rapid-pvst
vlan database
vlan 100,251,300,804-806
exit
voice vlan id 251
voice vlan state auto-enabled
voice vlan oui-table add 0001e3 Siemens_AG_phone
voice vlan oui-table add 00036b Cisco_phone
voice vlan oui-table add 00096e Avaya
voice vlan oui-table add 000fe2 H3C_Aolynk
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone
voice vlan oui-table add 00e075 Polycom/Veritel_phone
voice vlan oui-table add 00e0bb 3Com_phone
errdisable recovery cause loopback-detection
errdisable recovery cause udld
errdisable recovery cause storm-control
bonjour interface range vlan 1
hostname Test-999CI1300
aaa authentication login tacacs local
!
ip http timeout-policy 300
ip https logging enable
no ip domain lookup
ip domain name abcTest
!
interface vlan 100
name INTRANET
!
interface vlan 251
name VOICE
!
interface vlan 300
name WLAN
!
interface vlan 804
name GLT
!
interface vlan 805
name MGMT
ip address 172.x.x.x
no ip proxy-arp
!
interface vlan 806
name AP-MGMT
!
interface GigabitEthernet1
spanning-tree portfast
switchport access vlan 251
!
interface GigabitEthernet17
switchport mode trunk
switchport trunk native vlan 806
switchport trunk allowed vlan 300,806
!
-------------truncated-------------
!
interface GigabitEthernet24
switchport mode trunk
switchport trunk allowed vlan 100,251,300,804-806
!
interface GigabitEthernet25
shutdown
!
-------------truncated-------------
!
interface Port-Channel1
shutdown
!
-------------truncated-------------
!
exit
ip dhcp snooping
ip dhcp snooping vlan 100
ip dhcp snooping vlan 251
ip dhcp snooping vlan 300
ip dhcp snooping vlan 806
ip default-gateway 172.30.x.x
Test-999CI1300#
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