ipv6 address

Syntax

ipv6 address

描述

Sets the IPv6 address for a loopback interface.

Command context

config

Parameters

< IPV6-ADDR >

Specifies an IP address in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

指定数量的bits in the address mask in CIDR format (x), wherexis a decimal number from 0 to 128.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

switch(config)#interface loopback 1switch(config-loopback-if)#ipv6 address fd00:5708::f02d:4df6/64