Introduction Customizing the CLI Prompt
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
1-24
Following are examples of provisioning the CLI prompt.
1. Change the CLI prompt:
officer SEC>> SET PROMPT "Testing the CLI User Prompt"
Info (010017): Operation Successful
Testing the CLI User Prompt>>
2. Reset the CLI prompt:
Testing the CLI User Prompt>> SETDEFAULTS PROMPT
Info (010017): Operation Successful
officer SEC>>
3. Set the CLI prompt to the system IP:
officer SEC>> SET PROMPT="%i"
Info (010017): Operation Successful
172.16.66.71>>
172.16.66.71>>
4. Reset the CLI prompt:
172.16.66.71>> SETDEFAULTS PROMPT
Info (010017): Operation Successful
5. Set the CLI prompt to the system name:
officer SEC>> SET PROMPT="%n"
Info (010017): Operation Successful
Lab System 42>>
6. Reset the CLI prompt:
Lab System 42>> SETDEFAULTS PROMPT
Info (010017): Operation Successful
7. Set the CLI prompt to the system user:
officer SEC>> SET PROMPT="%u"
Info (010017): Operation Successful
LabUser>>
8. Reset the CLI prompt:
LabUser>> SETDEFAULTS PROMPT
Info (010017): Operation Successful
officer SEC>>
9. Set the CLI prompt to the system date:
officer SEC>> SET PROMPT="%d"
Info (010017): Operation Successful
2004-05-12>>
2004-05-12>>
10. Reset the CLI prompt:
2004-05-12>> SETDEFAULTS PROMPT
Info (010017): Operation Successful
11. Set the CLI prompt to the system date:
officer SEC>> SET PROMPT="%t"
Info (010017): Operation Successful
15:40:24>>
15:40:25>>
12. Reset the CLI prompt:
15:40:26>> SETDEFAULTS PROMPT
Info (010017): Operation Successful
13. Set the CLI prompt to the Security Officer: