Cisco catalyst 3750 Command Reference Manual page 309

Hide thumbs Also See for catalyst 3750:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
After you create the DHCPv6 configuration information pool, use the ipv6 dhcp server interface
configuration command to associate the pool with a server on an interface. However, if you do not
configure an information pool, you still need to use the ipv6 dhcp server interface configuration
command to enable the DHCPv6 server function on an interface.
When you associate a DHCPv6 pool with an interface, only that pool services requests on the associated
interface. The pool also services other interfaces. If you do not associate a DHCPv6 pool with an
interface, it can service requests on any interface.
Not using any IPv6 address prefix means that the pool only returns configured options.
The link-address keyword allows matching a link-address without necessarily allocating an address.
You can match the pool from multiple relays by using multiple link-address configuration commands
inside a pool.
Because a longest match is performed on either the address pool information or the link information, you
can configure one pool to allocate addresses and another pool on a subprefix that only returns configured
options.
Examples
This example shows how to configure a pool called engineering with an IPv6 address prefix:
Switch# configure terminal
Switch(config)# ipv6 dhcp pool engineering
Switch(config-dhcpv6)# address prefix 2001:1000::0/64
Switch(config-dhcpv6)# end
This example shows how to configure a pool called testgroup with three link-address prefixes and an
IPv6 address prefix:
Switch# configure terminal
Switch(config)# ipv6 dhcp pool testgroup
Switch(config-dhcpv6)# link-address 2001:1001::0/64
Switch(config-dhcpv6)# link-address 2001:1002::0/64
Switch(config-dhcpv6)# link-address 2001:2000::0/48
Switch(config-dhcpv6)# address prefix 2001:1003::0/64
Switch(config-dhcpv6)# end
This example shows how to configure a pool called 350 with vendor-specific options:
Switch# configure terminal
Switch(config)# ipv6 dhcp pool 350
Switch(config-dhcpv6)# vendor-specific 9
Switch(config-dhcpv6-vs)# suboption 1 address 1000:235D::1
Switch(config-dhcpv6-vs)# suboption 2 ascii "IP-Phone"
Switch(config-dhcpv6-vs)# end
OL-8552-07
vendor-specific: enables the DHCPv6 vendor-specific configuration mode. These configuration
commands are available:
vendor-id: enter a vendor-specific identification number. This number is the vendor IANA
Private Enterprise Number. The range is 1 to 4294967295.
suboption number: sets vendor-specific suboption number. The range is 1 to 65535. Enter an
IPv6 address, ASCII text, or a hex string as defined by the suboption parameters.
Catalyst 3750 Switch Command Reference
ipv6 dhcp pool
2-279

Advertisement

Table of Contents
loading

Table of Contents