Technical Tip: How to check VRF in a session table
| Description | The article describes how to identify VRF information in the FortiGate session table. |
| Scope | FortiGate. |
| Solution |
edit "LB-10" set vdom "root" set vrf 10 set ip 200.10.10.1 255.255.255.0 set allowaccess ping set type loopback set role lan set snmp-index 17 set ip-managed-by-fortiipam disable next end set vdom "root" set vrf 20 set ip 200.10.20.1 255.255.255.0 set allowaccess ping set type loopback set role lan set snmp-index 18 set ip-managed-by-fortiipam disable next end
Understanding vd=0:20. vd=0: This indicates that the VDOM index is 0, which is typically associated with the root VDOM. To verify the VDOM index, execute the following command in the global VDOM: diagnose sys vd list. In most cases, the root VDOM is assigned an index of 0.
Example:
FortiGate-100E (global) # diagnose sys vd list | grep index
|



