# Associating a switch port with a VRF instance

Use this procedure to associate a switch port with a specific VRF instance.

Important

You cannot associate a switch port with a VRF instance if the port has an IP address configured. You can configure the port IP address after you associate the port with the VRF instance.

## Procedure steps

1. In the Device Physical View, select a switch port.

2. From the navigation pane, double-click Edit.

3. In the Edit tree, click Chassis.

4. In the Chassis tree, click Ports.

5. In the Ports work area, click the VRF tab.

6. Click the ellipsis (...) to the right of the BrouterVrfid box.

7. Select a VRF instance.

8. Click Ok.

9. On the toolbar, click Apply.

10. On the toolbar, you can click Refresh to verify the port association with the VRF instance.

## Variable definitions

Variable | Value
--- | ---
BrouterVrfid | Indicates the numerical ID of the VRF instance currently associated with the port. Values range from 1 to 3. You can change the VRF instance associated with the port by clicking the ellipsis. A value of 0 indicates that the port is associated with default VRF.
BrouterVrfName | Indicates the name of the VRF instance associated with the port.