port up-mode

Use port up-mode to forcibly bring up a fiber port.

Use undo port up-mode to restore the default.

Syntax

port up-mode

undo port up-mode

Default

Fiber ports are not forcibly brought up. The physical state of the fiber port is determined by the physical state of the optical fibers.

Views

Ethernet interface view

Predefined user roles

network-admin

Usage guidelines


[CAUTION: ]

CAUTION:

The following operations on a fiber port will cause link updown events before the port finally stays up:

  • Configure the port up-mode command and the speed or duplex command at the same time.

  • Install or remove fiber links or transceiver modules after you forcibly bring up the fiber port.


  • You can use this command to forcibly bring up a fiber Ethernet port, and enable the port to forward packets unidirectionally over a single link. In this way, transmission links are well utilized.

    After you forcibly bring up an Ethernet fiber port, the fiber port stays physically up whether or not a transceiver module or fiber connections are present for the port.

    Copper ports do not support this command.

    The port up-mode command is mutually exclusive with either of the shutdown and loopback commands.

    Examples

    # Forcibly bring up fiber port Ten-GigabitEthernet 1/0/1.

    <Sysname> system-view
    [Sysname] interface ten-gigabitethernet 1/0/1
    [Sysname-Ten-GigabitEthernet1/0/1] port up-mode