Discussion:
Port Config...
Nick Allen
2013-05-02 12:22:13 UTC
Permalink
Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Andy Middlehurst
2013-05-02 12:28:01 UTC
Permalink
Hi,

I agree with Nick. It would also be useful to include spanning-tree config settings (adminedge etc) for the port.

Btw any news on when the 'show vlan portinfo' command will be added to N/S/K ?

Regards,

Andy
NOC Consultant (ECE-Networking)

Service Desk: +44 (0)845 850 1177

Number One
Paper Mill Drive
Church Hill South,
Redditch,
B98 8QJ
Telephone: +44 (0)845 850 5577

From: Nick Allen [mailto:***@tbwa.com]
Sent: 02 May 2013 13:22
To: Enterasys Customer Mailing List
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any changes to an SVN repo, so I could run a command against a copy of that text file on the remote box as a second best option. In which case, I don't suppose anyone has written a regex or a script that could handle that have they?

Thanks,

N.


--

This e-mail is intended only for the named person or entity to which it is addressed and

contains valuable business information that is proprietary, privileged, confidential and/or

otherwise protected from disclosure. If you received this e-mail in error, any review, use,

dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify

us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete

the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.







* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@networksfirst.com<mailto:***@networksfirst.com>

*

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Auger, Jay (IS)
2013-05-02 12:28:13 UTC
Permalink
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your duplex below). You might have ports ge.1.1-10 configured in a command. The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any changes to an SVN repo, so I could run a command against a copy of that text file on the remote box as a second best option. In which case, I don't suppose anyone has written a regex or a script that could handle that have they?

Thanks,

N.


--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.



* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@umassmed.edu<mailto:***@umassmed.edu>


---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Nick Allen
2013-05-02 14:20:48 UTC
Permalink
Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
Post by Auger, Jay (IS)
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought
it would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to
that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone
previously turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of that
text file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
d***@fhsu.edu
2013-05-02 14:34:16 UTC
Permalink
I had want of a feature like that on a C3 this past weekend, actually.
Would have been a handy time saver.

To expand on that idea a bit, I'd love to see an evaluated detailed port
config/status (not a line-item pull from running-config). Something like
"show port config x.x.x detailed" that listed PHY, pvid, egress, counters
(summary), spantree/sg/lp, policy, authentication status, maclock,
etc..etc... Unless I've missed something that already exists.

Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
(785) 628 - 5688 | ***@fhsu.edu





From: Nick Allen <***@tbwa.com>
To: "Enterasys Customer Mailing List" <***@listserv.unc.edu>
Date: 05/02/2013 09:21 AM
Subject: Re: [enterasys] Port Config...



Yup, thanks Jay, but that was mainly my point about the port
consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61



On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu>
wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com>
Reply-To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that text file on the remote box as a second best option. In which case, I
don't suppose anyone has written a regex or a script that could handle
that have they?

Thanks,

N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.


--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@umassmed.edu

--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@tbwa.com
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.





--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@fhsu.edu


---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Brian Anderson - ASI
2013-05-02 14:36:48 UTC
Permalink
If you have the linux install of Netsight, I've used grep to find strings inside of config files. I believe it is something like grep -Hrn 'search term' path/to/files. With Windows you can use DOS, and Findstr command there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com<mailto:***@ArcadiaSecureIT.com>
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[cid:***@01CE4718.9119FDF0]

From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any* line of config which referenced the given port - spanning tree, policy, maclock - anything.

N.


Nick Allen
IT Director

[Loading Image...]

76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com<mailto:***@tbwa.com>

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu<mailto:***@umassmed.edu>> wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your duplex below). You might have ports ge.1.1-10 configured in a command. The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any changes to an SVN repo, so I could run a command against a copy of that text file on the remote box as a second best option. In which case, I don't suppose anyone has written a regex or a script that could handle that have they?

Thanks,

N.


--

This e-mail is intended only for the named person or entity to which it is addressed and

contains valuable business information that is proprietary, privileged, confidential and/or

otherwise protected from disclosure. If you received this e-mail in error, any review, use,

dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify

us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete

the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.



* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@umassmed.edu<mailto:***@umassmed.edu>

*

* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@tbwa.com<mailto:***@tbwa.com>


--

This e-mail is intended only for the named person or entity to which it is addressed and

contains valuable business information that is proprietary, privileged, confidential and/or

otherwise protected from disclosure. If you received this e-mail in error, any review, use,

dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify

us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete

the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.







* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>

*

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Samuel Garcia Feliciano
2013-05-02 14:59:52 UTC
Permalink
what about using Awk? it's my precious tool (Golum's voice)

here you are with an example I'm using daily to monitor some devices:



awk '/Media/ {print $7, $8, $9}' ping.txt



Media = Word to look for in ping.txt file

ping.txt = is a file with acumulative results (>>) from ping command to few devices



give it a try... I'm sure you will love it...





Best regards.
________________________________

Desde: Brian Anderson - ASI [***@arcadiasecureit.com]
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...

If you have the linux install of Netsight, I’ve used grep to find strings inside of config files. I believe it is something like grep -Hrn 'search term' path/to/files. With Windows you can use DOS, and Findstr command there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com<mailto:***@ArcadiaSecureIT.com>
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[arcadia-secure-it2-long-small]

From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any* line of config which referenced the given port - spanning tree, policy, maclock - anything.

N.


Nick Allen
IT Director

[cid:AABF268-03B9-4F422-95C6-***@MimeCtl]

76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com<mailto:***@tbwa.com>

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu<mailto:***@umassmed.edu>> wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your duplex below). You might have ports ge.1.1-10 configured in a command. The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any changes to an SVN repo, so I could run a command against a copy of that text file on the remote box as a second best option. In which case, I don't suppose anyone has written a regex or a script that could handle that have they?

Thanks,

N.


--

This e-mail is intended only for the named person or entity to which it is addressed and

contains valuable business information that is proprietary, privileged, confidential and/or

otherwise protected from disclosure. If you received this e-mail in error, any review, use,

dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify

us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete

the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.



• --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@umassmed.edu<mailto:***@umassmed.edu>

•

* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@tbwa.com<mailto:***@tbwa.com>


--

This e-mail is intended only for the named person or entity to which it is addressed and

contains valuable business information that is proprietary, privileged, confidential and/or

otherwise protected from disclosure. If you received this e-mail in error, any review, use,

dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify

us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete

the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.







• --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>

•

* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@fovissste.gob.mx

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Nick Allen
2013-05-02 15:03:03 UTC
Permalink
thanks Samuel. Have used awk a few times and it's certainly a good option -
was just hoping to save some work if anyone had already done it...!



Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61



