Qtech QSW-2900-24T4-AC [43/209] Display ip address

2-41
QTECH(config)#ipaddress 192.168.0.100 255.255.0.0
Disable DHCP or BOOTP to configure IP address before manual operation of it will prompt error.
2.10.3 BOOTP
Use following command in global configuration mode to obtain IP address by DHCP:
Use bootp command to enable bootp way to obtaining ip address.
bootp
Use no bootp command to disable bootp.
no bootp
If DHCP is configured, disable DHCP before configure BOOTP
2.10.4 DHCP
Use following command in global configuration mode to obtain IP address by DHCP:
Use dhcp command to configure to enable DHCP to obtain IP address.
dhcp
Use no dhcp command to disable DHCP to obtain IP address.
no dhcp
Examples for IP address configuration:
The original way is DHCP, change it into BOOTP way to obtain IP address, then, configure IP address to be
192.168.0.100, mask to be 255.255.0.0 and the gateway to be 192.168.0.254.
Configure it in global configuration mode:
Enable DHCP to obtainn IP address
QTECH(config)#dhcp
Disable DHCP to obtainn IP address
QTECH(config)#no dhcp
Enable BOOTP to obtainn IP address
QTECH(config)#bootp
Disable BOOTP to obtainn IP address
QTECH(config)#no bootp
Manual configuration
QTECH(config)#ipaddress 192.168.0.100 255.255.0.0 192.168.0.254
2.10.5 Display ip address
Use show ip command in any configuration mode to display ip address and its obtaining mode, netmask, and
gateway:
show ip
For example:

Содержание

Скачать