icon (osu-config-mode)

Adds the OSU provider‘s icon. This value is returned in the ANQP OSU providers list.

Supported in the following platforms:

Syntax

icon iso-lang <ISO-LANG-CODE> width <0-65535> height <0-65535> mime-type <FILE-MIME-TYPE> 
file [<IMAGE-FILE-NAME/PATH>|<FILE-NAME>]

Parameters

icon iso-lang <ISO-LANG-CODE> width <0-65535> height <0-65535> mime-type <FILE-MIME-TYPE> 
file [<IMAGE-FILE-NAME/PATH>|<FILE-NAME>]
icon iso-lang <ISO-LANG-CODE> Configures an icon representing the OSU provider
  • iso-lang <ISO-LANG-CODE> – Identifies the language by its ISO 639 language code (for example, ‘chi-chinese‘ or ‘spa-spanish‘). By default the language is set to English. If specifying the image file name and path in any language other than English, specify the ISO language code.
width <0-65535> Configures the icon‘s width in pixels
  • <0-65535> – Specify a value from 0 - 65535 pixels.
height <0-65535> Configures the icon‘s height in pixels
  • <0-65535> – Specify a value from 0 - 65535 pixels.
mime-type <FILE-MIME-TYPE> Configures a string describing the icon‘s standard mime type. The MIME associates filename extensions with a MIME type. A MIME enables a fallback on an extension and are frequently used by Web servers.
  • <FILE-MIME-TYPE> – Specify the icon‘s mime type.
file [<IMAGE-FILE-NAME/PATH>|<FILE-NAME>] Configures the location and name of the image file
  • <IMAGE-FILE-NAME/PATH> – Specify the path and filename (255 character maximum). For example, flash:/icon.png
  • <FILE-NAME> – Use this option to specify the filename in the flash:/ directory

Examples

nx9500-6C8809(config-passpoint-policy-test-osu-provider-test)#icon iso-lang eng width 128 height 128 mime-type image/png file falsh:/testicon
nx9500-6C8809(config-passpoint-policy-test-osu-provider-test)#show context
 osu provider test
  description "OSU created for testing purposes."
  icon iso-lang eng width 128 height 128 mime-type image/png file falsh:/testicon
nx9500-6C8809(config-passpoint-policy-test-osu-provider-test)#

Related Commands

no (osu-config-mode) Removes this OSU provider‘s icon details