Useful tips

What is macro in Cisco switch?

What is macro in Cisco switch?

Understanding Smartports Macros Smartports macros provide a convenient way to save and share common configurations. You can use Smartports macros to enable features and settings based on the location of a switch in the network and for mass configuration deployments across the network.

How do I disable a macro on a Cisco switch?

To disable Auto SmartPorts macros on a specific port, use the no macro auto global processing interface command before enabling Auto SmartPort globally. To enable Auto SmartPort globally, use the macro auto global processing global configuration command.

How do I create a macro on a Cisco switch?

You can create macros to run a series of commands on a Cisco switch….To configure the macro:

  1. Enter configuration mode.
  2. Use the command macro name.
  3. Enter the commands you want the macro to run.
  4. Finish with @

What is device classifier Cisco?

Device Classifier. Beginning with Cisco IOS Release 15.0(1) SE, the device classifier (DC) feature is enabled by default on the switch. The DC collects information from MAC-OUI and protocols such as CDP, LLDP, and DHCP to identify devices. You must enable CDP and LLDP on the switch.

What is Cisco SmartPort macro?

SmartPort macros provide a convenient way to save and share common configurations. You can use SmartPort macros to enable features and settings based on the location of a switch in the network and for mass configuration deployments across the network. Each SmartPort macro is a set of CLI commands that you define.

What is smart port in Cisco?

A smartport macro is a user-defined set of Cisco IOS Command Line Interface (CLI) commands. Note: The network access and Quality of Service (QoS) requirements vary if the interface is connected to an IP phone, printer, router, or Access Point (AP).

How do I know if my Cisco switch is PoE?

Some ways to check if you have PoE on the network: On a Cisco switch, log in and enter show power inline and if it supports PoE, you should get output showing which ports are drawing power, a summary of configuration, etc. Any managed PoE switch should have a similar command.

What are Cisco smartports?

A smartport macro is a user-defined set of Cisco IOS Command Line Interface (CLI) commands. A Smartport macro can be applied to an interface by the macro name, or by the Smartport type associated with the macro.

What is administrative Auto smartport?

The Smartport feature is a convenient way to share configuration macros to other connected devices. A Smartport macro is a script of commands configured on an interface to apply a particular setting. Auto Smartport waits for a device to be attached to an interface before apply a macro.

What is macro auto SmartPort?

Auto Smartports macros dynamically configure ports based on the device type detected on the port. When the switch detects a new device on a port, it applies the appropriate macro on the port. For example, when you connect a Cisco IP phone to a port, Auto Smartports automatically applies the IP phone macro.