Skip to main content
Version: 7.26

vrf


ip/vrf​

Type: Directory

Virtual Routing and Forwarding instances. Each VRF has a dynamic routing table and a virtual interface of type vrf with the VRF's name. The connected routes of its interfaces go to that table. An interface belongs to the first entry, from the top, that lists it. New entries are added at the top, and the built-in main entry is always the last one. See VRF.

FlagNameDescription
XdisabledThe VRF is disabled. Its routing table is removed, and its interfaces belong to the next entry that lists them.
*builtinThe built-in main VRF, with interfaces=all. It cannot be moved.
ArgumentTypeDescription
name ( mandatory )stringName of the VRF. It is also the name of the VRF's routing table and of its vrf interface, and the name used after @ in gateways and addresses (192.168.1.1@cust-a).
interfaces ( mandatory )object { interface: iface_enum }Interfaces of the VRF. When several entries list the same interface, the upper entry gets it. A firewall filter rule cannot use a member port in in-interface or out-interface (the rule is invalid): use the VRF interface there. Interface lists (in-interface-list) do match the member port.