Created
January 27, 2017 20:50
-
-
Save bandrel/b9dcc64628fc9dff8fd1c9d476bf0506 to your computer and use it in GitHub Desktop.
eem script for updating port description using CDP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event manager applet update-port-description | |
event neighbor-discovery interface regexp GigabitEthernet0/.* cdp add | |
action 1.0 cli command "enable" | |
action 2.0 cli command "config t" | |
action 3.0 cli command "interface $_nd_local_intf_name" | |
action 4.0 cli command "description $_nd_cdp_entry_name:$_nd_port_id" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment