Net Mode Configuration Commands
58
ProSafe Gigabit Quad WAN SSL VPN Firewall SRX5308
Related show command: show net lan ipv4 setup
net ethernet configure <interface name or number>
This command configures a VLAN for a LAN interface. After you have issued the net
ethernet configure command to specify a LAN interface, you enter net-config [ethernet]
mode, and then you can configure one keyword and associated parameter or associated
keyword at a time in the order that you prefer.
Command example:
SRX5308>
net ethernet configure eth0
net-config[ethernet]>
vlanid 12
net-config[ethernet]>
vlan-enable Y
net-config[ethernet]>
native-vlan N
net-config[ethernet]>
save
Note: To enter the net-config [ethernet] mode, you can issue the net
ethernet configure command with either an interface name
such as eth0 or an interface number such as 0.
Related show command: show net ethernet {interface name | all}
Step 1 Format net ethernet configure <interface name or number>
Mode net
Step 2 Format vlanid <number>
vlan-enable {Y | N}
native-vlan {Y | N}
Mode net-config [ethernet]
Keyword Associated Keyword to
Select or Parameter to Type
Description
vlanid number The VLAN ID.
vlan-enable Y or N Enables or disables the VLAN for this interface.
native-vlan Y or N Enables or disables the default (native) VLAN for this
interface.