Configures, modifies, or retrieves banner messages.
URI | Description |
---|---|
<base_URI>/config/running/banner | Banner messages |
Specifies the message string to be displayed on the switch console. The number of lines can be from 1 through 2048. Enter incoming banner text in single line mode or press ESC-M to enter multiline mode.
GET, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/banner
None
<banner xmlns="urn:brocade.com:mgmt:brocade-aaa" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/banner"> <login>user1</login> <motd>Good Morning</motd> <incoming>yes</incoming> </banner>
The following is an example of the DELETE operation to remove a message of the day banner message.
http://host:80/rest/config/running/banner/motd
None
None