Configure ELRP Script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-01-2014 06:02 PM
I understand that any scripts on here need to be tested out before placed on a production network. I am just trying to find a fast way to fix ELRP that was configured incorrectly on all ports.
Right now it is enabled on all ports. The uplink ports are excluded from disable. So when the switch loops it sends it out the uplink port.
Looking for some help with a script to enable ELRP only on untagged ports. Would like it to block a looped port permanently. Would like for this script to run daily to make sure any ports that change vlan's are covered.
If you have ideas on a way to stop uplink ports from having ELRP enabled that would be great too!
Thanks in advance
Right now it is enabled on all ports. The uplink ports are excluded from disable. So when the switch loops it sends it out the uplink port.
Looking for some help with a script to enable ELRP only on untagged ports. Would like it to block a looped port permanently. Would like for this script to run daily to make sure any ports that change vlan's are covered.
If you have ideas on a way to stop uplink ports from having ELRP enabled that would be great too!
Thanks in advance
9 REPLIES 9
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎02-11-2015 12:22 PM
In our network I use the vlan default to monitor ELRP on the edge ports. I configure the edge ports in the vlan default (tagged).
the reason: If I have por 1 in vlan1 and port2 in vlan2 and there is a connection on the switch between port 1 and 2 (this no loop on the network). Someone can make a wrong patch.....
And one of those ports is disabled pemantent.
the reason: If I have por 1 in vlan1 and port2 in vlan2 and there is a connection on the switch between port 1 and 2 (this no loop on the network). Someone can make a wrong patch.....
And one of those ports is disabled pemantent.
Johan Hendrik
System Architect
Audax
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-04-2014 02:01 PM
That is more what we need. To find the access ports and vlan's then protect with ELRP. Can we change it to be periodic instead of one shot? Then add a UPM Timer to run it every day to find changes.
1. Find Vlan's and Access ports then
enable elrp-client
configure elrp-client periodic (found vlan) ports (found ports) log-and-trap disable-port permanent
2.UPM- timer to run each day.
think that would solve the issue.
1. Find Vlan's and Access ports then
enable elrp-client
configure elrp-client periodic (found vlan) ports (found ports) log-and-trap disable-port permanent
2.UPM- timer to run each day.
think that would solve the issue.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-04-2014 01:52 PM
Everything is possible.
You could write function which can help to find access port and then pass those port number to elrp command.
You could write function which can help to find access port and then pass those port number to elrp command.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎08-04-2014 01:46 PM
Can this script be modified to run only on the access ports of a switch or stack?
