Step 1 |
configure
|
|
Step 2 | pool vrf name ipv6 pool_name
Example:RP/0/RSP0/CPU0:router(config)# pool vrf default ipv6 pool1
| Configures the distributed address pool service.
|
Step 3 | address-range first_ipv6_address last_ipv6_address
Example:RP/0/RSP0/CPU0:router(config-pool-ipv6)# address-range 2201:abcd:1234:2400:f800::1 2201:abcd:1234:2400:f800::fff
| Configures the address-range.
|
Step 4 | pool vrf name ipv6 pool_name
Example:RP/0/RSP0/CPU0:router(config)# pool vrf default ipv6 pool2
| Configures the distributed address pool service.
|
Step 5 | prefix-length length
Example:RP/0/RSP0/CPU0:router(config-pool-ipv6)# prefix-length 92
| Specifies the prefix-length to be used.
|
Step 6 | prefix-range first_ipv6_address last_ipv6_address
Example:RP/0/RSP0/CPU0:router(config-pool-ipv6)# prefix-range 3301:1ab7:2345:1200:f800:: 3301:1ab7:2345:1200:f800:fff0::
| Specifies the prefix-range for allocation.
|
Step 7 |
commit
|
|
Step 8 | dhcp ipv6
Example:RP/0/RSP0/CPU0:router(config)# dhcp ipv6
| Configures DHCP for IPv6 and enters the DHCPv6 configuration mode.
|
Step 9 | interface type interface-path-id server profile profile_name
Example:RP/0/RSP0/CPU0:router(config-dhcpv6)# interface Bundle-Ether1.1 server profile foo
| Associates a DHCPv6 proxy configuration profile to an IPv6 interface.
|
Step 10 | profile server_profile_name server
Example:RP/0/RSP0/CPU0:router(config-dhcpv6)# profile foo server
| Creates a DHCPv6 server profile and enters the DHCPv6 server profile sub-configuration mode.
|
Step 11 | prefix-pool pool_name
Example:RP/0/RSP0/CPU0:router(config-dhcpv6-server-profile)# prefix-pool pool2
| Configures a prefix pool in a server profile.
|
Step 12 | address-pool pool_name
Example:RP/0/RSP0/CPU0:router(config-dhcpv6-server-profile)# address-pool pool1
| Configures an address pool in the server profile.
|
Step 13 |
commit
|
|
Step 14 | dhcp ipv6
Example:RP/0/RSP0/CPU0:router(config)# dhcp ipv6
| Configures DHCP for IPv6 and enters the DHCPv6 configuration mode.
|
Step 15 | interface type interface-path-id proxy profile profile_name
Example:RP/0/RSP0/CPU0:router(config-dhcpv6)# interface Bundle-Ether1.1 proxy profile foo
| Associates a DHCPv6 proxy configuration profile to an IPv6 interface.
|
Step 16 | profile server_profile_name proxy
Example:RP/0/RSP0/CPU0:router(config-dhcpv6)# profile foo proxy
| Creates a DHCPv6 server profile and enters the DHCPv6 server profile sub-configuration mode.
|
Step 17 | helper-address vrf vrf_name ipv6_address
Example:RP/0/RSP0/CPU0:router(config-dhcpv6-proxy-profile)# helper-address vrf my-server-vrf 1:1:1::1
| Configures DHCPv6 address as a helper address to the proxy.
Note
| The helper address can be configured only under the proxy profile and proxy profile class sub-modes.
|
|
Step 18 |
commit
|
|
Step 19 | dynamic-template type ipsubscriber dynamic_template_name
Example:RP/0/RSP0/CPU0:router(config)# dynamic-template type ipsubscriber dhcpv6_temp
| Configures the dynamic template of type ipsubscriber and enters the dynamic template type configuration mode.
|
Step 20 | ipv6 enable
Example:RP/0/RSP0/CPU0:router(config-dynamic-template-type)# ipv6 enable
| Enables IPv6 on an interface.
|
Step 21 | dhcpv6 address-pool pool_name
Example:RP/0/RSP0/CPU0:router(config-dynamic-template-type)# dhcpv6 address-pool pool3
| Configures DHCPv6 address pool.
|
Step 22 | dhcpv6 delegated-prefix-pool pool_name
Example:RP/0/RSP0/CPU0:router(config-dynamic-template-type)# dhcpv6 delegated-prefix-pool pool4
| Configures DHCPv6 delegated prefix pool.
|
Step 23 |
commit
|
|
Step 24 | class-map type control subscriber match-all class-map_name
Example:RP/0/RSP0/CPU0:router(config)# class-map type control subscriber match-all dhcpv6_class
| Configures the class map control subscriber with a match-any criteria.
|
Step 25 | match protocol dhcpv6
Example:RP/0/RSP0/CPU0:router(config-cmap)# match protocol dhcpv6
| Configures match criteria for the class configured in the earlier step.
|
Step 26 | end-class-map
Example:RP/0/RSP0/CPU0:router(config-cmap)# end-class-map
| Configures the end class map.
|
Step 27 | policy-map type control subscriber class-map_name
Example:RP/0/RSP0/CPU0:router(config)# policy-map type control subscriber dhcpv6-policy
| Configures the subscriber control policy map.
|
Step 28 | event session-start match-first
Example:RP/0/RSP0/CPU0:router(config-pmap)# event session-start match-first
| Configures the policy event with the match-first criteria.
|
Step 29 | class type control subscriber class_name do-all
Example:RP/0/RSP0/CPU0:router(config-pmap-e)# class type control subscriber dhcpv6_class do-all
| Configures the class map control subscriber with a match-any criteria.
|
Step 30 | sequence_number activate dynamic-template dynamic-template_name
Example:RP/0/RSP0/CPU0:router(config-pmap-c)# 20 activate dynamic-template dhcpv6_temp
| Activates actions related to dynamic template.
|
Step 31 | end-policy-map
Example:RP/0/RSP0/CPU0:router(config-pmap-c)# end-policy-map
| Configures the end policy map.
|
Step 32 |
commit
|
|
Step 33 | interface type interface-path-id
Example:RP/0/RSP0/CPU0:router(config)# interface Bundle-Ether1.1
| Configures an interface and enters the interface configuration mode.
|
Step 34 | ipv4 address ipv4_address
Example:RP/0/RSP0/CPU0:router(config-if)# ipv4 address 11.11.11.2 255.255.255.0
| Configures the ipv4 address on an interface.
|
Step 35 | ipv6 address ipv6_address
Example:RP/0/RSP0/CPU0:router(config-if)# ipv6 address 11:11:11::2/64
| Configures the ipv6 address on an interface.
|
Step 36 | ipv6 enable
Example:RP/0/RSP0/CPU0:router(config-if)# ipv6 enable
| Enables IPv6 on an interface.
|
Step 37 | service-policy type control subscriber name
Example:RP/0/RSP0/CPU0:router(config-if)# service-policy type control subscriber dhcpv6_policy
| Associates a subscriber control service policy to the interface.
|
Step 38 | ipsubscriber ipv6 l2-connected
Example:RP/0/RSP0/CPU0:router(config-if)# ipsubscriber ipv6 l2-connected
| Enables l2-connected IPv6 subscriber.
|
Step 39 | initiator dhcp
Example:RP/0/RSP0/CPU0:router(config-if-ipsub-ipv6-l2conn)# initiator dhcp
| Configures IPv6 subscriber initiator.
|
Step 40 |
commit
|
|