3Com 5500 Switch User Manual


 
204 CHAPTER 21: DHCP CONFIGURATION GUIDE
# 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.
[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.
[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.
[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