網路設備起初只有基本的IPv6功能

若要開啟全部IPv6功能,則須執行以下指令。

※IP Base版本,僅有基本IPv6功能

※IP Services版本,才有完整功能

 

Switch# conf t
Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)# sdm prefer dual-ipv4-and-ipv6 default
Changes to the running SDM preferences have been stored, but cannot take effect 
until the next reload.
Use 'show sdm prefer' to see what SDM preference is currently active.

Switch# wr
Building configuration...
[OK]

Switch# reload

※需要重啟設備才會生效

Switch(config)# ipv6 unicast-routing      /開啟IPv6路由功能

 

Switch# show sdm prefer
 The current template is "desktop IPv4 and IPv6 default" template.
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1024 VLANs. 

  number of unicast mac addresses:                  2K
  number of IPv4 IGMP groups + multicast routes:    1K
  number of IPv4 unicast routes:                    3K
    number of directly-connected IPv4 hosts:        2K
    number of indirect IPv4 routes:                 1K
  number of IPv6 multicast groups:                  1K
  number of directly-connected IPv6 addresses:      2K
  number of indirect IPv6 unicast routes:           1K
  number of IPv4 policy based routing aces:         0
  number of IPv4/MAC qos aces:                      0.75K
  number of IPv4/MAC security aces:                 1K
  number of IPv6 policy based routing aces:         0
  number of IPv6 qos aces:                          0.5K
  number of IPv6 security aces:                     0.5K

 

補充

sdm prefer dual-ipv4-and-ipv6{default| routing| vlan} [desktop]

Select an SDM template that supports IPv4 and IPv6.

default—Set the switch to the default template to balance system resources.

routing—Set the switch to the routing template to support IPv4 and IPv6 routing, including IPv4 policy-based routing.

vlan—Maximize VLAN configuration on the switch with no routing supported in hardware.

desktop—Supported only on Catalyst 3750-12S aggregator switches to set the switch to one of the desktop templates. If not selected on an aggregator switch, an aggregator template is automatically selected.

arrow
arrow
    文章標籤
    IPv6
    全站熱搜

    鵝 發表在 痞客邦 留言(0) 人氣()