3.1.2Commands Set List
Table 3.2: Commands Set List
Command | Code Word |
|
|
User EXEC | E |
|
|
Privileged EXEC | P |
|
|
Global configuration | G |
|
|
VLAN database | V |
|
|
Interface configuration | I |
|
|
3.1.3System Commands Set
Table 3.3: 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 | ||||
| write memory | P | Save user configuration into | switch#write memory | ||||
|
|
| permanent memory (flash rom) |
|
| |||
|
|
|
|
|
|
| ||
| system name | G | Configure system name | switch(config)#system name xxx | ||||
| [System Name] |
|
|
|
| |||
|
|
|
|
|
|
| ||
| system location | G | Set switch system location string | switch(config)#system location xxx | ||||
| [System Location] |
|
|
|
| |||
|
|
|
|
|
|
| ||
| system description | G | Set switch system description string | switch(config)#system description xxx | ||||
| [System Description] |
|
|
|
| |||
|
|
|
|
|
|
| ||
| system contact | G | Set switch system contact window | switch(config)#system contact xxx | ||||
| [System Contact] | string |
|
| ||||
|
|
|
|
| ||||
| show | E | Show system information | switch>show | ||||
| ip address | G | Configure the IP address of switch | switch(config)#ip address 192.168.1.1 | ||||
|
|
| 255.255.255.0 192.168.1.254 |
| ||||
| [Gateway] |
|
|
|
|
|
| |
| ip dhcp | G | Enable DHCP client function of | switch(config)#ip dhcp | ||||
|
|
| switch |
|
| |||
|
|
|
|
|
|
| ||
| show ip | P | Show IP information of switch | switch#show ip | ||||
| no ip dhcp | G | Disable DHCP client function of | switch(config)#no ip dhcp | ||||
|
|
| switch |
|
| |||
|
|
|
|
|
|
| ||
| reload | G | Halt and perform a cold restart | switch(config)#reload | ||||
| default | G | Restore to default | switch(config)#default | ||||
| admin username | G | Changes a login username. | switch(config)#admin username xxxxxx | ||||
| [Username] | (maximum 10 words) |
|
| ||||
|
|
|
|
| ||||
| admin password | G | Specifies a password | switch(config)#admin password xxxxxx | ||||
| [Password] | (maximum 10 words) |
|
| ||||
|
|
|
|
| ||||
| show admin | P | Show administrator information | switch#show admin | ||||
| dhcpserver enable | G | Enable DHCP Server | switch(config)#dhcpserver enable | ||||
|
|
|
|
|
|
| ||
|
|
|
|
|
| |||
| Dhcpserver disable | G | Disable DHCP Server | switch(config)#no dhcpserver | ||||
|
|
|
|
|
|
| ||
|
|
|
|
|
| |||
| dhcpserver lowip | G | Configure low IP address for IP pool | switch(config)#dhcpserver lowip 192.168.1.100 | ||||
| [Low IP] |
|
|
|
| |||
|
|
|
|
|
|
| ||
| dhcpserver highip | G | Configure high IP address for IP | switch(config)#dhcpserver highip 192.168.1.200 | ||||
| [High IP] | pool |
|
| ||||
|
|
|
|
|
|
|
|
|
| 28 |