Configuring Smart-Port Macros; Default Smartport Macro Configuration - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Configuring Smart-Port Macros

Configuring Smart-Port Macros
You can create a new SmartPort macro or use an existing macro as a template to create a new macro that
is specific to your application. After you create the macro, you can apply it to an interface or a range of
interfaces.
This section includes information about these topics:

Default SmartPort Macro Configuration

This section illustrates the default configurations for the four supported macros. These macros can only
be viewed and applied; they cannot be modified by the user.
cisco-desktop
# Basic interface - Enable data VLAN only
# Recommended value for access vlan (AVID) should not be 1
switchport access vlan $AVID
switchport mode access
# Enable port security limiting port to a single
# MAC address -- that of desktop
switchport port-security
# Ensure port-security age is greater than one minute
# and use inactivity timer
# "Port-security maximum 1" is the default and will not
# Show up in the config
switchport port-security violation restrict
switchport port-security aging time 2
switchport port-security aging type inactivity
# Configure port as an edge network port
spanning-tree portfast
spanning-tree bpduguard enable
cisco-phone
# VoIP enabled interface - Enable data VLAN
# and voice VLAN (VVID)
# Recommended value for access vlan (AVID) should not be 1\
switchport access vlan $AVID
switchport mode access
# Update the Voice VLAN (VVID) value which should be
# different from data VLAN
# Recommended value for voice vlan (VVID) should not be 1
switchport voice vlan $VVID
# Enable port security limiting port to a 3 MAC
Software Configuration Guide—Release 12.2(25)EW
13-2
Default SmartPort Macro Configuration, page 13-2
SmartPort Macro Configuration Guidelines, page 13-4
Creating and Applying SmartPort Macros, page 13-4
cisco-desktop, page 13-2
cisco-phone, page 13-2
cisco-switch, page 13-3
cisco-router, page 13-3
Chapter 13
Configuring SmartPort Macros
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents