beautypg.com

Switch-attributes – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1307

background image

Network OS Command Reference

1269

53-1003115-01

switch-attributes

2

switch-attributes

Sets switch attributes.

Synopsis

switch-attributes rbridge-id

chassis-name string

host-name string

no switch-attributes

Operands

rbridge-id

Specifies the RBridge ID the attribute is to be set for. Only the local
RBridge ID is supported.

chassis-name string

Sets the switch chassis name. The string must be between 1 and 30 ASCII
characters in length.

host-name string Sets the switch host name. The string must be between 1 and 30 ASCII

characters in length.

Defaults

The default chassis name depends on the switch model and can be one of the following product
names:

VDX 6720-24

VDX 6720-60

VDX 6730-32

VDX 6730-76

VDX 6710-54

VDX 8770-4

VDX 8770-8

The default host name is “sw0”.

Command Modes

Global configuration mode

Description

Use this command to set the switch attributes. When issued with the RBridge ID of the switch to be
configured, this command goes into a sub-command shell where you can configure the host name
or chassis name.

Usage Guidelines

The text string for the chassis-name and host-name string is limited to 30 characters. The string
must begin with a letter, and can consist of letters, digits, hyphens, periods (dots), and underscore
characters. Spaces are not permitted.

This command is not supported on the standby management module.

This command is supported only on the local switch.

Enter no switch-attributes to restore the default values.

Examples

To set the host name for a switch with an RBridge ID of 2:

switch(config)# switch-attributes 2

switch(config-switch-attributes-1)# host-name VDX7620-24

See Also

show running-config switch-attributes