How to add vlan virtual interface on a Catalyst Using SNMP

Hi,
I need some assistance in locating the  mib/variables to allow me to add and remove vlan
virtual interface on Catalyst 3759G. If I understand correctly CISCO-VTP-MIB can not  carry
out this requirement.
Is there another way of accomplishing  this using SNMP ?
Thanks,
Zhou

You cannot add a new interface directly using SNMP.  However, you can use the CISCO-CONFIG-COPY-MIB to copy a config snippet into the running configuration which can create a new VLAN interface.  See http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094aa6.shtml for more details.

Similar Messages

  • How to add an virtual disk device

    I remember i have seen one doc describe how to add an virtual disk device in solaris system, but I forget it now, can somebody help me?

    not sure what you are trying to achieve...
    However you should not be referring to Luns via their logical device i.e. c0t0d0, but using the unique did device or the /global device. refer to scdidam -L which will list all the did devices across all nodes and map them to the logical device path.

  • How to Add a Physical Interface After Installation in Solaris 10

    How to Add a Physical Interface After Installation in Solaris 10
    Hi Java Specialist,
    I am trying to setup a network interface with the following steps on a new fresh Solaris 10 installation using the instruction titled How to Add a Physical Interface After Installation in Solaris 10 3/05 ONLY from http://docs.oracle.com/cd/E19253-01/816-4554/esxhb/index.html:
    1. # ifconfig lo0 plumb up
    2. # ifconfig lo0 10.56.8.101 netmask 255.255.240.0. This was the working Windows DHCP environment prior to installing Solaris
    10 on top of it.
    3. # Added saturn to /etc/hostname.lo0.
    4. # Added 10.56.8.101 to /etc/inet/hosts
    5. # Added 10.56.0.0     255.255.240.0 to /etc/inet/netmasks
    6.# reboot
    However, the following errors kept recurring:
    svcs –xv …. unable to qualify my own domain name,
    failed with exit status 69.
    Any idea on what other steps have I missed? I was hoping to only do step 3 – 6 for the change to apply permanently.
    Many thanks,
    Jack

    Hi Java Specialist,... in a Solaris forum?
    1. # ifconfig lo0 plumb upThe loopback connection (your lo0)is NOT a physical interface. There are no hardware components for it. Nor can I think of any reason why it should ever be anything other than the default 127.0.0.1
    Use your favorite Internet search site (such as Google, Bing, Yahoo) to learn more about it.
    2. # ifconfig lo0 10.56.8.101 netmask 255.255.240.0. This was the working Windows DHCP environment ...I have no idea how a nonexistent software construct gets a DHCP address in a MS Operating System, unless you are confusing this with the "Microsoft Loopback Adapter" which is an utterly different concept. Again, go see what Google tells you.
    <br>
    <br>
    <br>
    ... completely unrelated to configuring an IP...
    unable to qualify my own domain nameAgain, search the Internet or even search these forums with that string of words.
    Go back through your two most recent posts and read the responses again.
    They seem to both be on the same topic as this new one -- configuring an IP on something.
    How to initialize new IP address on secondary interface permanently
    How to change IP address permanently on Solaris 10
    When you've done all that, then come back and tell us what you are actually trying to do.

  • How to add a virtual qwerty to facebook LoginWindow

    Hello every one!
    This is my first Discussion on this forum, i have read this a few times looking for solutions, but i not for asking...
    Well, my problem is that i am developing a software usig flex builder for a all in one computer. One of the thing that the aplication does is that the user could connect to facebook in order to upload a picture. I have use the API for facebook and goes OK, and i also implement a virtual qwerty for writting into the aplication textInputs, but i want to mix both.
    I mean, i would be very grateful if someone knows how to add to the loginWindow (thats appear when use the login method of facebook) a qwerty that can write into the fields.
    Thanks in advance!!!
    melli182

    I finally add the qwerty keyboard to the log in window, adding it to the html.stage, but cause i cant refer to the email text input in facebook log in, i implement a java function which emulate a physical keyboard, but unfortunately when i press the virtual keyboard i los focus into the text input and the letters are not written into the field...
    anyone knows how i could mantain the focus into the field so i could write into it using the virtual keyboard???
    thanks in advance!!!

  • How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

    I created a virtual machine on vmware workstation 6 and installed OEL4.
    during first install I created 20 GB disk but now I want to add more disks.
    from vmware documentation I tried to add more 8 gb disk to the virtual host.
    under devices I see two lines;
    Hard Disk (SCSI 0:0) 20.0 GB
    Hard Disk (SCSI 0:2) 8.0 GB
    but I must be missing some step since I can not see 20 + 8 gb at df;
    [root@antuhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              13G  9.7G  2.3G  82% /
    none                  506M     0  506M   0% /dev/shm
    /dev/sda2             4.9G  851M  3.8G  19% /homeThank you.

    Oh the check the answer from Re: How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

  • How to add VLAN to trunk port on Cisco SF200-24

    Hello All,
    I have question want to ask: 
    I have Cisco switch SF200-24 I want to configuration VLAN as below:
    Port 1 to 10 = Vlan 100
    Port 11 to 21 = Vlan 200
    Port 22 to 24 = Vlan 300
    Port GE1 = Trunking (Primary)
    Port GE2 = Trunking (Secondary)
    How to add all VLAN 100, 200, 300 go through Trunking Primary and Secondary?
    Which port can I connect for management switch?
    Thanks 

    > How to add all VLAN 100, 200, 300 go through Trunking Primary and Secondary?
    firstly set those ports as trunks via "VLAN Management" -> "Interface settings" - click on corresponding port, click on "edit.." button and select "Trunk" from list.
    Once those ports (GE1 and GE2) are as trunks, you can now assign them all desired VLANs via "VLAN Management" -> "Port VLAN Membership". Select first port (GE1), click "join VLAN" and select all desired VLANs from left list and put them to right list.
    and you are done.
    > Which port can I connect for management switch?
    by default, switch management IP is a part of default VLAN1. If you wanted to keep access to your switch, assign "VLAN1" to one of access ports, or change management VLAN to different number than 1 - but in this case dont forget to apply correct IP settings in order to meet subnet assigned in new VLAN.

  • How to add a virtual disk into a 'guest VM' after VM has been created?

    Well, it was easy when one need to add a virtual disk before creating a guest VM. All need to do was to edit the template and click on disk tab and create a virtual disk.
    However the challenge comes after created a 'guest VM'. I need to add additional virtual disk into this 'guest VM'.
    This is what I did.
    Click on Repositories tab --> Under repositories--> Virtual Disks. There is a green "+" sign. Click on it. It says create virtual disk. Follow the instruction, I enter the virtual disk name, size, and select if it is spare or non-spare. Hit ok. Well, everythings seems fine.
    Next, I click on the "blue folder" icon which indicated import virtual disk. It asked me about Virtual disk download location.
    According to the manual, http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-repo.html#vmusg-repo-vdisk
    Virtual Disk download location: The URL for the virtual disk file. The URL protocols supported are HTTP, HTTPS, and FTP. For example:http://example.com/vdisks/myvdisk.img
    How can I determine what is the URL in my case?
    Where is the newly created virtual disk located? Isn't it supposed to be in Oracle Server? But it doesn't have  a http server running there.
    Please help.
    Thank you.

    Virtual disks can only be added and removed at runtime from a PVM. You don't even need to know anything special. Just create the vdisk and use the VMs settings to occupy another slot with the new vdisk.
    But as I said… this works only with PVMs, not HVMs. In case of a HVM, you will need to shut down the VM and add the disk afterwards, then fire it back up.
    The little folder with the blue down arrow is for importing an existing vdisk file from a web- or ftp server. If you have already created the vdisk, you won't need that.

  • How to add a virtual host on AppServer 10G R3?

    Hi, where can I found a guide to add a virtual host for 10G R3?

    I guess you ment 10.1.3.X with 10GR3?
    Anyway, just start here and look for virtualhost: http://download.oracle.com/docs/cd/B32110_01/web.1013/b28948/toc.htm

  • How to add a link to an interactive svg using edge commons library

    Hi,
    I've been playing around with this wonderful Edge Commons interactive SVG tutorial
    My question is : How to add an external link "url" to an interactive svg using edge commons library ?
    Edge commons example file :
    http://edgedocks.com/market/interactive-svg-example-project-edge-commons
    Edge commons  video tutorial :
    http://www.youtube.com/watch?v=4UEB6gaLKuw
    I have adapted this tutorial to an interactive map, http://madudesign.com/works/france/ every thing is going fine until I couldn't figure out to link a particular url on each part of the region of the map.
    I managed to figure out how to change colors on the different parts of the map on mouse over and mouse out but I'm not quite comfortable with JavaScript since I don't use it every day...
    I have tryed to link to an url by passing it on the illustrator layer and via the onclick event (event.target.id) to a simple url
    http://redpen.io/6svh5u
    then working in Edge and publishing on the browser the link returns me a weird url line by replacing the original url slashes "//" by "_x2F_" and I must have misunderstood the proper JavaScript line to open that link from there...
    for example on my actual exemple "http://madudesign.com/works/france/"
    the first top region of France is normally a link to "http://www.google.com" and it returns "http:_x2F__x2F_www.google.com" plus the complete path to the file too...
    I don't know how to get around this trick and have back for each region a particular clean link from the event target id of the svg...
    thank-you for any help
    matt
    link to my edge animate file if needed :
    http://madudesign.com/works/france/carte_de_france.zip

    I got an answer from the Edge Commons dream team and I am very grateful to them :
    "The problem that you bumped into was that you hadn't included a valid URL so far. We weren't sure if you wanted to include them within the SVG file or if you wanted to implement the functionality within Edge Animate. We came up with a solution for the latter one, with a simple switch in the js code:
    You have to type in the appropriate URL of course for all the cases."
    I have to share the final result:
    http://www.madudesign.com/works/france/france_map/
    And the zipped project file:
    http://www.madudesign.com/works/france/france_map.zip
    Thanks to Daniel & Simon
    Matt

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to add hash table values to SQL Table using Powershell

    Hi,
    I have sharepoint list with four(column1, column2, column3,column4)columns.I am reading the list column values and adding to hashtable. Now I want to add values from hastable to SQL table with four(column1, column2, colum3,column4)columns using powershell.
    I have written the following script for single column but I would like to know how to add values for multiple columns.
                if(($key -eq "Column1") )
                   $SqlQuery = "INSERT INTO [TableName] ([Column1]) VALUES ('" + $HashTable.Item($key) +"')"
                   #Set new object to connect to sql database
                   $connection = new-object system.data.sqlclient.sqlconnection
                   $Connection.ConnectionString ="server=SQLServerName;database=SQLDBName;Integrated Security = True;"
              $connection #List connection information 
                   $connection.open() #Open Connection
                 $Cmd = New-Object System.Data.SqlClient.SqlCommand
                 $Cmd.CommandText = $SqlQuery
                   $Cmd.Connection = $connection
                  $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
                  $SqlAdapter.SelectCommand = $SqlCmd
                  $DataSet = New-Object System.Data.DataSet
                  $SqlAdapter.Fill($DataSet)
                  $DataSet.Tables[0]
                  $connection.Close()
    Can anybody please help me out to accomplish the task? Any help would be greatly appreciated.
    AA.

    Hi AOk2013,
    Not knowledgable on PowercShell, based on my understanding on HashTable in Java, Some modification you can make in your code to achieve your requirement.
    If the Keys in HashTable are "Column1","Column2","Column3","Column4", you can reference below.
    if(($key -eq "Column1") ) #what is the purposed of this if ?
    #$SqlQuery = "INSERT INTO [TableName] ([Term]) VALUES ('" + $HashTable.Item($key) +"')"
    #specify the real column names in the table
    $SqlQuery = "INSERT INTO [TableName] ([ColumnA],[ColumnB],[ColumnC],[ColumnD]) VALUES ('" + $HashTable.Item("Column1") +"','"+ $HashTable.Item("Column2") +"','"+$HashTable.Item("Column3") +"','"+$HashTable.Item("Column4") +"')"
    #Set new object to connect to sql database
    $connection = new-object system.data.sqlclient.sqlconnection
    $Connection.ConnectionString ="server=SQLServerName;database=SQLDBName;Integrated Security = True;"
    $connection #List connection information
    $connection.open() #Open Connection
    $Cmd = New-Object System.Data.SqlClient.SqlCommand
    $Cmd.CommandText = $SqlQuery
    $Cmd.Connection = $connection
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $SqlAdapter.SelectCommand = $SqlCmd
    $DataSet = New-Object System.Data.DataSet
    $SqlAdapter.Fill($DataSet)
    $DataSet.Tables[0]
    $connection.Close()
    Since your question is regarding PowerShell, I would suggest you post it in a dedicated
    PowerShell Forum. It is more appropriate and more experts will assist you.
    If you have any feedback on our support, you can click
    here.
    Eric Zhang
    TechNet Community Support

  • How to add new group entry in Cisco Vpn using powershell

    I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script$vpn_profile = 'Test'
    $username = 'TestUser'
    $userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force
    $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist
    $username,$userPassword
    $password = $credentials.GetNetworkCredential().Password
    Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client'
    .\vpnclient.exe connect $vpn_profile user $username pwd $password
    Write-Host "You Are Connected"
    cd "C:\"

    Have you entered .\vpnclient.exe /? to see if it will return information about other switches you can use with this executable? Other than connect, I was able to track down a few without actually having the executable (http://www.scribd.com/doc/40108893/Cisco-VPN-Client-Command-Line).
    That said, I do not believe that there is a switch that will help you create a connection. These are either done manually through the GUI, or can be likely be added by supplying a properly formatted file in the proper place.
    If you're using the version of the Cisco VPN client I think you are, then your connection settings, or profiles, are stored in individual .pcf files somewhere on your computer (likely in the Cisco directory). These are simple, text-based files. Find one
    on your computer, save it with another name, and then modify it manually. If you really want to use PowerShell, then use this opportunity to learn how to create and edit basic text files using PowerShell. If you have a standard connection file, then you can
    put that file onto remote computers any number of ways. If a .pcf file exists in the proper place when the VPN client is opened, then it likely will not prompt for a new connection.
    Update: Added more info; clarified

  • How to add custom ringtones on new iPhone 5, using iTunes 11.04 on Mac OS 10.7.5

    how do I add custom ringtones on new iPhone 5, using iTunes 11.04 and Mac OS 10.7.5?

    Are you meaning rintones that you create from existing files?
    If so - then Google and you will get lots of hits on 'how to'.
    Once you have the ringtones in your iTunes library then make sure in iTunes prefs>General tab - the Tones option is selected. Once your device shows in the Devices list make sure you select from the Tones tab in the Devices window the tones you want to d/l.
    MJ

  • How to increase java virtual machine.. i am using Ocj4 server

    How to increase memory size java virtual machine.. i am using Ocj4 server
    Edited by: java_net on Aug 29, 2008 4:09 PM

    Google ( [oc4j heap size|http://www.google.com/search?q=oc4j+heap+size] )

  • How to add a textline to an xml structure using xslt

    Hi,
    I am having a requirement where i need to add a textline to an xml.
    scenario: IDOC-File  and output format is an xml.
    Output should be like this:
    &&##AOC0MB000#AD15543390#BOIFCO#Z
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <messages>
         <batch>0800062844</batch>
         <message>
              <type>VPR</type>
              <action>A</action>
              </body>
         </message>
    </messages>
    The line that has been added to xml is the data that will be coming from IDOC. How can we append the textline to the xml using xslt.Will document() in xslt works for doing this?

    The required format in ur scenario is not an xml format, so u should not save the file in xml format. U may write an adapter module at receiver to achieve this.
    How can we append the textline to the xml using xslt
    This is not possible as the output of xsl transformation is an xml file.
    Regards,
    Prateek

Maybe you are looking for

  • Purpose of Slis_t_listheader

    What is the Purpose of Slis_t_listheader?

  • Double-sided print no longer showing up since upgrade to 10.10.2

    Since updating to 10.10.2, I can't find the double-sided print option on the Print menu (single-sided print and copy have worked fine) for my Epson WF-3640.  I am upgrading again now to 10.10.3 to see if that helps.  Any ideas?

  • Catalog settings and meta data is there a better way.

    HI I have adobe cs4 and light room 2.2 I do my editing in LR cropping exposure web galleries and so on on, thats all well and good but any modifications i make will not show up in the bridge unless i go into light room and apply save meta data to fil

  • WRT610N router and a WET610N wireless bridge problems

    I purchased a WRT610N router and a WET610N wireless bridge and have had a major hard time to get them to work together.  The router setup went fine.  Internet works perfectly on several machines and devices.  The bridge on the other hand has been a b

  • 64 bit Flash Player for Windows

    Just in case anyone at Adobe actually reads this forum (which I doubt). Why is it taking so long for Adobe to release a 64 bit Flash Player for Windows. 64 bit computing has been readily available to purchase for nearly three years now (Linux even lo