Ipv6 Dhcp Apply-Policy - HPE FlexFabric 5950 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 5950 Series:
Table of Contents

Advertisement

Examples
# Configure match rule 1 for the DHCPv6 user class exam to match DHCPv6 requests that contain
Option 16.
<Sysname> system-view
[Sysname] ipv6 dhcp class exam
[Sysname-dhcp6-class-exam] if-match rule 1 option 16
# Configure match rule 2 for the DHCPv6 user class exam. The rule matches DHCPv6 requests in
which the highest bit of the fourth byte in Option 16 is the hexadecimal number 1.
<Sysname> system-view
[Sysname] ipv6 dhcp class exam
[Sysname-dhcp6-class-exam] if-match rule 2 option 16 hex 00000080 mask 00000080
# Configure match rule 3 for the DHCPv6 user class exam. The rule matches DHCPv6 requests in
which the first three bytes of Option 16 are the hexadecimal number 13ae92.
<Sysname> system-view
[Sysname] ipv6 dhcp class exam
[Sysname-dhcp6-class-exam] if-match rule 3 option 16 hex 13ae92 offset 0 length 3
# Configure match rule 4 for the DHCPv6 user class exam. The rule matches DHCPv6 requests in
which the Option 16 contains the hexadecimal number 13ae.
<Sysname> system-view
[Sysname] ipv6 dhcp class exam
[Sysname-dhcp6-class-exam] if-match rule 5 option 16 hex 13ae partial
# Configure match rule 5 for the DHCPv6 user class exam to match DHCPv6 requests in which the
link-address field is 2001::1.
<Sysname> system-view
[Sysname] ipv6 dhcp class exam
[Sysname-dhcp6-class-exam] if-match rule 5 relay-agent 2001::1
Related commands
ipv6 dhcp class

ipv6 dhcp apply-policy

Use ipv6 dhcp apply-policy to apply a DHCPv6 policy to an interface.
Use undo ipv6 dhcp apply-policy to restore the default.
Syntax
ipv6 dhcp apply-policy policy-name
undo ipv6 dhcp apply-policy
Default
No DHCPv6 policy is applied to an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
policy-name: Specifies a DHCPv6 policy by its name, a case-insensitive string of 1 to 63 characters.
280

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents