API Guide

Or
management route ipv6-address prefix-length managementethernet
You can also configure the management route to direct traffic to a physical interface. For example:
management route 10.1.1.0/24 managementethernet
Or
management route 2::/64 managementethernet
Configure non-default VRF instances
In addition to a management VRF instance and default VRF, OS10 also supports non-default VRF instances. You can create a
maximum of 512 non-default VRF instances.
While you can assign management interfaces only to the management VRF instance, you can assign any physical or logical
interface VLAN, port channel, or loopback, to a non-default VRF instance.
When you create a new non-default VRF instance, OS10 does not assign any interface to it. You can assign the new VRF
instance to any of the existing physical or logical interfaces, provided they are not already assigned to another non-default VRF.
NOTE: When you create a new logical interface, OS10 assigns it automatically to the default VRF instance. In addition,
OS10 initially assigns all physical Layer 3 interfaces to the default VRF instance.
You can reassign any interface that is assigned to a non-default VRF instance back to the default VRF instance.
To create a non-default VRF instance, from the CONFIGURATION mode, specify a name and enter the VRF configuration
mode:
CONFIGURATION
ip vrf vrf-name
Assign an interface to a non-default VRF instance
After creating a non-default VRF instance, you can associate an interface to the VRF instance that you created.
To assign an interface to a non-default VRF, perform the following steps:
1. Enter the interface that you want to assign to a non-default VRF instance.
CONFIGURATION
interface ethernet 1/1/1
2. Remove the interface from L2 switching.
INTERFACE
no switchport
3. Assign the interface to a non-default VRF.
INTERFACE CONFIGURATION
ip vrf forwarding vrf-test
Before assigning an interface to a VRF instance, ensure that no IP address is configured on the interface.
4. Assign an IPv4 address to the interface.
INTERFACE CONFIGURATION
ip address 10.1.1.1/24
5. Assign an IPv6 address to the interface.
INTERFACE CONFIGURATION
ipv6 address 1::1/64
You can also auto configure an IPv6 address using the ipv6 address autoconfig command.
NOTE:
Before configuring any routing protocol in a VRF instance, you must first assign an IP address to at least one of
the interfaces assigned to the VRF instance on which you want to configure routing protocols.
Layer 3 531