Reference Guide

Table Of Contents
no interface management
Deleting a non-default VRF instance
Before deleting a non-default VRF instance, ensure all the dependencies and associations corresponding to that VRF instance
are first removed or disabled. Following table shows the dependencies that you have to remove before deleting a non-default
VRF instance:
Table 4. Configurations to be removed
CONFIGURATION MODE COMMAND
IP address In interface
configuration mode, undo the IP
address configuration.
INTERFACE CONFIGURATION
OS10(conf-if-eth1/1/10:1)#no ip address
ipv4-address or no ipv6 address ipv6
address
Port In interface configuration
mode, remove the interface
association corresponding to the
VRF instance that you want to
delete.
INTERFACE CONFIGURATION
OS10(conf-if-eth1/1/10:1)#no ip vrf
forwarding
After removing all dependences, you can delete the non-default VRF instances that you create.
Delete a non-default VRF instance using the following command:
CONFIGURATION
no ip vrf vrf-name
NOTE: You cannot delete the default VRF instance.
Configuring a static route for a non-default VRF instance
Configure a static route in a non-default VRF instance. Static routes contain IP addresses of the next-hop neighbors that
are reachable through the non-default VRF. These IP addresses could also belong to the interfaces that are part of the
non-default VRF instance.
CONFIGURATION
ip route vrf vrf-name ip-address mask next-hop-ip-address or ipv6 route vrf vrf-name ipv6-
address prefix-length next-hp[=ipv6address
For example: ip route vrf red 10.1.1.5/24 10.1.1.6 or ipv6 route vrf red 2::/64 3::1
Configure the route to direct traffic to a front-panel port in case of a non-default VRF instance.
CONFIGURATION
ip route ip-address-mask ethernet interface-type or ipv6 route ipv6address-mask ethernet
interface-type
For example: ip route 10.1.1.5/24 ethernet 1/1/1 or ipv6 route 2::/64 ethernet 1/1/1. Where
ethernet 1/1/1 is part of the non-default VRF.
Configuring static entry in IPv6 neighbor
Configure a static entry in the IPv6 neighbor discovery.
CONFIGURATION
ipv6 neighbor vrf vrftest 1::1 ethernet 1/1 xx:xx:xx:xx:xx:xx
Sample VRF configuration
The following configuration illustrates a typical VRF set-up.
258
Layer 3