On Thu, May 2, 2013 at 3:59 PM, Samuel Garcia Feliciano <
Post by Samuel Garcia Feliciano
what about using Awk? it's my precious tool (Golum's voice)
awk '/Media/ {print $7, $8, $9}' ping.txt
Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to
few devices
give it a try... I'm sure you will love it...
Best regards.
**
------------------------------
*Enviado el:* jueves, 02 de mayo de 2013 9:36
*Hasta:* Enterasys Customer Mailing List
*Asunto:* RE: [enterasys] Port Config...
If you have the linux install of Netsight, I’ve used grep to find
strings inside of config files. I believe it is something like grep -Hrn
'search term' path/to/files. With Windows you can use DOS, and Findstr
command there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[image: arcadia-secure-it2-long-small]
*Sent:* Thursday, May 02, 2013 9:21 AM
*To:* Enterasys Customer Mailing List
*Subject:* Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
*Date: *Thursday, May 2, 2013 8:22 AM
*Subject: *[enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of that
text file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.
·
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.
·
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
d***@fhsu.edu
2013-05-02 15:05:41 UTC
Permalink
Those are all find suggestions & grep/awk is easy. But to get the
information for a port that's contained within a string (e.g., ge.2.2
within ge.2.1-25), you'll have to write a program in $LanguageOfChoice to
extrapolate this information for you. You're also pulling it from a
saved config instead of running config which could be out of date. Or,
you'll have to write a program to ssh into the switch & pull it live. This
is all doable and fun to a degree, but wouldn't it be easier to simply run
a built-in command to get the same?

Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
(785) 628 - 5688 | ***@fhsu.edu





From: Samuel Garcia Feliciano <***@fovissste.gob.mx>
To: "Enterasys Customer Mailing List" <***@listserv.unc.edu>
Date: 05/02/2013 10:00 AM
Subject: RE: [enterasys] Port Config...



what about using Awk? it's my precious tool (Golum's voice)
here you are with an example I'm using daily to monitor some devices:

awk '/Media/ {print $7, $8, $9}' ping.txt

Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to
few devices

give it a try... I'm sure you will love it...


Best regards.

Desde: Brian Anderson - ASI [***@arcadiasecureit.com]
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...

If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669


From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port
consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu>
wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com>
Reply-To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that text file on the remote box as a second best option. In which case, I
don't suppose anyone has written a regex or a script that could handle
that have they?

Thanks,

N.

--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.

· --To unsubscribe from enterasys, send email to ***@unc.edu
with the body: unsubscribe enterasys ***@umassmed.edu
·
--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@tbwa.com

--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.



· --To unsubscribe from enterasys, send email to ***@unc.edu
with the body: unsubscribe enterasys ***@arcadiasecureit.com
·
--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@fovissste.gob.mx
--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@fhsu.edu


---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Auger, Jay (IS)
2013-05-02 15:09:01 UTC
Permalink
Ooohh. Just had a flashback of the SSR command that would extrapolate the condensed config …

From: "***@fhsu.edu<mailto:***@fhsu.edu>" <***@fhsu.edu<mailto:***@fhsu.edu>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 11:05 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: RE: [enterasys] Port Config...

Those are all find suggestions & grep/awk is easy. But to get the information for a port that's contained within a string (e.g., ge.2.2 within ge.2.1-25), you'll have to write a program in $LanguageOfChoice to extrapolate this information for you. You're also pulling it from a saved config instead of running config which could be out of date. Or, you'll have to write a program to ssh into the switch & pull it live. This is all doable and fun to a degree, but wouldn't it be easier to simply run a built-in command to get the same?

Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
(785) 628 - 5688 | ***@fhsu.edu<mailto:***@fhsu.edu>





From: Samuel Garcia Feliciano <***@fovissste.gob.mx<mailto:***@fovissste.gob.mx>>
To: "Enterasys Customer Mailing List" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: 05/02/2013 10:00 AM
Subject: RE: [enterasys] Port Config...
________________________________



what about using Awk? it's my precious tool (Golum's voice)
here you are with an example I'm using daily to monitor some devices:

awk '/Media/ {print $7, $8, $9}' ping.txt

Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to few devices

give it a try... I'm sure you will love it...


Best regards.

________________________________

Desde: Brian Anderson - ASI [***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>]
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...

If you have the linux install of Netsight, I’ve used grep to find strings inside of config files. I believe it is something like grep -Hrn 'search term' path/to/files. With Windows you can use DOS, and Findstr command there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com<mailto:***@ArcadiaSecureIT.com>
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[arcadia-secure-it2-long-small]

From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any* line of config which referenced the given port - spanning tree, policy, maclock - anything.

N.


Nick Allen
IT Director

[cid:_1_0C9653900C9651240052EB6586257B5F]

76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com<mailto:***@tbwa.com>

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu<mailto:***@umassmed.edu>> wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your duplex below). You might have ports ge.1.1-10 configured in a command. The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>" <***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any changes to an SVN repo, so I could run a command against a copy of that text file on the remote box as a second best option. In which case, I don't suppose anyone has written a regex or a script that could handle that have they?

Thanks,

N.

--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.

• --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@umassmed.edu<mailto:***@umassmed.edu>
•

* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@tbwa.com<mailto:***@tbwa.com>


--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net<mailto:***@uk-group.net> and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.



• --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>
•

* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@fovissste.gob.mx<mailto:***@fovissste.gob.mx>
* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@fhsu.edu<mailto:***@fhsu.edu>

* --To unsubscribe from enterasys, send email to ***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe enterasys ***@umassmed.edu<mailto:***@umassmed.edu>

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Antonio Hernandez
2013-05-06 13:36:46 UTC
Permalink
Hi Nick,

Some time ago I wrote a PERL script to do what you request. You only have to
install PERL (Active PERL 5.10 for example) and run the script using a 'show
config' as input. It translates A/B/C/N/S/K/X Series configurations and it
also makes quite a few config checks too. It 'ungroups' ports when necessary
so that you have a fully 'per port' configuration.

perportconfig_file.pl

Use: perportconfig_file.pl <configuration file> <type of switch>

Types of switches:
1.- SecureStack (Ax, Bx, Cx)
2.- Matrix E1
3.- N-Series running firmware <= 6.x
4.- S-Series/N-Series running firmware >= 7.x
5.- K-Series
6.- X-Series

Example: perportconfig_file.pl S3.txt 4 > S3_perport.txt

This is the script. Please check it out.

https://dl.dropboxusercontent.com/u/66400421/perportconfig_file.pl

Regards,
Antonio

P.S #1: This is NOT officially supported by Enterasys as of today
P.S #2: It may have bugs

