port-type
Use port-type to change a Layer 2 Ethernet interface to an FC interface or change an FC interface back
to a Layer 2 Ethernet interface.
Syntax
In Layer 2 Ethernet interface view:
port-type fc
In FC interface view:
port-type ethernet
Default
A Layer 2 Ethernet interface is not changed to an FC interface.
Views
Layer 2 Ethernet interface view, FC interface view
Predefined user roles
network-admin
Parameters
ethernet: Changes an FC interface back to a Layer 2 Ethernet interface.
fc: Changes a Layer 2 Ethernet interface to an FC interface.
Usage guidelines
Layer 2 Ethernet interfaces can be changed to FC interfaces.
To change a Layer 2 Ethernet interface to an FC interface, use the port-type fc command in Layer 2
Ethernet interface view. To change an FC interface back to a Layer 2 Ethernet interface, use the port-type
ethernet command in FC interface view.
When the port type of an interface is changed, the following events occur:
•
The original interface is deleted.
A new interface is created with the same interface number as the original interface.
•
Examples
# Change interface Ten-GigabitEthernet 1/0/1 to interface FC 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port-type fc
[Sysname-Fc1/0/1]
reset counters interface
Use reset counters interface to clear statistics for FC interfaces.
Syntax
reset counters interface [ fc [ interface-number ] ]
15