Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Configuring VLANs

Description

Use this command to configure VLANs.

Syntax

add interface <interface> vlan <vlan-id>

 

set interface <interface>.<vlan-id> ip-address <ip-address> mask-length <mask-len>

 

delete interface <interface> vlan <vlan-id>

 

Parameter

Description

interface

The name of the interface

vlan

Vlan ID number

mask-length

Network mask length

 

Example 1

add interface eth2-03 vlan 444

Output

> add interface eth2-03 vlan 444

1_01:

success

Example 2

set interface eth2-03.444 ipv4-address 30.30.30.1 mask-length 24

Output

> set interface eth2-03.444 ipv4-address 30.30.30.1 mask-length 24

1_01:

success

Example 3

show interface eth2-03 vlans

Output

> show interface eth2-03 vlans

1_01:

eth2-03.444

Notes

The output shows VLAN interfaces on physical interface eth2-03.

Example 4

delete interface eth2-03 vlan 444

Output

> delete interface eth2-03 vlan 444

1_01:

success

 
Top of Page ©2014 Check Point Software Technologies Ltd. All rights reserved. Download Complete PDF Send Feedback Print