-----Original Message-----
From: Enterasys Customer Mailing List digest
[mailto:***@listserv.unc.edu]
Sent: viernes, 03 de mayo de 2013 6:08
To: enterasys digest recipients
Subject: enterasys digest: May 02, 2013

ENTERASYS Digest for Thursday, May 02, 2013.

1. - Enterasys Wireless Controller intergration with Enterasys NAC - SNMP
error
2. Port Config...
3. RE: Port Config...
4. Re: Port Config...
5. Re: - Enterasys Wireless Controller intergration with Enterasys NAC -
SNMP error
6. Re: Port Config...
7. Re: Port Config...
8. RE: Port Config...
9. RE: Port Config...
10. Re: Port Config...
11. RE: Port Config...
12. Re: Port Config...

----------------------------------------------------------------------

Subject: - Enterasys Wireless Controller intergration with Enterasys NAC -
SNMP error
From: "Read, Simon" <***@nashua-communications.com>
Date: Thu, 2 May 2013 10:02:53 +0000
X-Message-Number: 1

Hi All,

Would very much appreciate any feedback or suggestions on the following. I
have a C25 and LPA successfully managed in NetSight via SNMPv3. What I am
trying to do is create a single NAC VNS that allows access for Authenticated
and Unauthenticated, (Guest) devices.

802.1x authenticated users connect to the VNS and can be remediated, no
problem.

Unauthenticated users should connect to the VNS and then find themselves
directed to NAC's login page when they open a browser. I am seeing in NAC
that the connection attempt is, "Accept", but MAC-to-IP Address resolution
fails. There are ip helper-addresses on the relevant Core switches VLAN GW
that point to the DHCP server, the Layer-3 interface created for the NAC VNS
and even the management IP address of the Controller.

I've set debugging for DHCP, IP resolution and SNMP to Verbose and in the
tag.log and I am seeing the following error...

DEBUG [SnmpManager] Unable to get SnmpSwitch for IP: 127.0.0.1 sw: null

Has anybody seen this error before and/ or are there any suggestions on what
might be causing it?


Kind regards,

Simon Read
Service Engineer


[Nashua Communications EMAIL Logo2.gif]


Disclaimer and Confidentiality Note

This e-mail communication, its attachments, if any, and any rights attaching
to it are, unless the context clearly indicates otherwise, the property of
Nashua Communications. It is confidential, private and intended for the
addressee only. If you are not the intended recipient and receive this
communication in error, you are hereby notified that any review, copying,
use, discloser or distribution in any manner whatsoever is strictly
prohibited. Please notify the sender immediately that you have received this
e-mail in error and delete the e-mail and any copies of it. Views and
opinions expressed in this e-mail are those of the sender unless clearly
stated as those of Nashua Communications. Nashua Communications accepts no
liability for any loss or damage whatsoever, and howsoever incurred or
suffered resulting or arising from the use of this e-mail communication
and/or its attachments.

Nashua Communications does not warrant the integrity of this e-mail
communication nor that it is free of errors, viruses, interception or
interference.
Nashua Communications, its divisions and subsidiary companies expressly
excludes sections 11, 12, and 13 of the Electronic Communications and
Transactions Act, 25 of 2002 (“the ECT”) in respect of e-contracting. No
data message or electronic communication will be recognised as having a
legal contractual status under the ECT Act. All agreements concluded by
Nashua Communications will only be legally binding when reduced to physical
writing and physically signed by a duly authorised representative of Nashua
Communications.

For more information about Nashua Communications, visit our website at
www.nashuacommunications.co.za


----------------------------------------------------------------------

Subject: Port Config...
From: Nick Allen <***@tbwa.com>
Date: Thu, 2 May 2013 13:22:13 +0100
X-Message-Number: 2

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.

----------------------------------------------------------------------

Subject: RE: Port Config...
From: Andy Middlehurst <***@networksfirst.com>
Date: Thu, 2 May 2013 12:28:01 +0000
X-Message-Number: 3

Hi,

I agree with Nick. It would also be useful to include spanning-tree config
settings (adminedge etc) for the port.

Btw any news on when the 'show vlan portinfo' command will be added to N/S/K
?

Regards,

Andy
NOC Consultant (ECE-Networking)

Service Desk: +44 (0)845 850 1177

Number One
Paper Mill Drive
Church Hill South,
Redditch,
B98 8QJ
Telephone: +44 (0)845 850 5577

From: Nick Allen [mailto:***@tbwa.com]
Sent: 02 May 2013 13:22
To: Enterasys Customer Mailing List
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.


--

This e-mail is intended only for the named person or entity to which it is
addressed and

contains valuable business information that is proprietary, privileged,
confidential and/or

otherwise protected from disclosure. If you received this e-mail in error,
any review, use,

dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify

us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete

the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.







* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys
***@networksfirst.com<mailto:***@networksfirst.com>

*

----------------------------------------------------------------------

Subject: Re: Port Config...
From: "Auger, Jay (IS)" <***@umassmed.edu>
Date: Thu, 2 May 2013 12:28:13 +0000
X-Message-Number: 4

You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command. The
find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.


--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete
the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.



* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@umassmed.edu<mailto:***@umassmed.edu>


----------------------------------------------------------------------

Subject: Re: - Enterasys Wireless Controller intergration with Enterasys
NAC - SNMP error
From: "Kurtman, Emre" <***@enterasys.com>
Date: Thu, 2 May 2013 17:04:32 +0300
X-Message-Number: 5

Hi Simon,

You should also add an ip helper address pointing to NAC's ip address so
that NAC can resolve the IP address of the client.

Thanks,
Emre


