Polling port-profile max-ports via snmp
Team,
We have been caught out by the default setting of max-ports=32 in our cloud environment. Our processes dictate that we cannot simply go and change this setting across all customers so instead we need to monitor the setting for any customers geting clsoe to 32.
Can someone tell me if there's an oid to query port-profile information via snmp for a Nexus 1000V?
I've done some simple searching and couldn't find it.
Failing that, do we have to execute a script to login and do a show run?
Ryan
BRIDGE-MIB has the OIDs to monitor RSTP.
topologyChange NOTIFICATION-TYPE
-- OBJECTS { }
STATUS current
DESCRIPTION
"A topologyChange trap is sent by a bridge when any of
its configured ports transitions from the Learning state
to the Forwarding state, or from the Forwarding state to
the Blocking state. The trap is not sent if a newRoot
trap is sent for the same transition. Implementation of
this trap is optional."
::= { dot1dNotifications 2 }
dot1dStpPortState OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
blocking(2),
listening(3),
learning(4),
forwarding(5),
broken(6)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The port's current state, as defined by application of
the Spanning Tree Protocol. This state controls what
action a port takes on reception of a frame. If the
bridge has detected a port that is malfunctioning, it
will place that port into the broken(6) state. For
ports that are disabled (see dot1dStpPortEnable), this
object will have a value of disabled(1)."
REFERENCE
"IEEE 802.1D-1998: clause 8.5.5.2"
::= { dot1dStpPortEntry 3 }
Similar Messages
-
Nexus 6004: Question about port-profile type port-channel
I'm setting up a new deployment of Nexus 6004 switches and want to utilize port-profiles as much as possible to simplify management down the road.
All uplinks to other switches, routers and firewalls will be connected using VPC:s. On the port-channels (vpc) the only thing that will change over time is the allowed vlans.
It seems that port-profiles of the type port-channel does not behave in the same way as those with type ethernet, at least not when adding vlans.
If I modify the port-profile using "switchport trunk allowed vlan add XXX" it will delete the previous config and only retain "switchport trunk allowed vlan add XXX", and not merge it with the previous config as is expected.
Question: Is this a bug or is it working as intended?
RH_N6K4_01(config-sync)# switch-profile rh
Switch-Profile started, Profile ID is 1
RH_N6K4_01(config-sync-sp)# port-profile type port-channel FIREWALL-UPLINK
RH_N6K4_01(config-sync-port-prof)# switchport trunk allowed vlan 3
RH_N6K4_01(config-sync-port-prof)# verify
Verification Successful
RH_N6K4_01(config-sync-sp)# commit
Verification successful...
Proceeding to apply configuration. This might take a while depending on amount of configuration in buffer.
Please avoid other configuration changes during this time.
Commit Successful
RH_N6K4_01(config-sync)# show port-profile
SHOW PORT_PROFILE
port-profile FIREWALL-UPLINK
type: Port-channel
description:
status: enabled
max-ports: 512
inherit:
config attributes:
switchport mode trunk
switchport trunk allowed vlan 3
evaluated config attributes:
switchport mode trunk
switchport trunk allowed vlan 3
assigned interfaces:
===================================
RH_N6K4_01(config-sync-sp)# port-profile type port-channel FIREWALL-UPLINK
RH_N6K4_01(config-sync-port-prof)# switchport trunk allowed vlan add 84
RH_N6K4_01(config-sync-port-prof)# verify
Verification Successful
RH_N6K4_01(config-sync-sp)# commit
Verification successful...
Proceeding to apply configuration. This might take a while depending on amount of configuration in buffer.
Please avoid other configuration changes during this time.
Commit Successful
RH_N6K4_01(config-sync)# show port-profile
SHOW PORT_PROFILE
port-profile FIREWALL-UPLINK
type: Port-channel
description:
status: enabled
max-ports: 512
inherit:
config attributes:
switchport mode trunk
switchport trunk allowed vlan add 84
evaluated config attributes:
switchport mode trunk
switchport trunk allowed vlan add 84
assigned interfaces:
Expected behavior here would be "switchport trunk allowed vlan 3,84". This only occurs when using "port-profile type port-channel" not when using "port-profile type ethernet"<> is template syntax and is generally the type of object a container holds.. So it is defining that the MSGQUEUE type is a deque holding struct_buffer*'s.
-
Port counters via snmp on WRVS4400N
Hi.
I'm using SNMP to read the packet and byte counters on each port on my WRVS4400N. However, I just can't figure out what interface is what port. Also, can I see the total traffic on all ports together as well as the wireless traffic via snmp, which I can see in the web admin interface?
An snmpwalk gives me the following interfaces:
IF-MIB::ifDescr.1 lo
IF-MIB::ifDescr.2 eth0
IF-MIB::ifDescr.3 eth1
IF-MIB::ifDescr.4 eth2
IF-MIB::ifDescr.5 teql0
IF-MIB::ifDescr.6 sit0
IF-MIB::ifDescr.7 tunl0
IF-MIB::ifDescr.8 gre0
IF-MIB::ifDescr.9 ipsec0
IF-MIB::ifDescr.10 ipsec1
IF-MIB::ifDescr.11 ipsec2
IF-MIB::ifDescr.12 ipsec3
IF-MIB::ifDescr.13 br0
I have equipment connected to LAN port 1, 2 and 4 as well as wifi clients. And on the WAN port of course. This is what I get in terms of traffic via snmp (only listing ifInOctets here)
IF-MIB::ifInOctets.1 13454252
IF-MIB::ifInOctets.2 1112133396
IF-MIB::ifInOctets.3 1436498580
IF-MIB::ifInOctets.4 11981231
IF-MIB::ifInOctets.5 0
IF-MIB::ifInOctets.6 0
IF-MIB::ifInOctets.7 0
IF-MIB::ifInOctets.8 0
IF-MIB::ifInOctets.9 0
IF-MIB::ifInOctets.10 0
IF-MIB::ifInOctets.11 0
IF-MIB::ifInOctets.12 0
IF-MIB::ifInOctets.13 1080353959
Any ideas here is appreciated. Thanks.
/ThomasThe RFC1213 Management Information Base for Network Management of TCP/IP-based internets: MIB-II describe the ifDescr value as:
ifDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the hardware interface."
There is no standard values for the interface description and you will have to guess from the given name and device caractheristic.
You can also check the OID .1.3.6.1.2.1.2.2.1.3 ifType that can give you a better idea about what it is.
From what you sent we can guess that:
eth0-2 are three Ethernet Interface. But where is the 4th Ethernet interface? Probably it has another name
telq0 should be a load balancing or agregating virtual interface, I guess used for the QoS supported by the router
ipsec0-3 maybe the virtual interface for the ipsec traffic
tunl0 probably the VPN virtual interface
For the reste... you will have to dig a little
I hope this help
Minds are like parachutes, they only function when they are open -
Need SNMP OID for MSTP status in Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch
Hi,
I have configured redundant network using two Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch through MSTP & it's working fine.
I need OID of MSTP status from which I can monitor which Switch is active and which one is in standby mode.
Please help.
Thanks,
HarshaHi Harsha,
check these OID's:
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.500.1.2.1.1.6&translate=Translate&submitValue=SUBMIT
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=cRFStatusUnitState&translate=Translate&submitValue=SUBMIT&submitClicked=true
Thanks-
Afroz
**Ratings Encourages Contributors *** -
Need SNMP OID of MSTP status for Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch
Hi,
I have configured redundant network using two Cisco SG300-28MP 28-port Gigabit Max-PoE Managed Switch through MSTP & it's working fine.
I need OID of MSTP status from which I can monitor which Switch is active and which one is in standby mode.
Please help.
Thanks,
HarshaHi Harsha,
check these OID's:
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.500.1.2.1.1.6&translate=Translate&submitValue=SUBMIT
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=cRFStatusUnitState&translate=Translate&submitValue=SUBMIT&submitClicked=true
Thanks-
Afroz
**Ratings Encourages Contributors *** -
Serial Port Profile (SPP) and Object Push Profile (OPP)
I just bought a new Blackberry Curve 8320. And am having several difficulties with it which I will list separately.
With other phones (like the Motorola RAZR V3t) I could send contacts from my Pocket PC HP iPaq via Bluetooth. When I try to do this with the Blackberry, the Pocket PC says that it cannot connect to the Object Push Profile (OPP) in the remote device (which is the Blackberry).
With other phones (like the Motorola RAZR V3t) I could dial contact from my Pocket PC HP iPaq via Bluetooth. When I try to do this with the Blackberry, the Pocket PC says that it cannot connect to the Serial Port Profile (OPP) in the remote device (which is the Blackberry).
Please and Thanks in advance for your help.
Kudos! Thanks!Luisfigueredo,
Please do not post the same thread twice.
See my response in relation to your bluetooth question on ur previous thread.
http://supportforums.blackberry.com/rim/board/message?board.id=8300&message.id=9228#M9228
If your issue is resolved, put a checkmark in the green box that contains the resolution.
OR
If it was just/or also really helpful - Give it a Kudos.. Go on Mate.. Help the rest of the clueless blackberry user world find their answer too..
~Gday from Down Under~ -
I have a profile uplink which include a system vlan of 50, 60, 220
thne i also have a port profile for vlan 50 and 60
but when i connect a vm to this port group, i do not get any connection.
however other vlans that are not set as system vlan on the uplink are working fine on their own port group.
any idea why?here is an example from my configs I use.
port-profile type ethernet system-uplink-03
vmware port-group
switchport mode trunk
switchport trunk native vlan 1034
switchport trunk allowed vlan 1031-1034
channel-group auto mode on mac-pinning
no shutdown
system vlan 1031-1033
description Development system profile for critical ports and vm traffic
state enabled
1031-1034 are vmware mgmt, ip storage and vmotion in this instance vcenter was in a different environment I have I think about 12 different system uplink port profiles
here is a port-profile:
port-profile type vethernet 03-development-vmsc
capability l3control
vmware port-group
switchport mode access
switchport access vlan 1031
no shutdown
system vlan 1031
max-ports 32
description 03 Development ESXi Management
state enabled
hope this helps. -
Nexus1000v: Is changing "max-ports" disruptive?
Hi,
i ve to change "max-ports " in a vethernet port-profile.
Does this command cause a disruption on other VMs?
Nexus 1000v version 4.2(1)SV1(4)
Thanks!
AndreasAndreas,
Increasing the port count with max-ports parameter does not affect the existing traffic.
http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_v_1_4_a/port_profile/configuration/guide/n1000v_portprof_2create.html#wp1074403
HTH
Padma -
My understanding of the uses of port profiles includes the implementation of Nexus 1K/5K etc. and the implementation of VM-FEX correct? These port profiles are then pushed to vCenter to be used by the VM's offloading the networking portion back to UCSM and not the VM admin... Is this correct?
N1k/N5k/UCS VM-FEX port-profiles are used by both the network & VMware administrator. The network administrator creates the port-profile & assigns properties (VLAN, QoS, ACL, etc) - available features differ on each product with N1k offering the most features. After the the port-profile is create it is automatically advertised in vCenter. The vCenter admin then assigns port-profiles to VM interfaces and vmnics. This essentially separates the network & system admin roles so that each person concentrates on their area of expertise.
Port-profiles are also available on standalone N5k/N7k to be used at interface templates when not integrating with VMware. -
How can we transport the partner profiles and Port configurations
Hi everybody,
How can we transport the partner profiles and Port configurations. While creating these , system will not ask for Dev class and we cant assign any Transport request number. Then How can we transport these settings?
Your replies are really apreciable.
Thanks and Regards,
Vijay.Hi,
please have a look of the OSS note: 182172
>>
The partner profiles are stored in the following tables:
Table EDPP1: General partner profile
Table EDP12: Partner profile outbound, additional data NAST
Table EDP13: Partner profile outbound
Table EDP21: Partner profile inbound
Table EDIPHONE: Connection to SAP telephony (optional)
You can use R3TR TABU to manually set the tables into a Customizing request (as of Release 46, into a SYST-type request).
<<
Rgd
Frédéric -
Proxy Host and Proxy Port Profiles
Hi Hussein,
Could you let me know when we use Proxy Host and Proxy Port profiles. Where it will be used.
Regards,
Satya.Hi Satya,
Are you referring to the following variables? If yes, then it is whenever you need the application to connect to the internet and a proxy server is required (an example is when you want to access Metalink from OAM to download application patches).
- Applications Server-Side Proxy Host And Domain (s_proxyhost)
- Applications Proxy Port (s_proxyport)
Note: 297689.1 - Unable to update MetaLink credentials from OAM
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=297689.1
Regards,
Hussein -
How to transport the configuration of partner profiles and ports from Development to Quality systems.
Hi vidya,
Go through this hope u can get the solution.
WE20 Partner Profile
Here we create partner profile for each and every partner from / to which
the messages will be exchanged.There are 6 types of PF generally only
profiles of type LS(Logical System) ,KU(Customer) ,LI(Vendor) is used.
We specify the partner number and partner type and the agent and
the agent type responsible for handling of errors .
For every message send to the partner we have a outbound record and for
evry message coming from the partner we have the inbound record .
We specify the message in the otbound/inbound records ,double
clicking will take us to the detailed screen where the IDOC Type ,Port
and whether the IDCO will be immediatelt processed or collected are
mentioned.
WE21 Port Definition.
There are 6 types of ports but only 2 types File and Transactional RFC
types of ports are important.
We have to specify the RFC Destination before a port can be created.
SM59 RFC Destination
Here we specify the login settings for the destination including
the I.P address or Application Server name and the User name and
password.The information entered here is used to run Remote Function
Calls(RFC ) on the destination server .We can create number of types
of RFC Destinations but 3 types are important .
R/3 (R/3 to R/3), LS(logical system) and TCP/IP.
The name of the RFC destination should be same as that of Logical
System as it helps in creation of automatic partner profiles.
BD64 Distribution Model . Also known as Customer Distribution Model Used to
define all the messages that will be exchanged between remote systems
and the name of thes logical systems. Any filters can also be specified.
The model once created has to be distributed on every system which will
be communicating ,It can be maintained on only One system.
Reward points if helpful.
Thanks
Naveen khan -
SCVMM 2012R2 - change port profiles and logical Switches
Dear all,
we are runnings a few clusters with Hyper-V 2012R2, managed by SCVMM 2012R2.
I have configurad a Logical switch "Cluster-Default" with the necessary Logical networks, Port Pofiles etc., everything works fine.
Now I have to make an additional network available to some of our VMs that is currently not configured in the Switch and the Uplink Port profile.
Can I add Logical and VM Networks to a port profile that is "in use"?
If Yes, how will these changes be applied to the hosts that are using the switches?
(I have searched through technet and have found a lot about creating switches and profiles, but not about changing them)
If No - how can I proceed?
best regards
MarkusYes, Network Sites can be added to Uplink Port Profiles that are in use. The VM Networks for the associated Logical Networks will then be available for use by vNics connected to the Logical Switch using the updated Uplink Port Profile.
-
Physical computer profile "Error 21505" setting management vNic port profile
Hi
Versions: WS2012R2, VMM 2012R2 CU4.
I am creating a Physical computer profile for bare metal deployment of hosts that will eventually form a Hyper-V cluster. I have 4 pNics and have configured 2 pNics as a switch for the VMs (guest traffic). The last two pNics are form a logical
switch with three vNics for host comms (management, heartbeat and Live Migration). The problem I am facing is that when I set the port classification for the management vNic to "Host management" the job returns the following
error:
Error 21505
The specified network adapter profile cannot be removed because it is associated with another network adapter profile as a transient management network adapter.
Recommended Action
To remove this network adapter profile, first remove the associated network adapter profile.
As indicated by the error I do have a pNic set as a transient management network adapter, and this has an uplink port profile set (as it is used to create the switch required for host comms). I don't get why this isn't working and I can't find anything
online regarding the error. Does anyone have any ideas on how to get this to work?
I should mention that I created the (almost) excact profile pre CU4 and this produced no error in the jods view.
/TrondHi Sir,
>>I should mention that I created the (almost) excact profile pre CU4 and this produced no error in the jods view.
Please try to keep it up-to-date .
The latest UR is 5 :
http://blogs.technet.com/b/scvmm/archive/2013/04/10/update-rollup-5-for-system-center-2012-vmm-2012-fixes.aspx
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
SCVMM2012r2 UR3 : Even with no Virtual switch assigned, an uplink port profile remains
Hi,
What I'm tryng to do, is to unassign an uplink set on my host, set to the wrong NIC (actually, on 3 NIC, event if I specified 2 when I added the logical switch...).
To proceed, I deleted the Logical Switch assigned in the host properties on Virtual Switches tab.
On my host, the teaming has been deleted, but unfortunately, on one of my NIC, the subnet set in my Logical Network subsit in "Logical Network Connectivity" and is greyed out.
It's said "The subnet an VLAN information is set by an uplink port profile set 'tVMNet' associated to this host an cannot be changed here".
But, if I removed the virtual switch, how can it be?
Thanks for any advice, I'm stuckHi all,
I did finaly remove the cluster from SCVMM and added it back, and it's working now. No more ghost config remaining.
I'm working on SCVMM from 3 days now, and I'm really not sure that's the easy to use tool we need to manage our small private cloud... It's buggy, slow, oposite of ergonomic and far too much cloud provider oriented...
Maybe you are looking for
-
Qosmio G35 - Display not coming on at boot up
I recently was trying to increase start up speed by getting rid of things I didn't think I needed running. Now when I boot my Qosmio G35 I have to hit the FN F5 keys to see anything on the screen? And when I got home I couldn't get it to extend the s
-
I have the Snow Leopard installation disc and my aunt has a PowerBook G4 12 in. and we were wondering if the installation could affect in something. I'm not sure but she has Tiger.
-
UWL tasks coming as emphasized(Bold) and unclickable
Hi All, We have custom webdynpro application. We have configured UWL xml for these applications and tasks are coming to the UWL. But some times tasks are emphasized (bold) and donot come as link. Even we are refreshing the tasks remain bold and uncli
-
How do I move iPhoto to new mac
Software application, and photos, etc.
-
Is it possible to layer video? If so how is this accomplished. (there is an archived message regarding this with links that do not work for iMovie 08) thanks a bunch I have 3 videos that I would like to layer into One. Do some cross fading etc I have