beautypg.com

Configuring acs attributes, Configuring the preferred acs attributes, Assigning acs attributes from the dhcp server – H3C Technologies H3C S6300 Series Switches User Manual

Page 222

background image

209

Configuring ACS attributes

You can configure two sets of ACS attributes for the CPE: preferred and default.

The preferred ACS attributes are configurable from the CPE's CLI, the DHCP server, and ACS. For
an attribute, the CLI- and ACS-assigned values have higher priority than the DHCP-assigned value.

The CLI- and ACS-assigned values overwrite each other.

The default ACS attributes are configurable only from the CLI.

The CPE uses the default ACS attributes for connection establishment only when it is not assigned a

preferred ACS URL from the CLI, ACS, or DHCP server.

Configuring the preferred ACS attributes

Assigning ACS attributes from the DHCP server

You can use DHCP option 43 to assign the ACS URL and ACS login authentication username and

password.
If the DHCP server is an H3C device, you can configure DHCP option 43 by using the option 43 hex

01length URL username password command.

length—A hexadecimal number that indicates the total length of the length, URL, username, and
password arguments, including the spaces between these arguments. No space is allowed

between the 01 keyword and the length value.

URL—ACS URL.

username—Username for the CPE to authenticate to the ACS.

password—Password for the CPE to authenticate to the ACS.

NOTE:

The ACS URL, username and password must use the hexadecimal format and be space separated.

The following example configures the ACS address as http://169.254.76.31:7547/acs, username as

1234, and password as 5678:

system-view

[Sysname] dhcp server ip-pool 0

[Sysname-dhcp-pool-0] option 43 hex

0127687474703A2F2F3136392E3235342E37362E33313A373534372F61637320313233342035363738

Table 24 Hexadecimal forms of the ACS attributes

Attribute Attribute

value

Hexadecimal form

Length 39

characters 27

ACS URL

http://169.254.76.31/
acs

687474703A2F2F3136392E3235342E37362E33313A3
73534372F61637320

NOTE:

The two ending digits (20) represent the space.

ACS connect
username

1234

3132333420

NOTE:

The two ending digits (20) represent the space.