76 | |
|
|
Appendix B—Command Sets
Commands Set List |
|
User EXEC | E |
Privileged EXEC | P |
Global configuration | G |
VLAN database | V |
Interface configuration | I |
System Commands Set
|
|
|
|
|
|
| Netstar Commands | Level | Description | Example |
|
|
|
|
|
|
|
| show config | E | Show switch configuration | switch>show config |
|
| show terminal | P | Show console information | switch#show terminal |
|
|
|
|
|
|
|
|
|
| Save user configuration into |
|
|
| write memory | P | permanent memory (flash | switch#write memory |
|
|
|
| rom) |
|
|
|
|
|
|
|
|
| system name | G | Configure system name | switch(config)#system name xxx |
|
| [System Name] |
| |||
|
|
|
|
| |
| system location | G | Set switch system location | switch(config)#system location xxx |
|
| [System Location] | string |
| ||
|
|
|
| ||
|
|
|
|
|
|
| system description | G | Set switch system | switch(config)#system description xxx |
|
| [System Description] | description string |
| ||
|
|
|
| ||
| system contact | G | Set switch system contact | switch(config)#system contact xxx |
|
| [System Contact] | window string |
| ||
|
|
|
| ||
|
|
|
|
|
|
| show | E | Show system information | switch>show |
|
| ip address |
| Configure the IP address of | switch(config)#ip address 192.168.1.1 |
|
| G |
| |||
| switch | 255.255.255.0 192.168.1.254 |
| ||
| mask] [Gateway] |
|
| ||
|
|
|
|
| |
| ip dhcp | G | Enable DHCP client | switch(config)#ip dhcp |
|
| function of switch |
| |||
|
|
|
|
| |
|
|
|
|
|
|
| show ip | P | Show IP information of | switch#show ip |
|
| switch |
| |||
|
|
|
|
| |
| no ip dhcp | G | Disable DHCP client | switch(config)#no ip dhcp |
|
| function of switch |
| |||
|
|
|
|
| |
|
|
|
|
|
|
| reload | G | Halt and perform a cold | switch(config)#reload |
|
| restart |
| |||
|
|
|
|
| |
|
|
|
|
|
|
| default | G | Restore to default | switch(config)#default |
|
|
|
|
|
|
|
| admin username | G | Changes a login username. | switch(config)#admin username xxxxxx |
|
| [Username] | (maximum 10 words) |
| ||
|
|
|
|