5-13
# Create VLAN 101 through VLAN 104 and assign Ethernet 1/0/1 through Ethernet 1/0/3 to the four
VLANs respectively.
<SwitchA> system-view
[SwitchA] vlan 101
[SwitchA-vlan101] port ethernet 1/0/1
[SwitchA-vlan101] quit
[SwitchA] vlan 102
[SwitchA-vlan102] port ethernet 1/0/2
[SwitchA-vlan102] quit
[SwitchA] vlan 103
[SwitchA-vlan103] port ethernet 1/0/3
[SwitchA-vlan103] quit
# Enable IPv6 multicast routing. Enable IPv6 PIM-DM on VLAN-interface 101 and VLAN-interface 103,
and enable MLD on VLAN-interface 103.
[SwitchA] multicast ipv6 routing-enable
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim ipv6 dm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] pim ipv6 dm
[SwitchA-Vlan-interface103] mld enable
[SwitchA-Vlan-interface103] quit
3) Configure Switch B
# Globally enable MLD snooping.
<SwitchB> system-view
[SwitchB] mld-snooping
[SwitchB-mld-snooping] quit
# Create VLAN 103, assign Ethernet 1/0/1 through Ethernet 1/0/3 to this VLAN, and enable MLD
snooping in this VLAN.
[SwitchB] vlan 103
[SwitchB-vlan103] port ethernet 1/0/1 to ethernet 1/0/3
[SwitchB-vlan103] mld-snooping enable
[SwitchB-vlan103] quit
# Create a QoS profile
profile1
and configure the QoS profile so that users can join or leave only one
IPv6 multicast group, FF1E::101.
[SwitchB] acl ipv6 number 2001
[SwitchB-acl6-basic-2001] rule permit source ff1e::101 128
[SwitchB-acl6-basic-2001] quit
[SwitchB] qos-profile profile1
[SwitchB-qos-profile-profile1] mld-snooping access-policy 2001
[SwitchB-qos-profile-profile1] quit
# Create a RADIUS scheme
scheme1
; set the service type for the RADIUS server to
extended
; specify
the IP addresses of the primary authentication/authorization server and accounting server as 2::1; set
the shared keys to 321123; specify that a username sent to the RADIUS server carry no domain name.
[SwitchB] radius scheme scheme1
[SwitchB-radius-scheme1] server-type extended
[SwitchB-radius-scheme1] primary authentication 2::1
[SwitchB-radius-scheme1] key authentication 321123
Содержание S3100 Series
Страница 12: ...10 You can e mail your comments about product documentation to info h3c com We appreciate your comments...
Страница 74: ...7 7 Sysname ip http acl 2030...
Страница 270: ...1 51 Sysname GigabitEthernet1 0 1 port trunk permit vlan all...
Страница 287: ...1 14 the interface on which the packet actually arrived The RPF check succeeds and the packet is forwarded...
Страница 579: ...ii Configuration Example 2 4 QoS Profile Configuration Example 2 4...
Страница 713: ...1 22 Total associations 1...
Страница 823: ...1 16...
Страница 1054: ...i Table of Contents Appendix A Acronyms A 1...