Configuration Commands

There are duplicate commands for the second VLAN, that is vlan2 instead of vlan1.

eth0 vlan1 ip

Configures the VLAN Ethernet IP address.

# config eth0 vlan1 ip 192.168.1.100 255.255.0.0
eth0 vlan1 id

Assigns a unique VLAN ID that is used for the VLAN encapsulation packet. This value can be in the range from 2 through 4095.

# config eth0 vlan1 id 100

Note: If the VLAN ID you have configured is already being used by any other VLAN, a warning message is displayed.

eth0 vlan1 priority

This assigns the 3 bit priority in the VLAN header which is used for differential services transporting the packet. It is recommended this be configured to the high priority level and use the value 7.

# config eth0 vlan1 priority 7
eth0 vlan1 ip-mode

Configures the IP address as being a static or dynamic.

# config eth0 vlan1 ip-mode static
ptp gm dscp

Configures the Differential Service (DiffServ) of the IP packet which transports the PTP event and signaling messages. This should be configured to Explicit Forward (EF) which is a value of 46 decimal.

# config ptp gmslv dscp 46
ptp gm interface

Configures the VLAN 1 or 2 configuration parameters to be used to encapsulate the PTP signaling and event messages.

Note: PTP functionality is only available on eth0

# config ptp gm interface eth0 1
eth0 vlan1 enable

VLAN encapsulation of the IP packet is enabled

# config eth0 vlan1 enable

Note: After VLAN related configuration restart PTP by using the command “# restart ptp “

eth0 vlan1 disable

VLAN encapsulation of the IP packet is disabled

# config eth0 vlan1 disable

Note: After VLAN related configuration restart PTP by using the command “# restart ptp”