beautypg.com

Configuring switch attributes, Setting and displaying the host name – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 71

background image

Do the following to set and display a banner.

1. In privileged EXEC mode, issue the configure terminal command to enter global configuration

mode.

2. Enter the banner login command and a text message enclosed in double quotation marks (" ").
3. Enter the do show running-config banner command to display the configured banner.

switch# configure terminal

Entering configuration mode terminal

switch(config)# banner login "Please do not disturb the setup on this switch"

switch(config)# do show running-config banner

banner login "Please do not disturb the setup on this switch"

Use the no banner login command to remove the banner.

Configuring switch attributes

Refer also to:

Switch attributes

on page 54.

Switch types

on page 54.

Setting and displaying the host name

1. In privileged EXEC mode, issue the configure terminal command to enter global configuration

mode.

2. If Telnet is not activated on the switch, enter the no telnet server disable command to activate

Telnet.

3. Enter the switch-attributes command, followed by a question mark (?) to determine the local

RBridge ID.

4. Enter the switch-attributes command, followed by the RBridge ID.
5. Enter the host-name operand, followed by the host name.
6. Save the configuration changes by using the do copy running-config startup-config command.

NOTE
This step is used for switches in standalone mode or fabric cluster mode only. If you are using logical
chassis cluster mode, startup configurations are not maintained by the cluster; each node preserves
its running configuration. For more information about logical chassis cluster mode, refer to

Logical

chassis cluster mode

on page 55.

7. Verify the configuration with the do show running-config switch-attributes rbridge-id command.

switch# configure terminal

Entering configuration mode terminal

switch(config)# no telnet server disable

switch(config)# switch-attributes ?

Possible completions: Specify the rbridge-id 1

switch(config)# switch-attributes 1

switch(config-switch-attributes-1)# host-name lab1_vdx0023

switch(config-switch-attributes-1)# exit

switch(config)# do copy running-config startup-config

switch(config)# do show running-config switch-attributes 1

switch-attributes 1

chassis-name VDX 6720-24

host-name lab1_vdx0023

Configuring switch attributes

Network OS Administrator’s Guide

71

53-1003225-04