On Thu, May 2, 2013 at 1:02 PM, Read, Simon <
Hi All,****
** **
Would very much appreciate any feedback or suggestions on the following. I
have a C25 and LPA successfully managed in NetSight via SNMPv3. What I am
trying to do is create a single NAC VNS that allows access for
Authenticated and Unauthenticated, (Guest) devices.****
** **
802.1x authenticated users connect to the VNS and can be remediated, no
problem.****
** **
Unauthenticated users should connect to the VNS and then find themselves
directed to NAC’s login page when they open a browser. I am seeing in NAC
that the connection attempt is, “Accept”, but MAC-to-IP Address resolution
fails. There are ip helper-addresses on the relevant Core switches VLAN GW
that point to the DHCP server, the Layer-3 interface created for the NAC
VNS and even the management IP address of the Controller.****
** **
I’ve set debugging for DHCP, IP resolution and SNMP to Verbose and in the
tag.log and I am seeing the following error… ****
** **
DEBUG [SnmpManager] Unable to get SnmpSwitch for IP: 127.0.0.1 sw: null***
*
** **
Has anybody seen this error before and/ or are there any suggestions on
what might be causing it?****
** **
* *
Kind regards, ****
* *
*Simon Read*
*Service Engineer***
** **
** **
[image: Nashua Communications EMAIL Logo2.gif]****
** **
Disclaimer and Confidentiality Note
This e-mail communication, its attachments, if any, and any rights
attaching to it are, unless the context clearly indicates otherwise, the
property of Nashua Communications. It is confidential, private and
intended
for the addressee only. If you are not the intended recipient and receive
this communication in error, you are hereby notified that any review,
copying, use, discloser or distribution in any manner whatsoever is
strictly prohibited. Please notify the sender immediately that you have
received this e-mail in error and delete the e-mail and any copies of it.
Views and opinions expressed in this e-mail are those of the sender unless
clearly stated as those of Nashua Communications. Nashua Communications
accepts no liability for any loss or damage whatsoever, and howsoever
incurred or suffered resulting or arising from the use of this e-mail
communication and/or its attachments.
Nashua Communications does not warrant the integrity of this e-mail
communication nor that it is free of errors, viruses, interception or
interference.
Nashua Communications, its divisions and subsidiary companies expressly
excludes sections 11, 12, and 13 of the Electronic Communications and
Transactions Act, 25 of 2002 (“the ECT”) in respect of e-contracting. No
data message or electronic communication will be recognised as having a
legal contractual status under the ECT Act. All agreements concluded by
Nashua Communications will only be legally binding when reduced to
physical
writing and physically signed by a duly authorised representative of
Nashua
Communications.
For more information about Nashua Communications, visit our website at
www.nashuacommunications.co.za
--
Emre Kurtman
Enterasys Networks
Cell: +90533 3302766
Email: ***@enterasys.com

*There is nothing more important than our customers.*
**

----------------------------------------------------------------------

Subject: Re: Port Config...
From: Nick Allen <***@tbwa.com>
Date: Thu, 2 May 2013 15:20:48 +0100
X-Message-Number: 6

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61



On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought
it would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to
that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone
previously turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that
text file on the remote box as a second best option. In which case, I
don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.

----------------------------------------------------------------------

Subject: Re: Port Config...
From: ***@fhsu.edu
Date: Thu, 2 May 2013 09:34:16 -0500
X-Message-Number: 7

I had want of a feature like that on a C3 this past weekend, actually.
Would have been a handy time saver.

To expand on that idea a bit, I'd love to see an evaluated detailed port
config/status (not a line-item pull from running-config). Something like
"show port config x.x.x detailed" that listed PHY, pvid, egress, counters
(summary), spantree/sg/lp, policy, authentication status, maclock,
etc..etc... Unless I've missed something that already exists.

Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
(785) 628 - 5688 | ***@fhsu.edu





From: Nick Allen <***@tbwa.com>
To: "Enterasys Customer Mailing List" <***@listserv.unc.edu>
Date: 05/02/2013 09:21 AM
Subject: Re: [enterasys] Port Config...



Yup, thanks Jay, but that was mainly my point about the port
consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61



On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu>
wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com>
Reply-To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that text file on the remote box as a second best option. In which case, I
don't suppose anyone has written a regex or a script that could handle
that have they?

Thanks,

N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.


--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@umassmed.edu

--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@tbwa.com
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.





--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@fhsu.edu


----------------------------------------------------------------------

Subject: RE: Port Config...
From: Brian Anderson - ASI <***@arcadiasecureit.com>
Date: Thu, 2 May 2013 10:36:48 -0400
X-Message-Number: 8

If you have the linux install of Netsight, I've used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com<mailto:***@ArcadiaSecureIT.com>
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[cid:***@01CE4718.9119FDF0]

From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director

[http://www.uk-group.net/images/email_signature_logos/tbwa-uk_group.gif]

76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com<mailto:***@tbwa.com>

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
<***@umassmed.edu<mailto:***@umassmed.edu>> wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command. The
find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.


--

This e-mail is intended only for the named person or entity to which it is
addressed and

contains valuable business information that is proprietary, privileged,
confidential and/or

otherwise protected from disclosure. If you received this e-mail in error,
any review, use,

dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify

us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete

the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.



* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@umassmed.edu<mailto:***@umassmed.edu>

*

* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@tbwa.com<mailto:***@tbwa.com>


--

This e-mail is intended only for the named person or entity to which it is
addressed and

contains valuable business information that is proprietary, privileged,
confidential and/or

otherwise protected from disclosure. If you received this e-mail in error,
any review, use,

dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify

us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete

the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.







* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>

*

----------------------------------------------------------------------

Subject: RE: Port Config...
From: Samuel Garcia Feliciano <***@fovissste.gob.mx>
Date: Thu, 2 May 2013 14:59:52 +0000
X-Message-Number: 9

what about using Awk? it's my precious tool (Golum's voice)

here you are with an example I'm using daily to monitor some devices:



awk '/Media/ {print $7, $8, $9}' ping.txt



Media = Word to look for in ping.txt file

ping.txt = is a file with acumulative results (>>) from ping command to few
devices



give it a try... I'm sure you will love it...





Best regards.
________________________________

Desde: Brian Anderson - ASI [***@arcadiasecureit.com]
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...

If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com<mailto:***@ArcadiaSecureIT.com>
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[arcadia-secure-it2-long-small]

From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director

[cid:AABF268-03B9-4F422-95C6-***@MimeCtl]

76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com<mailto:***@tbwa.com>

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
<***@umassmed.edu<mailto:***@umassmed.edu>> wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command. The
find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.


--

This e-mail is intended only for the named person or entity to which it is
addressed and

contains valuable business information that is proprietary, privileged,
confidential and/or

otherwise protected from disclosure. If you received this e-mail in error,
any review, use,

dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify

us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete

the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.



• --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@umassmed.edu<mailto:***@umassmed.edu>



* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@tbwa.com<mailto:***@tbwa.com>


--

This e-mail is intended only for the named person or entity to which it is
addressed and

contains valuable business information that is proprietary, privileged,
confidential and/or

otherwise protected from disclosure. If you received this e-mail in error,
any review, use,

dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify

us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete

the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.







• --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>



* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@fovissste.gob.mx

----------------------------------------------------------------------

Subject: Re: Port Config...
From: Nick Allen <***@tbwa.com>
Date: Thu, 2 May 2013 16:03:03 +0100
X-Message-Number: 10

thanks Samuel. Have used awk a few times and it's certainly a good option -
was just hoping to save some work if anyone had already done it...!



Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61



