- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-21-2021 12:48 PM
admin@firewall(active)# set vsys vsys1 zone test network layer3 ethernet1/17.66
Server error : layer3 'ethernet1/17.66' is not a valid reference
11-21-2021 01:19 PM
Hi @davistg ,
Did you create the zone first with the "set vsys vsys1 zone test" command? Also, you will need to create interface ethernet1/17.66 as a layer3 interface if it doesn't already exist. Then, your command should work.
Thanks,
Tom
04-11-2025 08:37 AM - edited 04-11-2025 10:23 AM
I had the same issue. Here is the solution: https://live.paloaltonetworks.com/t5/general-topics/panorama-cli-command-to-add-a-tunnel-interface-t...
You have to import the interface into the vsys before the Zone will "see" it and be able to be assigned to it
set config vsys vsys1 import network interface ethernet1/1.1001
Here is a full set of steps to create new ethernet subinterface, for example, and assign it to the myZone zone:
# Create subinterface w/ vlan tag, mgmt profile, comment, and IP address
set config network interface ethernet ethernet1/1 layer3 units ethernet1/1.1001 tag 1001 interface-management-profile "Ping" comment "Interface" ip 192.168.100.1/24
# Set the virtual router for the new interface
set config network virtual-router default interface ethernet1/1.1001
# Import the new interface into the vsys (so the Zone can see it as an available interface to add)
set config vsys vsys1 import network interface ethernet1/1.1001
# Set the Zone for the new interface
set config vsys vsys1 zone MyZone network layer3 ethernet1/1.1001
# (Optional, but helpful in many scenarios) Set up DHCP relaying to an existing DHCP server (saved in variable $DHCPSERVER)
set config network dhcp interface ethernet1/1.1001 relay ip server $DHCPSERVER enabled yes
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!