Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Configuring VLANs

Use these commands to configure VLANs.

Syntax

> add interface <if_name> vlan <vlan_id>
> set interface <if_name>.<vlan_id-id> ip-address <ip_addr> mask-length <mask-len>
> delete interface <if_name> vlan <vlan_id>

Parameter

Description

<if_name>

Name of the physical interface

<vlan_id>

Vlan ID number

<ip_addr>

VLan IP Address

<mask-len>

Network mask length

Example - Adding a vlan interface

> add interface eth2-03 vlan 444

Output

1_01:
success

Example - Configuring a vlan interface

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

Output

1_01:
success

Example - Deleting a vlan interface

delete interface eth2-03 vlan 444

Output

1_01:
success

To show the vlan interfaces on a physical interface:

Run:

> show interface <interface> vlans

Example

> show interface eth2-03 vlans

Output

1_01:
eth2-03.444
 
Top of Page ©2014 Check Point Software Technologies Ltd. All rights reserved. Download Complete PDF Send Feedback Print