On Thu, May 2, 2013 at 3:59 PM, Samuel Garcia Feliciano <
what about using Awk? it's my precious tool (Golum's voice)
awk '/Media/ {print $7, $8, $9}' ping.txt
Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to
few devices
give it a try... I'm sure you will love it...
Best regards.
**
------------------------------
*Enviado el:* jueves, 02 de mayo de 2013 9:36
*Hasta:* Enterasys Customer Mailing List
*Asunto:* RE: [enterasys] Port Config...
If you have the linux install of Netsight, I’ve used grep to find
strings inside of config files. I believe it is something like grep -Hrn
'search term' path/to/files. With Windows you can use DOS, and Findstr
command there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[image: arcadia-secure-it2-long-small]
*Sent:* Thursday, May 02, 2013 9:21 AM
*To:* Enterasys Customer Mailing List
*Subject:* Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port
consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
*Date: *Thursday, May 2, 2013 8:22 AM
*Subject: *[enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that
text file on the remote box as a second best option. In which case, I
don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
· --To unsubscribe from enterasys, send email to
·
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
·
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.

----------------------------------------------------------------------

Subject: RE: Port Config...
From: ***@fhsu.edu
Date: Thu, 2 May 2013 10:05:41 -0500
X-Message-Number: 11

Those are all find suggestions & grep/awk is easy. But to get the
information for a port that's contained within a string (e.g., ge.2.2
within ge.2.1-25), you'll have to write a program in $LanguageOfChoice to
extrapolate this information for you. You're also pulling it from a
saved config instead of running config which could be out of date. Or,
you'll have to write a program to ssh into the switch & pull it live. This
is all doable and fun to a degree, but wouldn't it be easier to simply run
a built-in command to get the same?

Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
(785) 628 - 5688 | ***@fhsu.edu





From: Samuel Garcia Feliciano <***@fovissste.gob.mx>
To: "Enterasys Customer Mailing List" <***@listserv.unc.edu>
Date: 05/02/2013 10:00 AM
Subject: RE: [enterasys] Port Config...



what about using Awk? it's my precious tool (Golum's voice)
here you are with an example I'm using daily to monitor some devices:

awk '/Media/ {print $7, $8, $9}' ping.txt

Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to
few devices

give it a try... I'm sure you will love it...


Best regards.

Desde: Brian Anderson - ASI [***@arcadiasecureit.com]
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...

If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669


From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port
consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS) <***@umassmed.edu>
wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com>
Reply-To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu" <***@listserv.unc.edu>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that text file on the remote box as a second best option. In which case, I
don't suppose anyone has written a regex or a script that could handle
that have they?

Thanks,

N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.

· --To unsubscribe from enterasys, send email to ***@unc.edu
with the body: unsubscribe enterasys ***@umassmed.edu
·
--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@tbwa.com
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.



· --To unsubscribe from enterasys, send email to ***@unc.edu
with the body: unsubscribe enterasys ***@arcadiasecureit.com
·
--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@fovissste.gob.mx
--To unsubscribe from enterasys, send email to ***@unc.edu with the
body: unsubscribe enterasys ***@fhsu.edu


----------------------------------------------------------------------

Subject: Re: Port Config...
From: "Auger, Jay (IS)" <***@umassmed.edu>
Date: Thu, 2 May 2013 15:09:01 +0000
X-Message-Number: 12

Ooohh. Just had a flashback of the SSR command that would extrapolate the
condensed config …

From: "***@fhsu.edu<mailto:***@fhsu.edu>"
<***@fhsu.edu<mailto:***@fhsu.edu>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 11:05 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: RE: [enterasys] Port Config...

Those are all find suggestions & grep/awk is easy. But to get the
information for a port that's contained within a string (e.g., ge.2.2
within ge.2.1-25), you'll have to write a program in $LanguageOfChoice to
extrapolate this information for you. You're also pulling it from a saved
config instead of running config which could be out of date. Or, you'll
have to write a program to ssh into the switch & pull it live. This is all
doable and fun to a degree, but wouldn't it be easier to simply run a
built-in command to get the same?

Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
(785) 628 - 5688 | ***@fhsu.edu<mailto:***@fhsu.edu>





From: Samuel Garcia Feliciano
<***@fovissste.gob.mx<mailto:***@fovissste.gob.mx>>
To: "Enterasys Customer Mailing List"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: 05/02/2013 10:00 AM
Subject: RE: [enterasys] Port Config...
________________________________



what about using Awk? it's my precious tool (Golum's voice)
here you are with an example I'm using daily to monitor some devices:

awk '/Media/ {print $7, $8, $9}' ping.txt

Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to few
devices

give it a try... I'm sure you will love it...


Best regards.

________________________________

Desde: Brian Anderson - ASI
[***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>]
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...

If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm

Thanks,

Brian Anderson
***@ArcadiaSecureIT.com<mailto:***@ArcadiaSecureIT.com>
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[arcadia-secure-it2-long-small]

From: Nick Allen [mailto:***@tbwa.com]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...

Yup, thanks Jay, but that was mainly my point about the port consolidation.

And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.

N.


Nick Allen
IT Director

[cid:_1_0C9653900C9651240052EB6586257B5F]

76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com<mailto:***@tbwa.com>

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61


On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
<***@umassmed.edu<mailto:***@umassmed.edu>> wrote:
You can use the 'find' command (no space after the pipe):

show config port |find ge.1.3

or just:

show config |find ge.1.3

Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command. The
find command wouldn't match on ge.1.3 for this string.

Oh ya, not for the C-series, only N/K/S (AFAIK).

Jay

From: Nick Allen <***@tbwa.com<mailto:***@tbwa.com>>
Reply-To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Date: Thursday, May 2, 2013 8:22 AM
To: "***@listserv.unc.edu<mailto:***@listserv.unc.edu>"
<***@listserv.unc.edu<mailto:***@listserv.unc.edu>>
Subject: [enterasys] Port Config...

Hi,

We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something like:

show config port ge.1.3

and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for example:

show config port ge.1.3

might return:

set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged

Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.

Obviously stepping through the config file is do-able but a can be a bit
time-consuming.

Is there already anything like this - preferably from the command line?

Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?

Thanks,

N.

--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete
the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.

• --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@umassmed.edu<mailto:***@umassmed.edu>


* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@tbwa.com<mailto:***@tbwa.com>


--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
***@uk-group.net<mailto:***@uk-group.net> and please
delete
the e-mail from your system, retaining no copies in any media. We appreciate
your cooperation.



• --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@arcadiasecureit.com<mailto:***@arcadiasecureit.com>


* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys
***@fovissste.gob.mx<mailto:***@fovissste.gob.mx>
* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@fhsu.edu<mailto:***@fhsu.edu>

* --To unsubscribe from enterasys, send email to
***@unc.edu<mailto:***@unc.edu> with the body: unsubscribe
enterasys ***@umassmed.edu<mailto:***@umassmed.edu>



---

