Configuring Auto Smartports Default Parameter Values - Cisco Catalyst 3750-X Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-X:
Table of Contents

Advertisement

Configuring Auto Smartports

Configuring Auto Smartports Default Parameter Values

The switch automatically maps from event triggers to built-in macros. You can follow this procedure to
replace Auto Smartports macro default parameter values with values that are specific to your switch.
This procedure is optional.
Beginning in privileged EXEC mode:
Command
Step 1
show macro auto device
Step 2
configure terminal
macro auto device {access-point |
Step 3
ip-camera | lightweight-ap |
media-player | phone | router | switch}
[parameter=value]
Step 4
end
Step 5
show macro auto device
Step 6
copy running-config startup-config
To return to the default setting, use the no macro auto device {macro name} parameter=value global
configuration command.
This example shows how to view the IP phone macro parameter values and how to change the default
voice VLAN to 20. When you change the default values, they are not applied on interfaces that already
have applied macros. The configured values are applied at the next link-up event. Note that the exact text
string was used for VOICE_VLAN. The entry is case sensitive.
Switch# show macro auto device phone
Device:phone
Default Macro:CISCO_PHONE_AUTO_SMARTPORT
Current Macro:CISCO_PHONE_AUTO_SMARTPORT
Configurable Parameters:ACCESS_VLAN VOICE_VLAN
Defaults Parameters:ACCESS_VLAN=1 VOICE_VLAN=2
Current Parameters:ACCESS_VLAN=1 VOICE_VLAN=2
Switch# configure terminal
Switch(config)# macro auto device phone VOICE_VLAN=20
Switch(config)# end
Switch# show macro auto device phone
Device:phone
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
14-6
Purpose
Display the macro default parameter values.
Enter global configuration mode.
Replace the specified macro default parameter values. Enter new values
in the form of name value pair separated by a space:
[<name1>=<value1> <name2>=<value2>...]. Default values are shown
for each macro default parameter value.
access-point NATIVE_VLAN=1
ip-camera ACCESS_VLAN=1
lightweight-ap ACCESS_VLAN=1
media-player ACCESS_VLAN=1
phone ACCESS_VLAN=1 VOICE_VLAN=2
router NATIVE_VLAN=1
switch NATIVE_VLAN=1
You must enter the correct parameter name (for example,
Note
VOICE_VLAN) because this text string must match the text
string in the built-in macro definition.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 14
Configuring Auto Smartports Macros
OL-21521-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3560-x

Table of Contents