cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3201
Views
0
Helpful
3
Replies

interface templates

Bthene
Level 1
Level 1

How come you cant put no cdp enable or no snmp trap link-status/no logging event link-status on a interface template ?

Is there any smarter way of achieveing this?

Switch(config)#template ?
AP_INTERFACE_TEMPLATE built-in
DMP_INTERFACE_TEMPLATE built-in
IP_CAMERA_INTERFACE_TEMPLATE built-in
IP_PHONE_INTERFACE_TEMPLATE built-in
LAP_INTERFACE_TEMPLATE built-in
MSP_CAMERA_INTERFACE_TEMPLATE built-in
MSP_VC_INTERFACE_TEMPLATE built-in
PRINTER_INTERFACE_TEMPLATE built-in
ROUTER_INTERFACE_TEMPLATE built-in
SWITCH_INTERFACE_TEMPLATE built-in
TP_INTERFACE_TEMPLATE built-in
WORD Template name
global Global Templates
interface interface template
test defined by user
type Type of the template
Switch(config)#template test
Switch(config-template)#?
Template configuration commands:
aaa Authentication, Authorization and Accounting.
access-session Access Session specific Interface Configuration Commands
authentication Auth Manager Interface Configuration Commands
carrier-delay Specify delay for interface transitions
default Set a command to its defaults
description Interface specific description
dialer Dial-on-demand routing (DDR) commands
dialer-group Assign interface to dialer-list
dot1x Interface Config Commands for IEEE 802.1X
ethernet Ethernet service
exit Exit from template configuration mode
hold-queue Set hold queue depth
ip IP template config
ip Interface Internet Protocol config commands
keepalive Enable keepalive
load-interval Specify interval for load calculation for an interface
mab MAC Authentication Bypass Interface Config Commands
negate Negate the following commands on a template
no Negate a command or set its defaults
peer Peer parameters for point to point interfaces
ppp Point-to-Point Protocol
radius-server Modify RADIUS query parameters
remark template description comment
service-policy Configure CPL Service Policy
source Get config from another source
spanning-tree Spanning Tree Subsystem
storm-control storm configuration
subscriber Subscriber inactivity timeout value.
switchport Set switching mode characteristics
trust Set trust value for the interface
Switch(config-template)#
3 Replies 3

Hi

I think template interface can be used to apply specific command lines under the interfaces on a switch, a long time ago I remember have used macros to apply changes to specific interface on a switch, the following link could be useful:

http://cauew.blogspot.com/2008/07/switch-macros.html

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

andrewswanson
Level 7
Level 7

Hi

I ran into this issue as well - I could configure IP source guard in an interface template with a 6807 but not on a 3650. A workaround for me was to apply interface templates using a Prime Infrastructure cli template. The cli template applies the interface template as well as the other commands not supported by the interface template.

hth
Andy

Thanks, will look that up!

Review Cisco Networking for a $25 gift card