
176
TimeProvider 2300/2700 User’s Guide
098-00564-000 Revision A3 – July, 2013
Chapter 3
TimeProvider 2300/2700 CLI Command Set
In VLAN enable mode, all the IP configurations are provisioned by set vlan config
command. If VLAN mode is disabled, the IP configurations are provisioned by
set
ip
command.
The command is also used to add a new VLAN configuration to an Ethernet port
and provision its Host, Mask, and Gateway IP addresses. This command also can
be used to modify or delete an existing VLAN configuration. Each VLAN must be
configured with its own IP address on a separate network/subnet.
The PTP server port, ETH2 (R2 or S2) can support up to 64 VLAN channels.
– The first 16 VLANs (Index = 1 to 16) on the PTP server port can be
configured with the default gateway.
– The non-fixed VLANs (up to 48) can be configured with one static route.
When a non-fixed VLAN is removed, the route will be automatically
deleted.
The PTP client port, ETH1 (r1 or s1) can support 2 VLAN channels.
When using VLANs, the network administrator should configure the Ethernet
switches and/or router to handle the VLANs.
Command Syntax:
To provision the VLAN mode for the specified port or expansion shelf:
set vlan mode {eth1 | eth2} {enable | disable}
To provision PTP Client Port ETH1:
To add a fixed VLAN (default) with IPv4 address for the PTP client port, ETH1:
set vlan config eth1 add index 1 vlan-id <vlan-id> priority
<priority> ipv4 address <ipv4-address> netmask <ipv4-mask>
gateway <ipv4-gateway>
Note:
If the Ethernet interface is not to be part of a VLAN, use the
command
, on page 97 to provision the IP addresses instead.
Note:
Wait 30 seconds after executing the command "set vlan mode
ethx" before issuing the next command.
Note:
If a gateway router is not required, then set the gateway value
to the special value of 0.0.0.0