ipv6 route

ipv6 route/{|| |拒绝

nullroute}

no ipv6 route/{||

reject | nullroute}

Description

Adds an IPv6 static route.

Thenoform of this command deletes an IPv6 static route on the default VRF.

Parameter

Description

Specifies the route destination in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

Specifies the number of bits in the address mask in CIDR format (x), wherexis a decimal number from 0 to 128.

Specifies the next hop in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F.

Specifies the next hop as an outgoing interface.

reject

指定数据包匹配destination route are discarded and an ICMP error notification is sent to the sender.

nullroute

指定数据包匹配destination route are silently discarded and no ICMP error notification is sent to the sender.

Examples

switch(config)#ipv6 route 120::/124 nullroute

switch(config)#ipv6 route 121::/124 nullroute

switch(config)#ipv6 route 122::/124 1/1/1

switch(config)#ipv6 route 122::/124 1/1/1.110

switch(config)#no ipv6 route 122::/124 1/1/1.110

Command History

Release

Modification

10.10

Inclusive language update.

10.07 or earlier

--

Command Information

Platforms

Command context

Authority

All platforms

config

Administrators or local user group members with execution rights for this command.