Unfortunately there is not a general solution for this problem. For
Cisco IOS switches the vlanTrunkPortDynamicStatus
(.1.3.6.1.4.1.9.9.46.1.6.1.1.14) provides the information you're looking
for, provided what you mean by 'trunking' is ISL trunking. Sometimes
people include non-trunk uplinks in what they mean by 'trunking'. If
this is the case, analysis of the CDP mib shows switch to router or
switch to switch bridged connectivity. Note that the above table will be
empty if no vlans are configured on the switch, regardless of whether
there are ports configured as trunks.

Other switch vendors will provide this information in other vendor mibs.

Dave


David R. Hill
ISD Network Management Team
Wal-Mart Stores, Inc.
805 Moberly Lane, MS 0560-31
Bentonville, AR  72716-0560
[EMAIL PROTECTED]



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefano
Sent: Sunday, October 02, 2005 7:38 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Trunk pork with snmp


Hi all, 
 
i need to know, when i parse a switch, if a port is a trunk port or
not...how
can i do this with snmp??? 
 
Maaaanyyy thanks 

Yours

--
Stefano
Stefano Corallo
email:[EMAIL PROTECTED]

__________________________________________________________________
TISCALI ADSL
Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone 
Telecom a partire da 19,95 Euro/mese.
Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI:
http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/





-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads,
discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-----------------------------------------
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the individual or entity to whom they are
addressed. If you have received this email in error destroy it
immediately.
**********************************************************************
Wal-Mart Confidential
**********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to