Adding a VLAN Interface to a Node (CTP Menu)
This topic describes how add a VLAN interface to a node. Adding VLAN interfaces to a node comprises two steps:
Adding a VLAN ID to the System
When you add a VLAN to a node, the network and CTP devices are restarted to update the network parameters. The node is not restarted.
For VLAN switchover to function correctly, VLANs must be configured on the primary Ethernet interface (for example, eth1) that has IPv4 configured and Ethernet switchover enabled.
To add a VLAN ID to the system from the CTP Menu:
- From the Main Menu, select 5) Node Operations > 3) Configure network settings > 8) VLAN Configuration.
========================================================================== = (ctp_90 05/08/14 23:03:48 WST) | Network Configuration Menu ========================================================================== Please select a number from the following list: ------------------------------------- 0) Back to Previous Menu 1) Supported Protocols: IPv4 only 2) IPv4 Configuration 3) IPv6 Configuration 4) Virtual IP addresses 5) OAM port (IPv4): 16 6) CTP Bndl Data pkt protocol: 47 7) CTP Bndl OAM port (IPv6): 32 8) VLAN Configuration 9) Current Configuration (active on reboot) 10) Port operations (PBS/bridge) 11) Config port operational mode (CE/PBS/bridge) 12) Config access ip filtering 13) SNMP Configuration ------------ Your choice [0]: 8 *** *** You are about to modify a system parameter that will require *** a network restart when complete. *** *** If you decide to continue, the network will automatically *** restart upon leaving the menu, existing menu session will be *** terminated and active circuits will take traffic hits. For *** further configuration re-initiate the menu session. *** *** Note: If these parameters are changed incorrectly, *** system may not be reachable via the network *** after the network restarts. *** Are you sure? y[n]: y Exsisting VLAN interfaces : No VLAN is configured yet How do you want to change VLANs (add/delete/quit) ? (rtn for show): add Which ethernet port the new VLAN will be added on? (0-3)[0] 1 What is the new VLAN id? (0-4095)[0] 111 Exsisting VLAN interfaces : eth1.111: Vlan ID 111 on ethernet port 1 How do you want to change VLANs (add/delete/quit) ? (rtn for show): quit
- Follow the onscreen instructions and configure the options
as described in Table 22.
Table 22: Configuring a VLAN Interface
Field
Function
Your Action
How do you want to change VLANs ?
Enter add to add a new VLAN, delete to remove a VLAN, and rtn to show existing VLANs.
Enter add to create a new VLAN.
Which ethernet port the new VLAN will be added on ?
Specify the ethernet port number. The default value is 0 (zero).
What is the new VLAN id ?
Assign the VLAN ID for the newly created VLAN in the range 0–4095. The default value is 0 (zero).
Configuring VLAN Interface by Using the VLAN ID
- From the Main Menu, select 5) Node Operations > 3) Configure network settings > 2) IPv4 Configuration to assign an IP address for
the VLAN.
========================================================================== = (ctp_90 05/08/14 23:09:40 WST) | Network Configuration Menu ========================================================================== Please select a number from the following list: ------------------------------------- 0) Back to Previous Menu 1) Supported Protocols: IPv4 only 2) IPv4 Configuration 3) IPv6 Configuration 4) Virtual IP addresses 5) OAM port (IPv4): 16 6) CTP Bndl Data pkt protocol: 47 7) CTP Bndl OAM port (IPv6): 32 8) VLAN Configuration 9) Current Configuration (active on reboot) 10) Port operations (PBS/bridge) 11) Config port operational mode (CE/PBS/bridge) 12) Config access ip filtering 13) SNMP Configuration ------------ Your choice [8]: 2 *** *** You are about to modify a system parameter that will require *** a network restart when complete. *** *** If you decide to continue, the network will automatically *** restart upon leaving the menu, existing menu session will be *** terminated and active circuits will take traffic hits. For *** further configuration re-initiate the menu session. *** *** Note: If these parameters are changed incorrectly, *** system may not be reachable via the network *** after the network restarts. *** Are you sure? y[n]: y There are 2 ethernet devices available for use. The default device is the device through which the default gateway can be accessed. Ctp circuits can run over any ethernet device, default or not. A default device must be configured, other devices may be configured and enabled, or disabled. Here is a list ot the available devices and their descriptions: Copyright © 2014, Juniper Networks, Inc. 3 eth0: 10/100/1000 Copper (right back) eth1: 10/100/1000 Copper (left back) List of VLAN interface : eth1.111: Vlan ID 111 on ehternet port 1 What device would you like to make the IPV4 default device? (rtn for eth1): OK, eth1 (10/100/1000 Copper (left back)) will be configured as IPV4 default device. Please input the hostname (return for ctp_90): ===== Configuration for eth0: Activate IPV4 interface eth0 on boot [n] ===== Configuration for eth1 (default device): Please input the ip (return for 10.216.118.90): Please input the netmask (return for 255.255.254.0): Please input the gateway (return for 10.216.119.254): Please input the mtu in bytes (return for 1500): Add route to interface eth1 [n] IPV4 configuration for VLAN interfaces : ===== Configuration for eth1.111: Activate IPV4 interface eth1.111 on boot [n] y Please input the ip (return for 10.0.0.1): 1.1.1.1 Please input the netmask (return for 255.255.255.0): Please input the mtu in bytes (return for 1500): Add route to interface eth1.111 [n]
- Follow the onscreen instructions and configure the options
as described in Table 23.
Table 23: IP Parameters for Configuring a VLAN
Field
Your Action
What device would you like to make the IPv4 default device ?
Select the default Ethernet device.
Please input the hostname.
Specify the host name. Press Enter to select the default hostname.
Note: Until CTPView Release 7.1R1, when you enter valid fully qualified domain names (FQDN) with subdomains, CTPView does not enable the subdomains (labels or dots) to be entered and has restrictions with the maximum length of the hostname length to be 24 characters. Starting with CTPView Release 7.2R1, you can specify hostnames of CTP devices in compliance with the domain name system (DNS) standards, which enables you to enter labels or subdomains in a hostname. Each label in a hostname can have a maximum of 63 characters and the entire FQDN can be up to a maximum of 253 characters. No specific restriction on the number of labels exists.
Activate the IPv4 interface eth0 on boot.
Enter n.
Ethernet failover may not work correctly if multiple Ethernet interfaces are activated or the active Ethernet interface is configured as the secondary interface.
Configuration for eth1 (default device)
Enter the IP address, network mask, gateway, and MTU for eth1.
Activate the IPv4 interface eth1.111 on boot.
Enter y.
Configuration for eth1.111
Enter the IP address, network mask, and MTU for eth1.111.