How to set VTP domain on 2924 switch

gonzoflickgonzoflick Member Posts: 52 ■■□□□□□□□□
From my 2924c-xl-en


Switch# vtp domain NAME.com gives me the output unrecognized command. I have 12.05(WC17) RELEASE SOFTWARE.

What is the command for setting vtp domain names on this switch?

Comments

  • hypnotoadhypnotoad Banned Posts: 915
    # vlan database
    (vlan)# vtp server
    Setting device to VTP SERVER mode.
    (vlan)# vtp domain asdf
    Changing VTP domain name from MINN-NRM to asdf
    (vlan)# vtp password 1234
    Setting device VLAN database password to 1234.

    IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC17, RELEASE SOFTWARE (fc1)

    Gotta give it a "vlan database" command first. Not from global config mode.
  • PashPash Member Posts: 1,600 ■■■■■□□□□□
    nlabelle wrote:
    # vlan database
    (vlan)# vtp server
    Setting device to VTP SERVER mode.
    (vlan)# vtp domain asdf
    Changing VTP domain name from MINN-NRM to asdf
    (vlan)# vtp password 1234
    Setting device VLAN database password to 1234.

    IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC17, RELEASE SOFTWARE (fc1)

    Gotta give it a "vlan database" command first. Not from global config mode.

    Now then, we are back to this boards faveourite subject. Be aware that in the latest versions of IOS the vlan database command is getting phased out.

    You should also know how to configure a vlan by using:-

    Switch1(config)# vlan #
    Switch1(config-vlan)# name <name>

    etc etc.

    Just learn both methods, because your guranteed to use both of them in real world.

    Cheers,
    DevOps Engineer and Security Champion. https://blog.pash.by - I am trying to find my writing style, so please bear with me.
Sign In or Register to comment.