User Manual
9. Dhcp-relay service configuration
88
www.qtech.ru
9.3.
DHCPv4-relay point to dhcp ip pool
When the service VLAN in the OLT is different from the upper equipment address pool VLAN, by using
"dhcp-relay" service VLAN need to jump to the
VLAN
interface
address
where
DHCP address pool is
at.
This command is used to set how three-layer DHCP Relay will fill in the message source IP. DHCP
Relay can set the IP source address and the IP address of the unicast DHCP message when unicasting
the user's broadcast message to DHCP server.
Configure global DHCP Relay:
OLT(config)# ip dhcp-relay enable
Configure service VLAN and allocated interface address:
OLT (config) # vlan 102
OLT (config-vlan102) # exit
OLT (config) # interface vlanif102
OLT (config-vlanif102) # ip address 12.0.0.1/24
Configure DHCP Relay layer three function:
OLT (config-vlanif102) # ip dhcp relay-agent
OLT (config-vlanif102) # ip dhcp relay-server-address 22.0.0.1
OLT (config-vlanif102) # ip dhcp relay-server-address 22.0.1.1
OLT (config-vlanif102) # ip dhcp relay-server-address 22.0.3.1
OLT (config-vlanif102) # ip dhcp relay-server-address 22.0.4.1
Configure static route:
OLT(config)# ip route
OLT(config-ip-route)# ip route 22.0.0.0/16 22.0.0.2 OLT(config-ip-
route)# exit
View the current configuration
OLT (config) # show running-config interface vlanif102
!
interface vlanif102
ip address 12.0.0.1/24
ip dhcp relay-agent
ip dhcp relay-server-address 22.0.0.1
ip dhcp relay-server-address 22.0.1.1
ip dhcp relay-server-address 22.0.3.1
ip dhcp relay-server-address 22.0.4.1!
View Static route configuration:
OLT(config)# show ip static-route
static ip route
----------------------------- 22.0.0.0/16 via 22.0.0.2
Summary of Contents for QSW-9010
Page 1: ...USER MANUAL www qtech ru QSW 9010 CLI Configuration user manual QSW 9010...
Page 23: ...User Manual 2 Basic service configuration 23 www qtech ru...
Page 71: ...User Manual 6 QoS service configuration 71 www qtech ru...
Page 96: ...User Manual 12 Port statistics and PM statistics 96 www qtech ru...