Setting host attributes – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 57

Advertising
background image

Network OS NETCONF Operations Guide

25

53-1003231-02

Switch attributes

3

•

A host name can be from 1 through 30 characters long. It must begin with a letter, and can
contain letters, numbers, and underscore characters. The default host name is “sw0.” The
host name is displayed at the system prompt.

•

Brocade recommends that you customize the chassis name for each platform. Some system
logs identify the switch by its chassis name; if you assign a meaningful chassis name, logs are
more useful. A chassis name can be from 1 through 30 characters long, must begin with a
letter, and can contain letters, numbers, and underscore characters. The default chassis
names are:

-

VDX8770-4

-

VDX8770-8

-

VDX6710

-

VDX6720-24

-

VDX6720-60

-

VDX6730-32

-

VDX6730-76

-

VDX6740-48

-

VDX6740-64

-

VDX6740T-48

-

VDX6740T-64

-

VDX6740T-1G

Setting host attributes

To set the host attributes, perform the following steps.

1. Issue the <edit-config> RPC to configure the <system> node in the

urn:brocade.com:mgmt:brocade-ras namespace.

2. Under the <system> node, include the <switch-attributes> node.

3. Under the <switch-attributes> node, include the following leaf elements.

a. In the <rbridge-id> element, identify the switch for which you want to set attributes.

b. In the <host-name> element, specify a name for the host.

c. In the <chassis-name> element, specify a name of the chassis.

4. Issue the <bna-config-cmd> custom RPC in the urn:brocade.com:mgmt:brocade-ras

namespace to save the configuration changes made in the running-config file to the
startup-config file.

The following example names the host and the chassis for routing bridge 27.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="300" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<system xmlns="urn:brocade.com:mgmt:brocade-ras">

Advertising