The following examples illustrate a variety of ways by which you can remove a VRF configuration: deleting a VRF instance from a port, deleting an address family from a VRF, and deleting the VRF globally.
To delete a VRF instance from a specific port, use the no form of the vrf forwarding command. This removes all Layer 3 interface bindings from the VRF, and returns the interface to default VRF mode. All IP addresses and protocol configuration on this Layer 3 interface are removed.
device(conf-if-eth-0/1)# no vrf forwarding
device(config-vrf-customer1)# no address-family ipv4
To delete a VRF instance globally, use the no form of the vrf command. All IPv4 or IPv6 addresses are removed from all interfaces.
device(config)# no vrf customer1