Configuring Tags Through the CLI
Configuring a Site Tag (CLI)
Follow the procedure given below to configure a site tag:
SUMMARY STEPS
- enable
- configure terminal
- wireless tag site site-name
- flex-profile flex-profile-name
- description site-tag-name
- end
- show wireless tag site summary
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||||
Step 3 |
wireless tag site site-name Example:
|
Configures a site tag and enters site tag configuration mode. |
||||
Step 4 |
flex-profile flex-profile-name Example:
|
Configures a flex profile.
|
||||
Step 5 |
description site-tag-name Example:
|
Adds a description for the site tag. |
||||
Step 6 |
end Example:
|
Exits site tag configuration mode and returns to privileged EXEC mode. |
||||
Step 7 |
show wireless tag site summary Example:
|
(Optional) Displays the number of site tags.
|
Configuring a Policy Tag (CLI)
SUMMARY STEPS
- enable
- configure terminal
- wireless tag policy policy-tag-name
- description description
- remote-lan name policy profile-policy-name {ext-module | port-id name}
- wlan wlan-name policy profile-policy-name
- end
- show wireless tag policy summary
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
wireless tag policy policy-tag-name Example:
|
Configures a policy tag, and enters policy tag configuration mode.
|
||
Step 4 |
description description Example:
|
Adds a description to the policy tag. |
||
Step 5 |
remote-lan name policy profile-policy-name {ext-module | port-id name} Example:
|
Maps a remote-LAN profile to a policy profile. |
||
Step 6 |
wlan wlan-name policy profile-policy-name Example:
|
Maps a policy profile to a WLAN profile. |
||
Step 7 |
end Example:
|
Saves the configuration, exits configuration mode, and returns to privileged EXEC mode. |
||
Step 8 |
show wireless tag policy summary Example:
|
(Optional) Displays the configured policy tags.
|
Configuring Wireless RF Tag (CLI)
Follow the procedure given below to configure a wireless RF tag:
Before you begin
-
You can use only two profiles (IEEE 802.11a and IEEE 802.11b) in an RF tag .
-
Ensure that you use the same AP tag name that you created when configuring the AP tag task too.
SUMMARY STEPS
- enable
- configure terminal
- wireless tag rf rf-tag
- 24ghz-rf-policy rf-policy
- 5ghz-rf-policy rf-policy
- description policy-description
- end
- show wireless tag rf summary
- show wireless tag rf detailed rf-tag
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
Step 3 |
wireless tag rf rf-tag Example:
|
Creates an RF tag and enters wireless RF tag configuration mode. |
Step 4 |
24ghz-rf-policy rf-policy Example:
|
Attaches an IEEE 802.11b RF policy to the RF tag. |
Step 5 |
5ghz-rf-policy rf-policy Example:
|
Attaches an IEEE 802.11a RF policy to the RF tag. |
Step 6 |
description policy-description Example:
|
Adds a description for the RF tag. |
Step 7 |
end Example:
|
Exits configuration mode and returns to privileged EXEC mode. |
Step 8 |
show wireless tag rf summary Example:
|
Displays the available RF tags. |
Step 9 |
show wireless tag rf detailed rf-tag Example:
|
Displays detailed information of a particular RF tag. |
Configuring an AP Tag (CLI)
Before you begin
Ensure that you use the same AP tag that is configured here in the Wireless RF tag.
SUMMARY STEPS
- enable
- configure terminal
- ap mac-address
- policy-tag policy-tag
- rf-tag rf-tag
- site-tag site-tag
- end
- show ap tag summary
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters the global configuration mode. |
||
Step 3 |
ap mac-address Example:
|
Enters the AP tag configuration mode.
|
||
Step 4 |
policy-tag policy-tag Example:
|
Maps a policy tag to the AP. |
||
Step 5 |
rf-tag rf-tag Example:
|
Configures a named RF tag and adds the AP mac-address to the tag. |
||
Step 6 |
site-tag site-tag Example:
|
Maps a site tag to the AP. |
||
Step 7 |
end Example:
|
Exits AP tag configuration mode and returns to privileged EXEC mode. |
||
Step 8 |
show ap tag summary Example:
|
Displays the tag summary of available APs. |
What to do next
Configure Wireless RF tag.
Configuring Wireless RF Tag (CLI)
Follow the procedure given below to configure a wireless RF tag:
Before you begin
-
You can use only two profiles (IEEE 802.11a and IEEE 802.11b) in an RF tag .
-
Ensure that you use the same AP tag name that you created when configuring the AP tag task too.
SUMMARY STEPS
- enable
- configure terminal
- wireless tag rf rf-tag
- 24ghz-rf-policy rf-policy
- 5ghz-rf-policy rf-policy
- description policy-description
- end
- show wireless tag rf summary
- show wireless tag rf detailed rf-tag
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
Step 3 |
wireless tag rf rf-tag Example:
|
Creates an RF tag and enters wireless RF tag configuration mode. |
Step 4 |
24ghz-rf-policy rf-policy Example:
|
Attaches an IEEE 802.11b RF policy to the RF tag. |
Step 5 |
5ghz-rf-policy rf-policy Example:
|
Attaches an IEEE 802.11a RF policy to the RF tag. |
Step 6 |
description policy-description Example:
|
Adds a description for the RF tag. |
Step 7 |
end Example:
|
Exits configuration mode and returns to privileged EXEC mode. |
Step 8 |
show wireless tag rf summary Example:
|
Displays the available RF tags. |
Step 9 |
show wireless tag rf detailed rf-tag Example:
|
Displays detailed information of a particular RF tag. |
Attaching Policy Tag and Site Tag to an AP (CLI)
Follow the procedure given below to attach a policy tag and a site tag to an AP:
SUMMARY STEPS
- enable
- configure terminal
- ap mac-address
- policy-tag policy-tag-name
- site-tag site-tag-name
- rf-tag rf-tag-name
- end
- show ap tag summary
- show ap name ap-name tag info
- show ap name ap-name tag detail
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
ap mac-address Example:
|
Configures a Cisco AP and enters AP profile configuration mode.
|
||
Step 4 |
policy-tag policy-tag-name Example:
|
Maps a policy tag to the AP. |
||
Step 5 |
site-tag site-tag-name Example:
|
Maps a site tag to the AP. |
||
Step 6 |
rf-tag rf-tag-name Example:
|
Associates the RF tag. |
||
Step 7 |
end Example:
|
Exits AP profile configuration mode and returns to privileged EXEC mode. |
||
Step 8 |
show ap tag summary Example:
|
(Optional) Displays AP details and the tags associated to it. |
||
Step 9 |
show ap name ap-name tag info Example:
|
(Optional) Displays the AP name with tag information. |
||
Step 10 |
show ap name ap-name tag detail Example:
|
(Optional) Displays the AP name with tag details. |
Setting the Tag Priority (CLI)
Multiple tag sources might result in ambiguity for network administrators. To address this, you can define priority for tags. When an AP joins the controller, the tags are selected based on the priority. If precedence is not set, the default is used.
Use the following procedure to set the tag priority:
SUMMARY STEPS
- enable
- configure terminal
- ap tag-source-priority source-priority source {ap | filter}
- ap tag-source-priority source-priority source {ap | filter}
- end
- ap tag-sources revalidate
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
||
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
||
Step 3 |
ap tag-source-priority source-priority source {ap | filter} Example:
|
Configures AP tag source priority. |
||
Step 4 |
ap tag-source-priority source-priority source {ap | filter} Example:
|
Configures source priority for the filter.
|
||
Step 5 |
end Example:
|
Exits global configuration mode and returns to privileged EXEC mode. |
||
Step 6 |
ap tag-sources revalidate Example:
|
Revalidates the AP tag sources. The AP tag priority become active only after this command is configured.
|