Default interface command for SG50052

Hello 
I am trying to set an interface back to its defaults but with no success at all. Actually is a trunk interface and I want to make it access again. With no switchport mode and then switchport mode trunk I get a message about wrong VLAN assignments.

Hi,
Configure as below:
switchxxxxxx(config)# interface gi1
switchxxxxxx(config-if)# no switchport mode trunk
switchxxxxxx(config-if)# switchport mode access
switchxxxxxx(config-if)# switchport access vlan 2(required vlan number)
regards
Moorthy

Similar Messages

  • What is the default key command for the COMMAND key?I seem to have changed it somehow along the way and now when I push the command key it hides all windows or shows desk top I need to correct this as soon as possible-.any ideas?

    What is the default key command for THE COMMAND (apple) key? I seem to have changed it somehow along the way and now when I push the command key (only) it hides all open windows and shows the desk top and when I push it again it shows all windows again...I need to return to default A.S.A.P. just this one key...Any ideas? Thanks in advance...

    Go to
     > System Preferences > Keyboard
    Click on the 'Keyboard' tab and hit the 'modifier keys...' button. You can see and change the defaults there.
    As I'm not sure if all the labels are the same in Lion, he's a screenshot from Snow Leopard. It should be similar enough:

  • "default interface" equivalent for SG300/500 switches?

    Can anyone tell me if there is an equivalent CLI command to reset an interface configuration to default?
    In IOS it is "default interface <interface>" which removes all configuration from that switch port. I don't seem to be able to find the same in the SG series CLI.
    Thanks,
    Rob

    Hello Rob,
    There isn't an equivalent command on the SG series switches, but I will be bringing it up as a feature request, because it would be quite useful.
    Until then the only way to reset a port would be to use all of the no versions of the commands, which I know can be a bit of a pain.
    Thank you for choosing Cisco,
    Christopher Ebert - Advanced Network Support Engineer
    Cisco Small Business Support Center
    *please rate helpful posts*

  • Default interface command in Cisco Nexus 5000

    It doesn't still work in 6.0.2.N1.1
    xxx# sh version
    Software
    BIOS: version 3.6.0
    loader: version N/A
    kickstart: version 6.0(2)N1(1)
    system: version 6.0(2)N1(1)
    Power Sequencer Firmware:
    Module 1: version v5.0
    Module 2: version v1.0
    Module 3: version v1.0
    Module 4: version v1.0
    Microcontroller Firmware: version v1.0.0.2
    SFP uC: Module 1: v1.0.0.0
    QSFP uC: Module not detected
    BIOS compile time: 05/09/2012
    kickstart image file is: bootflash:///n5000-uk9-kickstart.6.0.2.N1.1.bin
    kickstart compile time: 1/29/2013 7:00:00 [01/29/2013 19:40:46]
    system image file is: bootflash:///n5000-uk9.6.0.2.N1.1.bin
    system compile time: 1/29/2013 7:00:00 [01/29/2013 21:44:48]
    xxx(config)# default interface eth 3/16 ?
    ^
    % Invalid parameter detected at '^' marker.
    ^
    % Invalid parameter detected at '^' marker.

    Sure.  Try this:
    conf t
    archive
    !           “$h” means the appliance’s hostname will be the filename.  The filename format is hostname-month-!day-hour-minute-seconds-timezone-version, like “Hostname-Apr-23-10-51-13-AEST-0”.
    !           Make sure you put a “-“ at the end of the “$h”.  Compare the two and you’ll see.  J
    !           If you are using Windows to store these files, DO NOT USE “$t” because it won’t work.  Cisco will store the timestamps as “:” and Windows don’t like it. 
    !           You can use TFTP, FTP, SCP and some more stuffs. 
      path tftp:///Subdirectory/$h-
    !           The next two lines means that this command will run when someone saves the configuration and/or at a certain time, like 24 hours or weekly. 
      time-period
      write-memory
    end

  • I can send multiline interface commands but not data commands

    hi
    i am using a gpib controller.I cannot seem to find a way to switch between multiline commads and data commands.the key is the ATN bit as to send a DAB command the atn bit must be low. I cannot make the controller distinguish when a command is a adta command and not a multiline command,

    sorry bit i did not know i could answer you directly.
    i am using the measurement computing gpib controller cb7210.2 which is nearly ni compatabile.i am interfacing it with a microcontroller connected to the pc.Then i am trying to use a monitor program that is embedded in the microcontroller to perform remote access of instruments.i am using assembly. i have managed to communicate with the instrument.now the problem is that i cannot make the distinction between data commands and interface commands.for eg if i send 3Fh and atn happens to be 1 this is interpreted as UNL if atn is 0 then it is interpreted as data command.i need to be able to have control of the atn bit so that i can send either at will. so to problem is how to control the atn bit.
    thanks
    again

  • Terminal command for setting software update to defaults

    terminal command for setting software update to defaults?

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • Why does default keyboard shortcut for show/hide baseline grid (opt+command+') not work?

    Why does default keyboard shortcut for show/hide baseline grid (opt+command+') not work?

    Here's where you need to change the settings: System Preferences > Keyboard > Keyboard Shortcuts:

  • Changing the default keyboard language for all users via command line

    I have about 250 computers, that I set the wrong default language on.
    I am hoping someone here can help me. I have 3 keyboard languages installed in my labs,
    En-English (United States)
    Fr-French (Canada)
    En-English (Canada)
    I'd like to make the Fr-French (Canada) the default keyboard language for all users that login I have tried the following xml but it's not working. I do not see the problem any help would be appreciated.
    I tried to run it by doing this
    control intl.cpl,, /f:"FR-DefaultKeyboard.xml"
    The following code below is called FR-DefaultKeyboard.xml file.
    <gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
    <!--User List-->
    <gs:UserList>
    <gs:User UserID="Current"/>
    </gs:UserList>
    <!--User Locale-->
    <gs:UserLocale>
    <gs:Locale Name="FR-CA" SetAsCurrent="true"/>
    </gs:UserLocale>
    </gs:GlobalizationServices>

    <gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
    <gs:UserList>
    <gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/>
    </gs:UserList>
    <gs:InputPreferences>
    <!--English US EN-->
    <gs:InputLanguageID Action="add" ID="0409:00000409" Default="false"/>
    <!--French CA CA FR-->
    <gs:InputLanguageID Action="add" ID="0c0c:00000c0c" Default="true"/>
    <!--English CA EN-->
    <gs:InputLanguageID Action="add" ID="1009:00001009" Default="false"/>
    </gs:InputPreferences>
    </gs:GlobalizationServices>
    This worked, thank you

  • Access Denied Error while using Cancel Command for an Administrator.

    Hi All,
    We have created a new capability called Task Administrator which has only one permission <Permission type='TaskInstance' rights='View'/>.
    Now when a user who is assigned ONLY this capability clicks a cancel button in the end user interface (<Property name='command' value='Cancel' />), an error is thrown (Error: List access denied to Subject on type WorkItem. com.waveset.ui.util.html.Container: method setSubTitle(LJava/lang.Object;)V not found.
    We understand that the system is trying to delete the workitem created (I can see the workitem from the debug menu) which he/she does not have access. Interestingly, a normal end user without any capabilities is able to cancel this request.
    Could someone please tell me what the default access is for an end user which is taken away when a new capability is added to that user?
    We are using V5 Sp4.
    Thanks for your help.

    Hi,
    Based on the current information, I suggest that you try the following steps:
    1. Run REGEDIT command to open the registry editor, navigate to HKEY_CLASSES_ROOT\CLSID\{09beb4fe-6125-4757-af0f-7f487d1aa125}.
    2. Expand this node to see if there is a folder named “InprocServer32”, if there is, move to step 3.
    3. Click the “InprocServer32” folder, and double-click the “(Default)” key to check its value. It should be the path of a DLL file.
    4. Grant “Full control” to the users on this DLL file or its parent folder.
    If it doesn’t work, I suggest that you configure the Advanced Security Settings of the SQL Server installation folder, and check the “Replace child object permissions with inheritable permissions from this object” option.
    Reference:
    http://www.techrepublic.com/blog/how-do-i/how-do-i-change-access-permissions-for-all-folders-and-files-in-vista/
    Regards,
    Mike Yin
    TechNet Community Support
    I have already mentioned in my question that the registry location was not there in that PC.
    So the result from process monitor does not help me to solve the problem

  • Key Command for Option Clicking a Marker

    Option Clicking a Marker does just what I want. It sets the playhead to the beginning of that marker without selecting the marker. Now if I could make the Keypad behave the same way, I could save myself a lot of damage to my Marker tracks. Right now a keypad # selects the marker, moves the playhead to it and sets the locators around it. preferences to make this more granular would be welcome.
    The option keypad numbers seem to be unused in the default key commands. Perhaps the option key could be set to trigger the same behaviour as option clicking a marker. it makes it intuitive (meaning I tried it.)

    The only way I can think of is to use a Macro app like QuicKeys assigning a KeyStrokes to a sequence of two key commands:
    For example:
    ctr+opt+cmd+1 triggers 1 (go to Marker 1) followed by sh+opt+D (Deselect All)
    ctr+opt+cmd+2 triggers 2 (go to Marker 2) followed by sh+opt+D (Deselect All)
    ctr+opt+cmd+3 triggers 3 (go to Marker 3) followed by sh+opt+D (Deselect All)
    You can assign the QuickKeys commands (ctr+opt+cmd+1, etc) to the keypads and they will move the Playhead to that Marker and selects the Marker. However, QuicKeys sends the second KeyCommand right away and deselects the Marker.
    No deleting of selected Marker by accident anymore.
    The KeyCommands in Logic are already very powerful, but when combined with QuicKeys (or any other Macro app) that lets you fire up a sequence of KeyCommands or mouse click on specific areas on the Logic interface per key commands, then it gets really powerful. Combine that with multi-touch gestures on your TrackPad using the amazing BetterTouchTool app, an you can take your customized workflow to a whole new level.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • [Solved] Default interface routing issues

    I have two network interfaces connected to my newly installed ArchLinux server,  one LAN and one WAN connection.  The trouble is that all traffic that is trying to connect to the wan interface gets no response, while the LAN connection work without any issue.
    I am using udev to change my interfaces to lan0 and wan0, and i use netcfg to load the diffrent profiles.
    Lan0 uses a static local ip 192.168.0.118  with 192.168.0.2 as gateway
    Wan0 uses dhcp  with dynamic ip from my ISP.
    When i manually bring down my lan0 interface all my traffic goes through wan0 correctly, and it even responds to external calls.
    So i belive the issue lies somewhere in the local routing?
    I am trying to post all config files needed directly.
    /etc/rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # LANG in /etc/locale.conf takes precedence
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged, using "" makes hwclock fall back
    # to the value in /var/lib/hwclock/adjfile
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # Note: if unset, the value in /etc/localtime is used unchanged
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="sv_SE.UTF-8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Stockholm"
    KEYMAP="sv-latin1"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MODULES=()
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="yes"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="weed-devil"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
    # - broadcast: broadcast address (ignored for DHCP) (optional)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    # interface=eth0
    # address=192.168.0.2
    # netmask=255.255.255.0
    # broadcast=192.168.0.255
    # gateway=192.168.0.1
    # DHCP example
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    #interface=eth0
    #address=
    #netmask=
    #broadcast=
    #gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This requires the netcfg package
    NETWORKS=(sluggy local)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    # If you are sure nothing else touches your hardware clock (such as ntpd or
    # a dual-boot), you might want to enable 'hwclock'. Note that this will only
    # make a difference if the hwclock program has been calibrated correctly.
    # If you use a network filesystem you should enable 'netfs'.
    DAEMONS=(syslog-ng !ufw !network net-profiles @alsa crond dbus sshd lircd sensors mysqld @ddclient @hddtemp httpd samba stunnel sabnzbd sickbeard)
    /etc/network.d/sluggy
    CONNECTION='ethernet'
    DESCRIPTION='A basic dhcp ethernet connection using iproute'
    INTERFACE='wan0'
    IP='dhcp'
    ## for DHCPv6
    #IP6='dhcp'
    ## for IPv6 autoconfiguration
    #IP6='stateless'
    /etc/network.d/local
    CONNECTION='ethernet'
    DESCRIPTION='A basic static ethernet connection using iproute'
    INTERFACE='lan0'
    IP='static'
    ADDR='192.168.0.118'
    GATEWAY='192.168.0.2'
    output of route -nl
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0 lan0
    0.0.0.0 85.24.137.1 0.0.0.0 UG 203 0 0 wan0
    85.24.137.0 0.0.0.0 255.255.255.0 U 203 0 0 wan0
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 lan0
    I have had this server running Ubuntu for the past 2 years with the same setup on the NIC's and there everything worked, so I guess i have become a little lazy.
    *EDIT* Updated my post with "code" block instead of quote
    Last edited by kurri (2011-11-01 22:07:14)

    kurri, please edit your post.
    When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and more convenient to scroll through.

  • How to Supress Hello packets on an interface enabled for OSPF

    As I understand it, enabling an interface to join an area with the
    NETWORK command, also causes Hello packets to be sent out the
    interface. But if its a stub network, and you want it advertised, but
    there is no need for Hello packets to be sent out the interface, how do
    you suppress them?
    The passive-interface command seems to be discouraged in OSPF, since
    there is far more granular control over which interfaces are affected
    by the network command.
    The "redistribute connected subnets" could be used after entering the
    network command with a very restrictive mask that advertises only
    non-stub network interface(s). But that seems to open a whole new can
    of redristribute issues.
    This is simple to do, right?
    Cheers

    I don't why passive interface would be discouraged in OSPF--I've seen it used a lot in the networks I've worked on. In fact, with the advent of the passive-interface default command, it's much easier use passive interface in all the routing protocols.
    The general rule of thumb is, if you want the routes to be internals, then use passive interface. If you want them to be externals, then use redistribute connected. You can filter the routes you pull in through redistribute connected using a route map. You can control which interfaces are pulled in through passive using the network statement.
    Russ.W

  • Passive interface command on RIP

    Hi all,
    This command below
    passive-interface command give additional information to RIP, that it can't send updates via this particular interface ---
    As per my understanding is this if we have 2 routers that are directly connected with each other and we enable this command on the interface of one of
    routers then that router will not send any RIP updates to other router right?
    secondly if these 2 routers are point to point connection we can ping directly conencted interfaces IP of  routers because they are directly connected even though there is no routing protocol running between these two right?
    3rd thing when i run sh ip protocols on one of router it shows
    Routing Protocol is "rip"
      Sending updates every 30 seconds, next due in 1 seconds
      Invalid after 180 seconds, hold down 180, flushed after 240
      Outgoing update filter list for all interfaces is not set
      Incoming update filter list for all interfaces is not set
      Redistributing: rip
      Default version control: send version 2, receive version 2
        Interface             Send  Recv  Triggered RIP  Key-chain
        FastEthernet0/0       2     2
      Automatic network summarization is in effect
      Maximum path: 4
      Routing for Networks:
        192.168.4.0
      Routing Information Sources:
        Gateway         Distance      Last Update
        192.168.4.2          120      00:23:38 ****************************************************
    here last update time keeps on incrementing but  sh ip route does not show now that rip is running.
    so this line means
    Invalid after 180 seconds, hold down 180, flushed after 240
    that after 240 secs router will flush the rip routes fron the routing table right?
    but sh ip protocol  will always show rip as routing protocol as we have config the rip and last update time will keep on incrementing right?
    thanks
    mahesh

    Hi Mahesh,
    From the config guide:
    To control the set of interfaces with which you  want to exchange routing updates, you can disable the sending of routing  updates on specified interfaces by configuring the
    passive-interface
    here is the link:
    http://www.cisco.com/en/US/docs/ios/12_0/np1/configuration/guide/1crip.html
    Correct, you do not need a routing protocol.  The interfaces are directly connected.  Now, if for example you add a loopback address to each router, you need a routing protocol or static router to reach the opposite router's loopback address.
    The reason the interfaces/IPs do not show up in the RIP routing table is because they are directly connected and directly connected routes have a lower admin distance (1) which is preferred over rip which is 120.
    yes
    HTH

  • Command for properties

    Hi all,
    Does anyone know the command in UI configuration for just the properties that exist in the details?
    Best Regards
    Natasha

    Hello Natasha,
          There is a command called "properties" that allow you to see details of a document. Only these tabs (system, custom, so on)
           All commans can be found in:
    In system administration->system configuration->km->cm->user interface->commands
          When you run properties command (it's the same that execute from context menu: details->setting->properities)
    you can see some tabs (system, custom, access links, so on) each one of them contains metadatas.
          This detail appears depending on resource type of document. Obviously you can create new resources type and define new tabs with your metadatas for this kind of document. If you do that, when you run properties command you should duplicate this command and pass as parameter this new resource type. (All that is customizing from portal)
          In system administration->system configuration->km->cm->user interface->details screen->default you can see a part of this customization. You should not modify it, you can define a new one.
          In order you can understand better this configuration you have to read:
          Working with Metadata Properties in KM.pdf
          You can find here this document if you have any problem let me know and I send you.
    Patricio.

  • Difference between ip default-gateway command & a default route

    Can any please let me know the difference between ip default-gateway command & a default route. i have a couple 4500 and 2950 for which i need to have a management VLAN as well as their VLAN memberships.

    ip default-gateway command is for layer 2, it's how you can access a switch from outside the mgmt interface vlan. Think of this as you would configure and ip address on a PC or a end host, it needs a default-gateway.
    A default route on the other hand is for a device that has a lauer 3 capability, this is the gateway of last resort for anything that the device receives to be routed and the destination is not in it's routing table it (the L3 device) sends it to the default route or gateway of last resort.
    Since you are referring to 2950 which is strictly a layer 2 device, even if it take dafault route or "ip route 0.0.0.0 0.0.0.0 x.x.x.x", it will not work, for this device you need to configure default-gateway so that this switch can be reached outside it out subnet, this is given the default-gateway have routes to the rest of the network.
    Please rate all posts.

Maybe you are looking for