ipv6 route vrf

ipv6 route/[||reject|nullroute] vrf

no ipv6 route/[||reject|nullroute] vrf

Description

Adds an IPv6 static route in the specified VRF. If nois specified it is added to the default VRF.

Thenoform of this command removes an IPv6 static route from the VRF.

Parameter

Description

Specifies an IP address 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.

nullroute

Specifies that packets matching the destination prefix are silently discarded and no ICMP error notification is sent to the sender.

reject

Specifies that packets matching the destination prefix are discarded and an ICMP error notification is sent to the sender.

vrf

Specifies the name of a VRF. Default: default.

Examples

switch(config)#ipv6 route 120::/124 121::2 vrf test

switch(config)#ipv6 route 121::/124 1/1/9 vrf test

switch(config)#ipv6 route 122::/124 nullroute vrf test

switch(config)#ipv6 route 123::/124 reject vrf test

switch(config)#no ipv6 route 120::/124 121::2 vrf test

Command History

Release

Modification

10.10

Inclusive language update.

10.07 or earlier

--

Command Information

Platforms

Command context

Authority

8400

9300

config

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