Activating and deactivating a CTC interface

6.10 LPAR mode z/VM guest

Use ip or an equivalent command to activate or deactivate an interface.

Before you begin

  • Activate and deactivate a CTC interfaces only. For information about activating MPC interfaces, see the Communications Server for Linux® documentation.
  • You must know the interface name.

About this task

Syntax for setting an IP address for a CTC interface with the ip command

Read syntax diagramSkip visual syntax diagram ip address  add  <ip_address>  dev  <interface>  peer  <peer_ip_address

Syntax for activating a CTC interface with the ip command

Read syntax diagramSkip visual syntax diagram ip link set  dev  <interface>  up  mtu 32760 mtu  <max_transfer_unit>
Where:
<interface>
is the interface name that was assigned when the CTCM group device was set online.
<ip_address>
is the IP address that you want to assign to the interface.
<peer_ip_address>
is the IP address of the remote side.
<max_transfer_unit>
is the size of the largest IP packet that might be transmitted. Be sure to use the same MTU size on both sides of the connection. The MTU must be in the range of 576 byte to 65,536 byte (64 KB).

Syntax for deactivating a CTC interface with the ip command

Read syntax diagramSkip visual syntax diagramip link set  dev  <interface>  down
Where:
<interface>
is the interface name that was assigned when the CTCM group device was set online.

Procedure

  • Use ip or an equivalent command to activate the interface:
  • To deactivate an interface, issue a command of this form:
    # ip link set dev <interface> down

Examples

  • This example activates a CTC interface ctc0 with an IP address 10.0.51.3 for a peer with address 10.0.50.1 and an MTU of 32760.
    # ip addr add 10.0.51.3 dev ctc0 peer 10.0.50.1
    # ip link set dev ctc0 up mtu 32760
  • This example deactivates ctc0:
    # ip link set dev ctc0 down