92
[SwitchB] user-profile profile2 enable
# Create a RADIUS scheme
scheme2
; set the service type for the RADIUS server to
extended
;
specify the IP addresses of the primary authentication/authorization server and accounting server
as 3::1; set the shared keys to 321123; specify that a username sent to the RADIUS server carry
no domain name.
[SwitchB] radius scheme scheme2
[SwitchB-radius-scheme2] server-type extended
[SwitchB-radius-scheme2] primary authentication 3::1
[SwitchB-radius-scheme2] key authentication 321123
[SwitchB-radius-scheme2] primary accounting 3::1
[SwitchB-radius-scheme2] key accounting 321123
[SwitchB-radius-scheme2] user-name-format without-domain
[SwitchB-radius-scheme2] quit
# Create an ISP domain
domain2
; reference
scheme2
for the authentication, authorization, and
accounting for LAN users; specify
domain2
as the default ISP domain.
[SwitchB] domain domain2
[SwitchB-isp-domian2] authentication lan-access radius-scheme scheme2
[SwitchB-isp-domian2] authorization lan-access radius-scheme scheme2
[SwitchB-isp-domian2] accounting lan-access radius-scheme scheme2
[SwitchB-isp-domian2] quit
[SwitchB] domain default enable domain2
# Globally enable 802.1X and then enable it on Ethernet 1/0/2 and Ethernet 1/0/3.
[SwitchB] dot1x
[SwitchB] interface ethernet 1/0/2
[SwitchB-Ethernet1/0/2] dot1x
[SwitchB-Ethernet1/0/2] quit
[SwitchB] interface ethernet 1/0/3
[SwitchB-Ethernet1/0/3] dot1x
[SwitchB-Ethernet1/0/3] quit
4.
Configure RADIUS server:
On the RADIUS server, configure the parameters related to Switch A and Switch B. For more
information, see the configuration guide of the RADIUS server.
Verifying the configuration
After the configurations, the two multicast sources and hosts initiate 802.1X authentication. After passing
the authentication, Source 1 sends multicast flows to FF1E::101 and Source 2 sends multicast flows to
FF1E::102; Host A sends report messages to join IPv6 multicast groups FF1E::101 and FF1E::102. Use the
display mld-snooping group
command to display information about MLD snooping groups. For
example:
# Display information about MLD snooping groups in VLAN 104 on Switch B.
[SwitchB] display mld-snooping group vlan 104 verbose
Total 1 IP Group(s).
Total 1 IP Source(s).
Total 1 MAC Group(s).
Port flags: D-Dynamic port, S-Static port, C-Copy port
Vlan(id):104.
Total 1 IP Group(s).