Qtech QSW-2900-24T-AC [113/209] Qtech config if vlan interface ipaddress mask gateway

6-111
6.8 DHCP relay Configuration list
DHCP Configuration list is as following:
· Enable DHCP Relay
· Conifure vlan interface
· Show DHCP relay status
6.8.1 Enable DHCP relay
By default, DHCP relay is disabled. To enable DHCP relay, use the following command:
Enable DHCP relay
dhcp-relay
Disable DHCP relay
no dhcp-relay
To show DHCP relay status, try the command in any configuration mode:
Show DHCP relay status
show dhcp-relay
Example:
! Enable DHCP relay
QTECH(config)#dhcp-relay
! Disable DHCP relay
QTECH(config)#no dhcp-relay
! Show DHCP relay status
QTECH(config)#show dhcp-relay
6.8.2 Configure vlan interface
Configure specified VLAN for relaying DHCP packets. It MUST be the same VLAN, like the PVID of
clients port.
Use for example this configuration for set the IP address of DHCP server and specify the interface VLAN
aliase:
QTECH(config)#vlan vlannumber
QTECH(config-if-vlan)#interface ipaddress mask gateway
QTECH(config-if-vlan)#dhcpserver ip ipadddress

Содержание

Скачать
Случайные обсуждения