Sample configuration for PC connected to VoIP phone

Example

Configuration commands to authenticate PCs connected to VoIP phones are compiled in the following section.

switch(config)#power-over-ethernet pre-std-detect ports A7
switch(config)#cdp mode pre-standard-voice
switch(config)#vlan 20 voice
switch(config)#device-identity name voip  cdp type voip-vlan-query value 512
switch(config)#aaa authentication port-access eap-radius
switch(config)#aaa port-access authenticator active
switch(config)#aaa port-access aaa port-access authenticator A7
switch(config)#aaa port-access authenticator A7 client-limit 2
switch(config)#device-profile name "legacy_phone"
switch(device-profile)#tagged-vlan 20
switch(device-profile)#mode client-mode
switch(device-profile)#exit
switch(config)#device-profile device-type "voip"
switch(device-voip)#associate "legacy_phone"
switch(device-voip)#enable
switch(device-voip)#exit
switch(config)#interface a7 disable
switch(config)#aaa port-access device-identity voip bypass A7
switch(config)#interface a7 enable