EasyManuals Logo

HPE FlexNetwork MSR Series Comware 7 Layer 3 - Ip Services Configuration Guides

HPE FlexNetwork MSR Series
554 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #291 background imageLoading...
Page #291 background image
277
<Router> system-view
[Router] interface gigabitethernet 1/0/1
[Router-GigabitEthernet1/0/1] ipv6 address 1::1/64
# Disable RA message suppression on GigabitEthernet 1/0/1.
[Router-GigabitEthernet1/0/1] undo ipv6 nd ra halt
# Set the M flag to 1 in RA advertisements to be sent on GigabitEthernet 1/0/1. Hosts that receive the
advertisements will obtain IPv6 addresses through DHCPv6.
[Router-GigabitEthernet1/0/1] ipv6 nd autoconfig managed-address-flag
# Set the O flag to 1 in RA advertisements to be sent on GigabitEthernet 1/0/1. Hosts that receive the
advertisements will obtain information other than IPv6 address through DHCPv6.
[Router-GigabitEthernet1/0/1] ipv6 nd autoconfig other-flag
[Router-GigabitEthernet1/0/1] quit
# Create prefix pool 1, and specify the prefix 2001:0410::/32 with assigned prefix length 48.
[Router] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 48
# Create address pool 1.
[Router] ipv6 dhcp pool 1
# In address pool 1, specify subnet 1::/64 where the server interface resides.
[Router-dhcp6-pool-1] network 1::/64
# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day, and the valid lifetime
to three days.
[Router-dhcp6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
# In address pool 1, bind prefix 2001:0410:0201::/48 to the client DUID 00030001CA0006A40000,
and set the preferred lifetime to one day, and the valid lifetime to three days.
[Router-dhcp6-pool-1] static-bind prefix 2001:0410:0201::/48 duid 00030001CA0006A40000
preferred-lifetime 86400 valid-lifetime 259200
# Configure the DNS server address as 2:2::3.
[Router-dhcp6-pool-1] dns-server 2:2::3
# Configure the domain name as aaa.com.
[Router-dhcp6-pool-1] domain-name aaa.com
# Configure the SIP server address as 2:2::4, and the SIP server name as bbb.com.
[Router-dhcp6-pool-1] sip-server address 2:2::4
[Router-dhcp6-pool-1] sip-server domain-name bbb.com
[Router-dhcp6-pool-1] quit
# Enable the DHCPv6 server on interface GigabitEthernet 1/0/1, enable desired prefix assignment
and rapid prefix assignment, and set the preference to the highest.
[Router] interface gigabitethernet 1/0/1
[Router-GigabitEthernet1/0/1] ipv6 dhcp select server
[Router-GigabitEthernet1/0/1] ipv6 dhcp server allow-hint preference 255 rapid-commit
Verifying the configuration
# Display the DHCPv6 server configuration on GigabitEthernet 1/0/1.
[Router-GigabitEthernet1/0/1] display ipv6 dhcp server interface gigabitethernet 1/0/1
Using pool: global
Preference value: 255
Allow-hint: Enabled
Rapid-commit: Enabled
# Display information about address pool 1.

Table of Contents

Other manuals for HPE FlexNetwork MSR Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork MSR Series and is the answer not in the manual?

HPE FlexNetwork MSR Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork MSR Series
CategoryNetwork Router
LanguageEnglish

Related product manuals