Cisco AIR-AP521G-A-K9 Configuration Guide - Page 128

Configuring Option 43 for Cisco 520 Series Access Points

Page 128 highlights

Configuring Option 43 for Cisco 520 Series Access Points Appendix A Configuring DHCP Option 43 for Cisco 520 Series Access Points Configuring Option 43 for Cisco 520 Series Access Points To configure DHCP Option 43 for Cisco 520 series access points in the embedded Cisco IOS DHCP server, follow these steps: Step 1 Step 2 Step 3 Step 4 Enter configuration mode at the Cisco IOS CLI. Create the DHCP pool, including the necessary parameters such as default router and name server. A DHCP scope example is as follows: ip dhcp pool network default-router dns-server Where: is the name of the DHCP pool, such as LAP521 is the network IP address where the controller resides, such as 10.0.15.1 is the subnet mask, such as 255.255.255.0 is the IP address of the default router, such as 10.0.0.1 is the IP address of the DNS server, such as 10.0.10.2 Add the option 60 line using the following syntax: option 60 ascii "VCI string" For the VCI string, use the value from Table A-1. The quotation marks must be included. Add the option 43 line using the following syntax: option 43 hex The hex string is assembled by concatenating the TLV values shown below: Type + Length + Value Type is always f1(hex). Length is the number of controller management IP addresses times 4 in hex. Value is the IP address of the controller listed sequentially in hex. For example, suppose that there are two controllers with GUI IP addresses 10.126.126.2 and 10.127.127.2. The type is f1(hex). The length is 2 * 4 = 8 = 08 (hex). The IP addresses translate to 0a7e7e02 and 0a7f7f02. Assembling the string then yields f1080a7e7e020a7f7f02. The resulting Cisco IOS command added to the DHCP scope is listed below: option 43 hex f1080a7e7e020a7f7f02 Cisco 500 Series Wireless Express Mobility Controller Configuration Guide A-2 OL-15283-01

  • 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
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144

A-2
Cisco 500 Series Wireless Express Mobility Controller Configuration Guide
OL-15283-01
Appendix A
Configuring DHCP Option 43 for Cisco 520 Series Access Points
Configuring Option 43 for Cisco 520 Series Access Points
Configuring Option 43 for Cisco 520 Series Access Points
To configure DHCP Option 43 for Cisco 520 series access points in the embedded Cisco IOS DHCP
server, follow these steps:
Step 1
Enter configuration mode at the Cisco IOS CLI.
Step 2
Create the DHCP pool, including the necessary parameters such as default router and name server. A
DHCP scope example is as follows:
ip dhcp pool
<pool name>
network
<IP Network> <Netmask>
default-router
<Default router>
dns-server
<DNS Server>
Where:
<pool name> is the name of the DHCP pool, such as LAP521
<IP Network> is the network IP address where the controller resides, such as 10.0.15.1
<Netmask> is the subnet mask, such as 255.255.255.0
<Default router> is the IP address of the default router, such as 10.0.0.1
<DNS Server> is the IP address of the DNS server, such as 10.0.10.2
Step 3
Add the option 60 line using the following syntax:
option 60 ascii “
VCI string
For the
VCI string
, use the value from
Table A-1
. The quotation marks must be included.
Step 4
Add the option 43 line using the following syntax:
option 43 hex
<
hex string
>
The
hex string
is assembled by concatenating the TLV values shown below:
Type
+
Length
+
Value
Type
is always
f1(hex)
.
Length
is the number of controller management IP addresses times 4 in hex.
Value
is the IP address of the controller listed sequentially in hex.
For example, suppose that there are two controllers with GUI IP addresses 10.126.126.2 and
10.127.127.2. The type is
f1(hex)
. The length is
2 * 4 = 8 = 08 (hex)
. The IP addresses translate to
0a7e7e02
and
0a7f7f02.
Assembling the string then yields
f1080a7e7e020a7f7f02
. The resulting Cisco
IOS command added to the DHCP scope is listed below:
option 43 hex f1080a7e7e020a7f7f02