END OF DIGEST

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body:
unsubscribe enterasys ***@enterasys.com

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Nick Allen
2013-05-07 09:55:39 UTC
Permalink
This is fantastic Antonio! It's what I was after and much more - thanks
very much for sharing it.

I had written a recursive awk script to search for a port in any config
line but don't need to finish it now since I can grep the output of yours.

Cheers,

Nick.



Nick Allen
IT Director



76-80 Whitfield Street
London, W1T 4EZ

Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Google Chat: ***@tbwa.com

Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
Post by Antonio Hernandez
Hi Nick,
Some time ago I wrote a PERL script to do what you request. You only have
to
install PERL (Active PERL 5.10 for example) and run the script using a
'show
config' as input. It translates A/B/C/N/S/K/X Series configurations and it
also makes quite a few config checks too. It 'ungroups' ports when
necessary
so that you have a fully 'per port' configuration.
perportconfig_file.pl
Use: perportconfig_file.pl <configuration file> <type of switch>
1.- SecureStack (Ax, Bx, Cx)
2.- Matrix E1
3.- N-Series running firmware <= 6.x
4.- S-Series/N-Series running firmware >= 7.x
5.- K-Series
6.- X-Series
Example: perportconfig_file.pl S3.txt 4 > S3_perport.txt
This is the script. Please check it out.
https://dl.dropboxusercontent.com/u/66400421/perportconfig_file.pl
Regards,
Antonio
P.S #1: This is NOT officially supported by Enterasys as of today
P.S #2: It may have bugs
-----Original Message-----
From: Enterasys Customer Mailing List digest
Sent: viernes, 03 de mayo de 2013 6:08
To: enterasys digest recipients
Subject: enterasys digest: May 02, 2013
ENTERASYS Digest for Thursday, May 02, 2013.
1. - Enterasys Wireless Controller intergration with Enterasys NAC - SNMP
error
2. Port Config...
3. RE: Port Config...
4. Re: Port Config...
5. Re: - Enterasys Wireless Controller intergration with Enterasys NAC -
SNMP error
6. Re: Port Config...
7. Re: Port Config...
8. RE: Port Config...
9. RE: Port Config...
10. Re: Port Config...
11. RE: Port Config...
12. Re: Port Config...
----------------------------------------------------------------------
Subject: - Enterasys Wireless Controller intergration with Enterasys NAC -
SNMP error
Date: Thu, 2 May 2013 10:02:53 +0000
X-Message-Number: 1
Hi All,
Would very much appreciate any feedback or suggestions on the following. I
have a C25 and LPA successfully managed in NetSight via SNMPv3. What I am
trying to do is create a single NAC VNS that allows access for
Authenticated
and Unauthenticated, (Guest) devices.
802.1x authenticated users connect to the VNS and can be remediated, no
problem.
Unauthenticated users should connect to the VNS and then find themselves
directed to NAC's login page when they open a browser. I am seeing in NAC
that the connection attempt is, "Accept", but MAC-to-IP Address resolution
fails. There are ip helper-addresses on the relevant Core switches VLAN GW
that point to the DHCP server, the Layer-3 interface created for the NAC
VNS
and even the management IP address of the Controller.
I've set debugging for DHCP, IP resolution and SNMP to Verbose and in the
tag.log and I am seeing the following error...
DEBUG [SnmpManager] Unable to get SnmpSwitch for IP: 127.0.0.1 sw: null
Has anybody seen this error before and/ or are there any suggestions on
what
might be causing it?
Kind regards,
Simon Read
Service Engineer
[Nashua Communications EMAIL Logo2.gif]
Disclaimer and Confidentiality Note
This e-mail communication, its attachments, if any, and any rights
attaching
to it are, unless the context clearly indicates otherwise, the property of
Nashua Communications. It is confidential, private and intended for the
addressee only. If you are not the intended recipient and receive this
communication in error, you are hereby notified that any review, copying,
use, discloser or distribution in any manner whatsoever is strictly
prohibited. Please notify the sender immediately that you have received
this
e-mail in error and delete the e-mail and any copies of it. Views and
opinions expressed in this e-mail are those of the sender unless clearly
stated as those of Nashua Communications. Nashua Communications accepts no
liability for any loss or damage whatsoever, and howsoever incurred or
suffered resulting or arising from the use of this e-mail communication
and/or its attachments.
Nashua Communications does not warrant the integrity of this e-mail
communication nor that it is free of errors, viruses, interception or
interference.
Nashua Communications, its divisions and subsidiary companies expressly
excludes sections 11, 12, and 13 of the Electronic Communications and
Transactions Act, 25 of 2002 (“the ECT”) in respect of e-contracting. No
data message or electronic communication will be recognised as having a
legal contractual status under the ECT Act. All agreements concluded by
Nashua Communications will only be legally binding when reduced to physical
writing and physically signed by a duly authorised representative of Nashua
Communications.
For more information about Nashua Communications, visit our website at
www.nashuacommunications.co.za
----------------------------------------------------------------------
Subject: Port Config...
Date: Thu, 2 May 2013 13:22:13 +0100
X-Message-Number: 2
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
----------------------------------------------------------------------
Subject: RE: Port Config...
Date: Thu, 2 May 2013 12:28:01 +0000
X-Message-Number: 3
Hi,
I agree with Nick. It would also be useful to include spanning-tree config
settings (adminedge etc) for the port.
Btw any news on when the 'show vlan portinfo' command will be added to
N/S/K
?
Regards,
Andy
NOC Consultant (ECE-Networking)
Service Desk: +44 (0)845 850 1177
Number One
Paper Mill Drive
Church Hill South,
Redditch,
B98 8QJ
Telephone: +44 (0)845 850 5577
Sent: 02 May 2013 13:22
To: Enterasys Customer Mailing List
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
* --To unsubscribe from enterasys, send email to
enterasys
*
----------------------------------------------------------------------
Subject: Re: Port Config...
Date: Thu, 2 May 2013 12:28:13 +0000
X-Message-Number: 4
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The
find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
* --To unsubscribe from enterasys, send email to
----------------------------------------------------------------------
Subject: Re: - Enterasys Wireless Controller intergration with Enterasys
NAC - SNMP error
Date: Thu, 2 May 2013 17:04:32 +0300
X-Message-Number: 5
Hi Simon,
You should also add an ip helper address pointing to NAC's ip address so
that NAC can resolve the IP address of the client.
Thanks,
Emre
On Thu, May 2, 2013 at 1:02 PM, Read, Simon <
Hi All,****
** **
Would very much appreciate any feedback or suggestions on the following.
I
have a C25 and LPA successfully managed in NetSight via SNMPv3. What I am
trying to do is create a single NAC VNS that allows access for
Authenticated and Unauthenticated, (Guest) devices.****
** **
802.1x authenticated users connect to the VNS and can be remediated, no
problem.****
** **
Unauthenticated users should connect to the VNS and then find themselves
directed to NAC’s login page when they open a browser. I am seeing in NAC
that the connection attempt is, “Accept”, but MAC-to-IP Address
resolution
fails. There are ip helper-addresses on the relevant Core switches VLAN
GW
that point to the DHCP server, the Layer-3 interface created for the NAC
VNS and even the management IP address of the Controller.****
** **
I’ve set debugging for DHCP, IP resolution and SNMP to Verbose and in the
tag.log and I am seeing the following error… ****
** **
null***
*
** **
Has anybody seen this error before and/ or are there any suggestions on
what might be causing it?****
** **
* *
Kind regards, ****
* *
*Simon Read*
*Service Engineer***
** **
** **
[image: Nashua Communications EMAIL Logo2.gif]****
** **
Disclaimer and Confidentiality Note
This e-mail communication, its attachments, if any, and any rights
attaching to it are, unless the context clearly indicates otherwise, the
property of Nashua Communications. It is confidential, private and
intended
for the addressee only. If you are not the intended recipient and receive
this communication in error, you are hereby notified that any review,
copying, use, discloser or distribution in any manner whatsoever is
strictly prohibited. Please notify the sender immediately that you have
received this e-mail in error and delete the e-mail and any copies of it.
Views and opinions expressed in this e-mail are those of the sender
unless
clearly stated as those of Nashua Communications. Nashua Communications
accepts no liability for any loss or damage whatsoever, and howsoever
incurred or suffered resulting or arising from the use of this e-mail
communication and/or its attachments.
Nashua Communications does not warrant the integrity of this e-mail
communication nor that it is free of errors, viruses, interception or
interference.
Nashua Communications, its divisions and subsidiary companies expressly
excludes sections 11, 12, and 13 of the Electronic Communications and
Transactions Act, 25 of 2002 (“the ECT”) in respect of e-contracting. No
data message or electronic communication will be recognised as having a
legal contractual status under the ECT Act. All agreements concluded by
Nashua Communications will only be legally binding when reduced to
physical
writing and physically signed by a duly authorised representative of
Nashua
Communications.
For more information about Nashua Communications, visit our website at
www.nashuacommunications.co.za
--
Emre Kurtman
Enterasys Networks
Cell: +90533 3302766
*There is nothing more important than our customers.*
**
----------------------------------------------------------------------
Subject: Re: Port Config...
Date: Thu, 2 May 2013 15:20:48 +0100
X-Message-Number: 6
Yup, thanks Jay, but that was mainly my point about the port consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought
it would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to
that port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone
previously turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that
text file on the remote box as a second best option. In which case, I
don't
suppose anyone has written a regex or a script that could handle that
have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it
is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in
error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
----------------------------------------------------------------------
Subject: Re: Port Config...
Date: Thu, 2 May 2013 09:34:16 -0500
X-Message-Number: 7
I had want of a feature like that on a C3 this past weekend, actually.
Would have been a handy time saver.
To expand on that idea a bit, I'd love to see an evaluated detailed port
config/status (not a line-item pull from running-config). Something like
"show port config x.x.x detailed" that listed PHY, pvid, egress, counters
(summary), spantree/sg/lp, policy, authentication status, maclock,
etc..etc... Unless I've missed something that already exists.
Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
Date: 05/02/2013 09:21 AM
Subject: Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port
consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that text file on the remote box as a second best option. In which case, I
don't suppose anyone has written a regex or a script that could handle
that have they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
----------------------------------------------------------------------
Subject: RE: Port Config...
Date: Thu, 2 May 2013 10:36:48 -0400
X-Message-Number: 8
If you have the linux install of Netsight, I've used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
[http://www.uk-group.net/images/email_signature_logos/tbwa-uk_group.gif]
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The
find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
* --To unsubscribe from enterasys, send email to
*
* --To unsubscribe from enterasys, send email to
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
* --To unsubscribe from enterasys, send email to
*
----------------------------------------------------------------------
Subject: RE: Port Config...
Date: Thu, 2 May 2013 14:59:52 +0000
X-Message-Number: 9
what about using Awk? it's my precious tool (Golum's voice)
awk '/Media/ {print $7, $8, $9}' ping.txt
Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to few
devices
give it a try... I'm sure you will love it...
Best regards.
________________________________
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...
If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[arcadia-secure-it2-long-small]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The
find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
• --To unsubscribe from enterasys, send email to
•
* --To unsubscribe from enterasys, send email to
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
• --To unsubscribe from enterasys, send email to
•
* --To unsubscribe from enterasys, send email to
----------------------------------------------------------------------
Subject: Re: Port Config...
Date: Thu, 2 May 2013 16:03:03 +0100
X-Message-Number: 10
thanks Samuel. Have used awk a few times and it's certainly a good option -
was just hoping to save some work if anyone had already done it...!
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
On Thu, May 2, 2013 at 3:59 PM, Samuel Garcia Feliciano <
what about using Awk? it's my precious tool (Golum's voice)
awk '/Media/ {print $7, $8, $9}' ping.txt
Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to
few devices
give it a try... I'm sure you will love it...
Best regards.
**
------------------------------
*Enviado el:* jueves, 02 de mayo de 2013 9:36
*Hasta:* Enterasys Customer Mailing List
*Asunto:* RE: [enterasys] Port Config...
If you have the linux install of Netsight, I’ve used grep to find
strings inside of config files. I believe it is something like grep -Hrn
'search term' path/to/files. With Windows you can use DOS, and Findstr
command there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[image: arcadia-secure-it2-long-small]
*Sent:* Thursday, May 02, 2013 9:21 AM
*To:* Enterasys Customer Mailing List
*Subject:* Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port
consolidation.
And those were only examples I gave - ideally one command would show
*any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
*Date: *Thursday, May 2, 2013 8:22 AM
*Subject: *[enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought
it
would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to
that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone
previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that
text file on the remote box as a second best option. In which case, I
don't
suppose anyone has written a regex or a script that could handle that
have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it
is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in
error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
· --To unsubscribe from enterasys, send email to
·
--
This e-mail is intended only for the named person or entity to which it
is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in
error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
· --To unsubscribe from enterasys, send email to
·
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
----------------------------------------------------------------------
Subject: RE: Port Config...
Date: Thu, 2 May 2013 10:05:41 -0500
X-Message-Number: 11
Those are all find suggestions & grep/awk is easy. But to get the
information for a port that's contained within a string (e.g., ge.2.2
within ge.2.1-25), you'll have to write a program in $LanguageOfChoice to
extrapolate this information for you. You're also pulling it from a
saved config instead of running config which could be out of date. Or,
you'll have to write a program to ssh into the switch & pull it live. This
is all doable and fun to a degree, but wouldn't it be easier to simply run
a built-in command to get the same?
Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
Date: 05/02/2013 10:00 AM
Subject: RE: [enterasys] Port Config...
what about using Awk? it's my precious tool (Golum's voice)
awk '/Media/ {print $7, $8, $9}' ping.txt
Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to
few devices
give it a try... I'm sure you will love it...
Best regards.
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...
If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port
consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
would be helpful to be able to type a command on a switch - something
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit
any changes to an SVN repo, so I could run a command against a copy of
that text file on the remote box as a second best option. In which case, I
don't suppose anyone has written a regex or a script that could handle
that have they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
· --To unsubscribe from enterasys, send email to
·
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
please delete
the e-mail from your system, retaining no copies in any media. We
appreciate your cooperation.
· --To unsubscribe from enterasys, send email to
·
----------------------------------------------------------------------
Subject: Re: Port Config...
Date: Thu, 2 May 2013 15:09:01 +0000
X-Message-Number: 12
Ooohh. Just had a flashback of the SSR command that would extrapolate the
condensed config …
Date: Thursday, May 2, 2013 11:05 AM
Subject: RE: [enterasys] Port Config...
Those are all find suggestions & grep/awk is easy. But to get the
information for a port that's contained within a string (e.g., ge.2.2
within ge.2.1-25), you'll have to write a program in $LanguageOfChoice to
extrapolate this information for you. You're also pulling it from a saved
config instead of running config which could be out of date. Or, you'll
have to write a program to ssh into the switch & pull it live. This is all
doable and fun to a degree, but wouldn't it be easier to simply run a
built-in command to get the same?
Derek Johnson | Data Communications Coordinator
FORT HAYS STATE UNIVERSITY
415 Lyman Dr. TH 101, Hays, KS 67601
From: Samuel Garcia Feliciano
To: "Enterasys Customer Mailing List"
Date: 05/02/2013 10:00 AM
Subject: RE: [enterasys] Port Config...
________________________________
what about using Awk? it's my precious tool (Golum's voice)
awk '/Media/ {print $7, $8, $9}' ping.txt
Media = Word to look for in ping.txt file
ping.txt = is a file with acumulative results (>>) from ping command to few
devices
give it a try... I'm sure you will love it...
Best regards.
________________________________
Desde: Brian Anderson - ASI
Enviado el: jueves, 02 de mayo de 2013 9:36
Hasta: Enterasys Customer Mailing List
Asunto: RE: [enterasys] Port Config...
If you have the linux install of Netsight, I’ve used grep to find strings
inside of config files. I believe it is something like grep -Hrn 'search
term' path/to/files. With Windows you can use DOS, and Findstr command
there: http://www.computerhope.com/findstr.htm
Thanks,
Brian Anderson
Network Engineer
3000 United Founders Boulevard, Suite 212
Oklahoma City, Oklahoma 73112
C +1 (501) 690-3305
F +1 (405) 562-8669
[arcadia-secure-it2-long-small]
Sent: Thursday, May 02, 2013 9:21 AM
To: Enterasys Customer Mailing List
Subject: Re: [enterasys] Port Config...
Yup, thanks Jay, but that was mainly my point about the port consolidation.
And those were only examples I gave - ideally one command would show *any*
line of config which referenced the given port - spanning tree, policy,
maclock - anything.
N.
Nick Allen
IT Director
[cid:_1_0C9653900C9651240052EB6586257B5F]
76-80 Whitfield Street
London, W1T 4EZ
Direct: +44 20 7573 6792
Mobile: +44 7970 121 609
Main: +44 20 7573 6500
Reg. Office: TBWA UK GROUP Ltd, 239 Old Marylebone Road, London, NW1 5QT
Company Reg. #: 4332188 (UK)
Company VAT #: GB 656 8994 61
On Thu, May 2, 2013 at 1:28 PM, Auger, Jay (IS)
show config port |find ge.1.3
show config |find ge.1.3
Only limiting factor would in the case of port consolidation (like your
duplex below). You might have ports ge.1.1-10 configured in a command.
The
find command wouldn't match on ge.1.3 for this string.
Oh ya, not for the C-series, only N/K/S (AFAIK).
Jay
Date: Thursday, May 2, 2013 8:22 AM
Subject: [enterasys] Port Config...
Hi,
We have S-series, N-series, C-series switches and I have always thought it
show config port ge.1.3
and have it return all the lines of non-default config which refer to that
port - duplex, speed, lacp, alias, mirroring, vlan egress etc - for
show config port ge.1.3
set port alias ge.1.3 lon-srv1-nic1
set port duplex ge.1.1-10 full
set port lacp port ge.1.3 aadminkey 333
set port negotiation ge.1.3 disable
set port vlan ge.1.3 14
set vlan egress 15 ge.1.2-8;lag.0.1-2 tagged
set vlan egress 121 ge.1.1-5;ge.2.12-15;lag.0.1-3 untagged
Mainly when re-purposing a port, it's useful to know if someone previously
turned off negotiation etc, or had it as part of a LAG.
Obviously stepping through the config file is do-able but a can be a bit
time-consuming.
Is there already anything like this - preferably from the command line?
Assuming there isn't, then we pull our configs off regularly and commit any
changes to an SVN repo, so I could run a command against a copy of that
text
file on the remote box as a second best option. In which case, I don't
suppose anyone has written a regex or a script that could handle that have
they?
Thanks,
N.
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
• --To unsubscribe from enterasys, send email to
•
* --To unsubscribe from enterasys, send email to
--
This e-mail is intended only for the named person or entity to which it is
addressed and
contains valuable business information that is proprietary, privileged,
confidential and/or
otherwise protected from disclosure. If you received this e-mail in error,
any review, use,
dissemination, distribution or copying of this e-mail is strictly
prohibited. Please notify
us immediately of the error via e-mail to
please
delete
the e-mail from your system, retaining no copies in any media. We
appreciate
your cooperation.
• --To unsubscribe from enterasys, send email to
•
* --To unsubscribe from enterasys, send email to
enterasys
* --To unsubscribe from enterasys, send email to
* --To unsubscribe from enterasys, send email to
---
END OF DIGEST
---
--
This e-mail is intended only for the named person or entity to which it is addressed and
contains valuable business information that is proprietary, privileged, confidential and/or
otherwise protected from disclosure. If you received this e-mail in error, any review, use,
dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify
us immediately of the error via e-mail to ***@uk-group.net and please delete
the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.

---
To unsubscribe from enterasys, send email to ***@unc.edu with the body: unsubscribe enterasys gneu-***@gmane.org
Loading...