Cisco SPA901-UK Provisioning Guide - Page 68

Unique Profiles and Macro Expansion, Exercise, Submit All Changes

Page 68 highlights

Provisioning Tutorial Basic Resync 3 Unique Profiles and Macro Expansion In a large deployment, each IP Telephony Device needs to be configured with distinct values for specific parameters, such as User_ID or Display_Name. To meet this requirement, the service provider must generate distinct profiles, one for each deployed device. Each IP Telephony Device, in turn, must be configured to resync to its own profile, according to some predetermined profile naming convention. The profile URL syntax can include identifying information specific to each IP Telephony Device (such as MAC address and serial number) via macro expansion of built-in variables. This eliminates the need to specify these values within each profile. The profile rule undergoes macro expansion internally before being applied. The macro expansion understands a number of values including the following: • $MA expands to the unit MAC address, using lower case hex digits (for example, 000e08abcdef) • $SN expands to the unit Serial Number (for example, 88012BA01234) Exercise STEP 1 Obtain the MAC address of the test IP Telephony Device from its product label. This is a 12-digit number, using numbers and lower-case hex digits, such as 000e08aabbcc. STEP 2 Copy the basic.txt configuration file to a new file named spa_mac_address.cfg and place the new file in the virtual root directory of the TFTP server. Replace mac_address with the actual MAC address of the IP Telephony Device. STEP 3 Open the admin/advanced page Provisioning tab. STEP 4 Enter the following value in the Profile_Rule parameter: tftp://192.168.1.200/spa$MA.cfg STEP 5 Click Submit All Changes. This causes an immediate reboot and resync. When the next resync occurs, the IP Telephony Device retrieves the new file by expanding the $MA macro expression into its own MAC address. Cisco Small Business IP Telephony Devices Provisioning Guide 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114

Provisioning Tutorial
Basic Resync
Cisco Small Business IP Telephony Devices Provisioning Guide
67
3
Unique Profiles and Macro Expansion
In a large deployment, each IP Telephony Device needs to be configured with
distinct values for specific parameters, such as User_ID or Display_Name. To meet
this requirement, the service provider must generate distinct profiles, one for each
deployed device. Each IP Telephony Device, in turn, must be configured to resync
to its own profile, according to some predetermined profile naming convention.
The profile URL syntax can include identifying information specific to each IP
Telephony Device (such as MAC address and serial number) via macro expansion
of built-in variables. This eliminates the need to specify these values within each
profile.
The profile rule undergoes macro expansion internally before being applied. The
macro expansion understands a number of values including the following:
$MA expands to the unit MAC address, using lower case hex digits (for
example, 000e08abcdef)
$SN expands to the unit Serial Number (for example, 88012BA01234)
Exercise
STEP 1
Obtain the MAC address of the test IP Telephony Device from its product label.
This is a 12-digit number, using numbers and lower–case hex digits, such as
000e08aabbcc.
STEP
2
Copy the
basic.txt
configuration file to a new file named
spa_
mac_address
.cfg
and place the new file in the virtual root directory of the
TFTP server.
Replace
mac_address
with the actual MAC address of the IP Telephony Device.
STEP
3
Open the admin/advanced page Provisioning tab.
STEP
4
Enter the following value in the Profile_Rule parameter:
STEP
5
Click
Submit All Changes
.
This causes an immediate reboot and resync.
When the next resync occurs, the IP Telephony Device retrieves the new file by
expanding the $MA macro expression into its own MAC address.