H3C SR8800-F Configuration Manual page 304

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Procedure
# Create Virtual-Template 10.
<Router> system-view
[Router] interface virtual-template 10
# Configure Virtual-Template 10 to use PAP to authenticate the peer.
[Router-Virtual-Template10] ppp authentication-mode pap domain system
# Configure Virtual-Template 10 to automatically generate an IPv6 link-local address.
[Router-Virtual-Template10] ipv6 address auto link-local
# Enable Virtual-Template 10 to advertise RA messages.
[Router-Virtual-Template10] undo ipv6 nd ra halt
# Set the other stateful configuration flag (O) to 1 in RA advertisements to be sent.
[Router-Virtual-Template10] ipv6 nd autoconfig other-flag
# Enable the DHCPv6 Server on Virtual-Template 10.
[Router-Virtual-Template10] ipv6 dhcp select server
[Router-Virtual-Template10] quit
# Enable the PPPoE sever on GigabitEthernet 3/1/1, and bind the interface to Virtual-Template 10.
[Router] interface gigabitethernet 3/1/1
[Router-GigabitEthernet3/1/1] pppoe-server bind virtual-template 10
[Router-GigabitEthernet3/1/1] quit
# Create a DHCPv6 address pool named pool1 and specify DNS server IPv6 address 2:2::3.
[Router] ipv6 dhcp pool pool1
[Router-dhcp6-pool-pool1] dns-server 2:2::3
[Router-dhcp6-pool-pool1] quit
# Configure a PPPoE user.
[Router] local-user user1 class network
[Router-luser-network-user1] password simple pass1
[Router-luser-network-user1] service-type ppp
[Router-luser-network-user1] quit
# Configure local authentication for the PPP users in the default ISP domain (system).
[Router] domain name system
[Router-isp-system] authentication ppp local
# Configure an IPv6 prefix and a DHCPv6 address pool authorized to the user in the ISP domain.
[Router-isp-system] authorization-attribute ipv6-prefix 2003:: 64
[Router-isp-system] authorization-attribute ipv6-pool pool1
[Router-isp-system] quit
Verifying the configuration
# Display PPP user information on GigabitEthernet 3/1/1.
[Router] display ppp access-user interface gigabitethernet 3/1/1
Interface
BAS0
Username
MAC address
user1
0000-5e08-9d00 -
IP address
IPv6 address
2003::9CBC:3898:0:605 -
288
IPv6 PDPrefix

Advertisement

Table of Contents
loading

Table of Contents