Forum Discussion

STTR_85331's avatar
STTR_85331
Icon for Nimbostratus rankNimbostratus
Sep 16, 2011

tmsh create node with name

OK so I'm just starting to use tmsh and I see I can create nodes like this:

 

 

create ltm node

 

 

However doing this creates a node with no name in the GUI. Is there a way to also give a node a name from the tmsh shell?

 

  • (/Common)(tmos) create ltm node 2.2.2.2 { testnode }

     

    Syntax Error: "testnode" unknown property
  • (/Common)(tmos) create ltm node 2.2.2.2 { testnode }

     

    Syntax Error: "testnode" unknown property
  • Brent_Blood_768's avatar
    Brent_Blood_768
    Historic F5 Account
    If you're running v11.x, the key (name) of nodes does not have to be its IP address, but if you do that, then you have to specify the "address" property for it. For example, the following two examples will both work:

     

     

    ltm create node foo address 1.1.1.1

     

    ltm creaate node 1.1.1.1

     

     

    The first one will be named "foo" though, whereas the second will use "1.1.1.1" for the name. Both will have an address of "1.1.1.1" however.
    • Sonne_133164's avatar
      Sonne_133164
      Icon for Nimbostratus rankNimbostratus
      Hi, In that case i am getting "Syntax Error: "address" invalid IP address" Which is a bit funny.