Cisco Catalyst 3750-X Software Configuration Manual page 436

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

Advertisement

Configuring Auto Smartports
Command
Step 3
remote url
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config
This example shows how to use two built-in Auto Smartports macros for connecting Cisco switches and
Cisco IP phones to the sw itch. This example modifies the default voice VLAN, access VLAN, and native
VLAN for the trunk interface:
Switch# configure terminal
Switch(config)#!!! the next command modifies the access and voice vlans
Switch(config)#!!! for the built in Cisco IP phone auto smartport macro
Switch(config)# macro auto execute CISCO_PHONE_EVENT builtin CISCO_PHONE_AUTO_SMARTPORT
ACCESS_VLAN=10 VOICE_VLAN=20
Switch(config)#
Switch(config)#!!! the next command modifies the Native vlan used for inter switch trunks
Switch(config)# macro auto execute CISCO_SWITCH_EVENT builtin CISCO_SWITCH_AUTO_SMARTPORT
NATIVE_VLAN=10
Switch(config)#
Switch(config)#!!! the next command enables auto smart ports globally
Switch(config)# macro auto global processing cdp-fallback
Switch(config)#
Switch(config)# exit
Switch# !!! here's the running configuration of the interface connected
Switch# !!! to another Cisco Switch after the Macro is applied
Switch#
Switch# show running-config interface gigabitethernet1/0/1
Switch# show running-config interface gigabitethernet0/1
Building configuration...
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
14-10
Purpose
Specify a remote server location for the remote macro file:
The syntax for the local flash file system on the standalone switch or
the stack master: flash:
The syntax for the local flash file system on a stack member:
flash member number:
The syntax for the FTP:
ftp:[[//username[:password]@location]/directory]/filename
The syntax for an HTTP server:
http://[[username:password]@]{hostname |
host-ip}[/directory]/filename
The syntax for a secure HTTP server:
https://[[username:password]@]{hostname |
host-ip}[/directory]/filename
The syntax for the NVRAM:
nvram://[[username:password]@][/directory]/filename
The syntax for the Remote Copy Protocol (RCP):
rcp:[[//username@location]/directory]/filename
The syntax for the Secure Copy Protocol (SCP):
scp:[[//username@location]/directory]/filename
The syntax for the TFTP: tftp:
[[//location]/directory]/filename
Return to privileged EXEC mode.
Verify your entries.
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