ページの先頭です。
ここから本文です。
This setting example explains the procedure of DHCP Relay Setting for ZEQUO series switches.
Applicable models | |
---|---|
Product name | Product number |
ZEQUO 6400 | PN36240E |
This procedure describes the settings of the DHCP relay for ZEQUO series switches to be able to transfer the DHCP packets to a DHCP server in a different segment.
Connect the PC and Ethernet Switch using a twisted pair cable and console cable, and display the setting screen on Hyper terminal.
(Refer to Setting Example "Ethernet Switch Connection Procedure to a Console Port" for the procedure to display the setting screen on the console port)
On the login screen, enter UserName and PassWord (both set as manager by default), and login to the setting screen. (Refer to Figure 1)
Set VLAN for ZEQUO 6400.
After Z6400:admin#, enter command as shown in the following.
Z6400:admin#config vlan default delete 1-28
If the command is entered correctly, the following messages appear.
Command: config vlan default delete 1-28
Success.
Subsequently, set VLAN groups 10, 20, and 30.
Z6400:admin#create vlan VLAN10 tag 10
Command:create vlan VLAN10 tag 10
Success.
Z6400:admin#config vlan VLAN10 add untagged 1-8
Command:config vlan VLAN10 add untagged 1-8
Success.
Z6400:admin#config port_vlan 1-8 pvid 10
Command:config port_vlan 1-8 pvid 10
Success.
Z6400:admin#create vlan VLAN20 tag 20
Command:create vlan VLAN20 tag 20
Success.
Z6400:admin#config vlan VLAN20 add untagged 9-16
Command:config vlan VLAN20 add untagged 9-16
Success.
Z6400:admin#config port_vlan 9-16 pvid 20
Command:config port_vlan 9-16 pvid 20
Success.
Z6400:admin#create vlan VLAN30 tag 30
Command:create vlan VLAN30 tag 30
Success.
Z6400:admin#config vlan VLAN30 add untagged 17-24
Command:config vlan VLAN30 add untagged 17-24
Success.
Z6400:admin#config port_vlan 17-24 pvid 30
Command:config port_vlan 17-24 pvid 30
Success.
Set the IP address for ZEQUO 6400. The IP interfaces of VLAN10, VLAN20 and VLAN30 are set to IP10, IP20 and IP30, respectively.
Z6400:admin#config ipif System ipaddress 0.0.0.0/0 vlan default
Command:config ipif System ipaddress 0.0.0.0/0 vlan default
Success.
Z6400:admin#create ipif IP10 192.168.10.254/24 VLAN10 state enable
Command:create ipif IP10 192.168.10.254/24 VLAN10 state enable
Success.
Z6400:admin#create ipif IP20 192.168.20.254/24 VLAN20 state enable
Command:create ipif IP20 192.168.20.254/24 VLAN20 state enable
Success.
Z6400:admin#create ipif IP30 192.168.30.254/24 VLAN30 state enable
Command:create ipif IP30 192.168.30.254/24 VLAN30 state enable
Success.
Set the DHCP server's IP address to the interfaces to operate the DHCP relay.
Z6400:admin#config dhcp_relay add ipif IP10 192.168.30.1
Command: config dhcp_relay add ipif IP10 192.168.30.1
Success.
Z6400:admin#config dhcp_relay add ipif IP20 192.168.30.1
Command: config dhcp_relay add ipif IP20 192.168.30.1
Success.
Enable the DHCP relay for ZEQUO 6400.
Z6400:admin#enable dhcp_relay
Command: enable dhcp_relay
Success.
When all the settings are complete, save the settings.
Z6400:admin#save
Command:save
Saving all configurations to NV-RAM.......... Done.
Referring to the configuration diagram, connect ZEQUO 6400 and the terminals. Confirm that the VLAN10 and VLAN20 terminals can acquire the IP address from the DHCP server.
ここからサブメニューです。