3com 4200G ユーザーズマニュアル
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
204
C
HAPTER
21: DHCP C
ONFIGURATION
G
UIDE
# Enter Ethernet 1/0/1 view and add the port to VLAN 2.
[3Com] interface Ethernet 1/0/1
[3Com-Ethernet1/0/1] port access vlan 2
[3Com-Ethernet1/0/1] quit
# Enter Ethernet 1/0/2 view and add the port to VLAN 3.
[3Com] interface Ethernet 1/0/2
[3Com-Ethernet1/0/2] port access vlan 3
[3Com-Ethernet1/0/2] quit
# Enter VLAN-interface 2 view and assign the IP address 10.1.1.1/24 to the VLAN
interface.
interface.
[3Com] interface Vlan-interface 2
[3Com-Vlan-interface2] ip address 10.1.1.1 24
[3Com-Vlan-interface2] quit
# Enter VLAN-interface 3 view and assign the IP address 10.1.2.1/24 to the VLAN
interface.
interface.
[3Com] interface Vlan-interface 3
[3Com-Vlan-interface3] ip address 10.1.2.1 24
[3Com-Vlan-interface3] quit
# Create a RADIUS scheme and a domain, and then associate the domain with the
RADIUS scheme.
RADIUS scheme.
[3Com] radius scheme 123
[3Com-radius-123] primary authentication 10.1.2.2
[3Com-radius-123] primary accounting 10.1.2.2
[3Com-radius-123] quit
[3Com] domain 123
[3Com-isp-123] scheme radius-scheme 123
[3Com-isp-123] quit
# Create an address pool on the DHCP server.
[3Com] dhcp server ip-pool test
[3Com-dhcp-pool-test] network 10.1.1.0 mask 255.255.255.0
# Enable DHCP accounting.
[3Com-dhcp-pool-test] accounting domain 123
Complete Configuration
#
radius scheme 123
primary authentication 10.1.2.2
primary accounting 10.1.2.2
#
domain 123
scheme radius-scheme 123
#
dhcp server ip-pool test
network 10.1.1.0 mask 255.255.255.0
accounting
domain 123