cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
875
Views
5
Helpful
2
Replies

Providing CLI "help" Message

kecorbin
Cisco Employee
Cisco Employee

Is there a substatement for setting the help message provided for a node when using the CLI?  description and reference seem to be the obvious choices, but they don't seem to populate. 

 

admin@ncs(config)# vpc-distribution EAST ?
Possible completions:
  peer-link 
  aggregate-prefix
  check-sync           Check if device config is according to the service
    leaf aggregate-prefix {
      description
        "This pool is used to pull the /24's needed for VLANs, this prefix is also
        advertised northbound of the distribution block";
      type inet:ipv4-prefix;
      mandatory true;
    }

    container peer-link {
      reference "Configure Peer link interfaces/properties";
      list interface {
        key interface;
        leaf interface {
          type string;
        }

      }
    }
1 Accepted Solution

Accepted Solutions

yfherzog
Cisco Employee
Cisco Employee

Hi,

 

You can use tailf:info for that.

You'll need to import tailf-common before you use it.

 



  import tailf-common {
    prefix tailf;
  }




      leaf customer-name  {
        tailf:info "Put your message here";
        mandatory true;
        type string;
      }

 

View solution in original post

2 Replies 2

yfherzog
Cisco Employee
Cisco Employee

Hi,

 

You can use tailf:info for that.

You'll need to import tailf-common before you use it.

 



  import tailf-common {
    prefix tailf;
  }




      leaf customer-name  {
        tailf:info "Put your message here";
        mandatory true;
        type string;
      }

 

Exactly what I needed, thank you!