cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
0
Helpful
1
Replies

Auto smartports on 3750

Chester Rieman
Level 1
Level 1

Following this DOC:

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/116515-configure-autosmartports-00.html

c3750e-universalk9-mz.152-2.E.bin

It works fine for cisco phones, switches routers, but when I try to define a custom macro as shown in the example, it does not recognize an Avaya 1140E phone - it still applies the ciso phone macro to this.  The doc is not really clear about what exactly the trigger is for recognizing this phone.  Does anyone have this working for Avaya phones?

 

1 Reply 1

Chester Rieman
Level 1
Level 1

I managed to get it working - the phones are advertising themselves as Nortel-IP-Phone-2000-Series

macro auto trigger AVAYA_IP_PHONE
 profile Nortel-IP-Phone-2000-Series

macro auto execute AVAYA_IP_PHONE  {
 if [[ $LINKUP == YES ]]
  then conf t
  interface $INTERFACE
  macro description $TRIGGER
  description ***** AVAYA PHONE *****
  switchport access vlan 100
  switchport mode access
  switchport voice vlan 200
  exit
 fi
 if [[ $LINKUP == NO ]]
  then conf t
  interface $INTERFACE
  no macro description $TRIGGER
  no description ***** no more avaya phone *****
  no switchport access vlan 100
  no switchport mode access
  no switchport voice vlan 200
  exit
 fi       
 end
}

 

Review Cisco Networking products for a $25 gift card