Displaying Smartport Macros - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 20
Configuring SmartPort Macros
# Hardcode speed and duplex to router
switchport mode trunk
switchport nonegotiate
speed 100
duplex full
# Configure qos to trust this interface
auto qos voip trust
qos trust dscp
# Ensure fast access to the network when enabling the interface.
# Ensure that switch devices cannot become active on the interface.
spanning-tree portfast
spanning-tree bpduguard enable
Switch# show parser macro description
Interface
--------------------------------------------------------------
Fa2/9
--------------------------------------------------------------

Displaying SmartPort Macros

To display the SmartPort macros, use one or more of the privileged EXEC commands in
Table 20-2
Commands for Displaying SmartPort Macros
Command
show parser macro
show parser macro name macro-name
show parser macro brief
show parser macro description
]
interface-id
Configuring Static SmartPort Macros
This section describes how to configure and enable static SmartPort macros:
Default Static SmartPort Configuration
No static SmartPort macros are enabled on the switch.
OL_28731-01
Macro Description
cisco-router
[
interface
Default SmartPort Macro Configuration, page 20-4
SmartPort Macro Configuration Guidelines, page 20-6
Applying Static SmartPort Macros, page 20-14
Purpose
Displays all configured macros.
Displays a specific macro.
Displays the configured macro names.
Displays the macro description for all interfaces or for a specified
interface.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Displaying SmartPort Macros
Table
20-2.
20-13

Advertisement

Table of Contents
loading

Table of Contents