Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The VRF configuration process is in the following steps:

  1. Enable IP routing function before using VRF function.
  2. Create a VRF for the tenant.
  3. Bind one or more VLAN interfaces to the VRF.
  4. Configure static routes into the VRF table.

Procedure

Step1         Enable IP routing function before using VRF function.

                   set ip routing enable <true | false>

Step2         Create a VRF for the tenant.

                   set ip vrf <vrf-name> [description <string>]

Step3         Configure the VLAN.

   a)      Configure VLAN ID.

    set vlans vlan-id <vlan-id>

    b)     Configure the interface to a VLAN.

    set interface gigabit-ethernet <port> family ethernet-switching native-vlan-id <vlan-id>

    c)      Configure the IP address of the Layer 3 interface.

    set vlan-interface interface <interface-name> vif <vif-name> address <address> prefix-length <number>

    d)     Associate a Layer 3 interface with a VLAN.

    set vlans vlan-id <vlan-id> l3-interface <interface-name>

Step4         Bind the Layer 3 VLAN interface to a VRF.

                   set vlan-interface interface <interface-name> vrf <vrf-name>

Step5         (Optional) Configure a static route entry into the VRF.

                   set protocols static [vrf <vrf-name>] route <ip-address> [next-hop <nexthop-address>]

Step6         (Optional) Configure static ARP entries.

                   set protocols arp interface <interface-name> address <ip-address> mac-address <mac-address>

                   The ARP entries are associated with the VRF by binding the Layer 3 VLAN interface to the VRF.

  • No labels