- Table of Contents
-
- 11 High Availability Command Reference
- 00-Preface
- 01-Ethernet OAM commands
- 02-CFD commands
- 03-DLDP commands
- 04-RRPP commands
- 05-ERPS commands
- 06-Smart Link commands
- 07-Monitor Link commands
- 08-VRRP commands
- 09-Reth interface and redundancy group commands
- 10-BFD commands
- 11-Track commands
- 12-Process placement commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Reth interface and redundancy group commands | 65.04 KB |
Reth interface commands
bandwidth
Use bandwidth to set the expected bandwidth for a Reth interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth is 10000 kbps for a Reth interface.
Views
Reth interface view
Predefined user roles
network-admin
mdc-admin
Parameters
bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
Usage guidelines
The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.
Examples
# Set the expected bandwidth to 50 kbps for Reth 1.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1] bandwidth 50
default
Use default to restore the default settings for a Reth interface.
Syntax
default
Views
Reth interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
|
CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you execute it on a live network. |
This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions.
To resolve this problem:
1. Use the display this command in interface view to identify these commands.
2. Use their undo forms or follow the command reference to restore their default settings.
3. If the restoration attempt still fails, follow the error message instructions to resolve the problem.
Examples
# Restore the default settings for Reth 1.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1] default
description
Use description to configure the description of an interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description of a Reth interface is interface-name plus Interface (for example, Reth1 Interface).
Views
Reth interface view
Predefined user roles
network-admin
mdc-admin
Parameters
text: Specifies a description, a case-sensitive string of 1 to 255 characters.
Examples
# Configure the description of Reth 1 as master-interface.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1] description master-interface
display interface reth
Use display interface reth to display Reth interface information.
Syntax
display interface [ reth [ interface-number ] ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
reth [ interface-number ]: Specifies Reth interfaces. The interface-number argument specifies an existing Reth interface by its number. If you do not specify the reth keyword, the command displays information about all interfaces. If you specify the reth keyword without the interface-number argument, the command displays information about all Reth interfaces.
brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
down: Displays information about interfaces in down state and the causes for the down state. If you do not specify this keyword, the command displays information about interfaces in all states.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of each interface description.
Examples
# Display detailed information about Reth 1.
<Sysname> display interface reth 1
Reth1
Current state: UP
Line protocol state: UP
Description: Reth1 Interface
Bandwidth: 10000kbps
Maximum transmission unit: 1500
Internet protocol processing: Disabled
IP packet frame type: Ethernet II, hardware address: 0cda-41b5-cf30
IPv6 packet frame type: Ethernet II, hardware address: 0cda-41b5-cf30
Physical: Reth, baudrate: 10000000 bps
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops
Table 1 Command output
Field |
Description |
Current state |
Physical link state of the interface: · Administratively DOWN—The interface has been shut down by using the shutdown command. · DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed). · UP—The interface is both administratively and physically up. A Reth interface is both administratively and physically up when a minimum of one member interface is administratively and physically up. |
Line protocol state |
Data link layer state of the interface. The state is determined through automatic parameter negotiation at the data link layer. · UP—The data link layer protocol is up. · DOWN—The data link layer protocol is down. |
Description |
Description of the interface. |
Bandwidth |
Expected bandwidth of the interface. |
Maximum transmission unit |
MTU of the interface. |
Internet protocol processing: Disabled |
The interface is not assigned an IP address and cannot process IP packets. |
Internet Address |
IP address of the interface. The primary attribute indicates that the address is the primary IP address. |
IP packet frame type |
IPv4 packet framing format. |
hardware address |
MAC address of the interface. |
IPv6 packet frame type |
IPv6 packet framing format. |
Physical |
Interface type. |
Last clearing of counters |
Last time when the reset counters interface command was used to clear the interface statistics. If the reset counters interface command has never been used on the interface since the device startup, this field displays Never. |
Last 300 second input: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 second output: 0 bytes/sec, 0 bits/sec, 0 packets/sec |
Average incoming and outgoing traffic rate for the last 300 seconds. |
Input: 0 packets, 0 bytes, 0 drops |
Incoming traffic statistics on the interface: · Number of packets. · Number of bytes. · Number of dropped packets due to insufficient receive buffer. |
Output: 0 packets, 0 bytes, 0 drops |
Outgoing traffic statistics on the interface: · Number of packets. · Number of bytes. · Number of dropped packets due to insufficient send buffer. |
Brief information on interfaces in route mode |
Brief information about Layer 3 interfaces. |
Interface |
Abbreviated interface name. |
Link |
Physical link state of the interface: · UP—The interface is physically up. · DOWN—The interface is physically down. · ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. · Stby—The interface is a backup interface in standby state. To see the primary interface, use the display interface-backup state command. |
Protocol |
Data link layer protocol state of the interface: · UP—The data link layer protocol of the interface is up. · DOWN—The data link layer protocol of the interface is down. · UP(s)—The data link layer protocol of the interface is up, but the link is an on-demand link or does not exist. The (s) attribute represents the spoofing flag. |
Primary IP |
Primary IP address of the interface. This field displays two hyphens (--) if the interface does not have an IP address. |
Description |
Description of the interface. |
# Display brief information about Reth 1.
<Sysname> display interface reth 1 brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
Reth1 DOWN DOWN --
# Display the causes for the down state of Reth 1.
<Sysname> display interface reth 1 brief down
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
Reth1 DOWN Not connected
Table 2 Command output
Field |
Description |
Brief information on interfaces in route mode: |
Brief information about Layer 3 interfaces. |
Interface |
Interface name. |
Link |
Physical link state of the interface: · UP—The interface is physically up. · DOWN—The interface is physically down. · ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. · Stby—The interface is a backup interface in standby state. To see the primary interface, use the display interface-backup state command. |
Protocol |
Data link layer protocol state of the interface: · UP—The data link layer protocol of the interface is up. · DOWN—The data link layer protocol of the interface is down. · UP(s)—The data link layer protocol of the interface is up, but the link is an on-demand link or does not exist. The (s) attribute represents the spoofing flag. This value is typical of null interfaces and loopback interfaces. |
Primary IP |
Primary IP address of the interface. This field displays two hyphens (--) if the interface does not have an IP address. |
Description |
Description of the interface. |
Cause |
Cause for the physical link state of an interface to be DOWN: · Administratively—The interface has been manually shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. · Not connected—No physical connection exists (possibly because the network cable is disconnected or faulty). |
display reth interface
Use display reth interface to display information about the member interfaces of a Reth interface.
Syntax
display reth interface reth interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
reth interface-number: Specifies a Reth interface by its number. The value for the interface-number argument is 1 or 2.
Examples
# Display information about the member interfaces of Reth 1.
<Sysname> display reth interface reth 1
Reth1 :
Redundancy group : aaa
Member Physical status Forwarding status Presence status
MGE1/0/0/0 UP Active Normal
MGE1/0/0/1 UP Inactive Normal
Table 3 Command output
Field |
Description |
Redundancy group |
The redundancy group to which the Reth interface belongs. If the Reth interface is not in any redundancy group, this field displays N/A. |
Member |
Name of the member interface. |
Physical status |
Physical status of the member interface: · Down (redundancy down)—The interface has been shut down by the Reth module. · Down—The interface is administratively up but physically down possibly because no physical link is present or the link has failed. · UP—The interface is both administratively and physically up. |
Forwarding status |
Forwarding status of the member interface: · Active—The member interface can forward packets. · Inactive—The member interface cannot forward packets. |
Presence status |
Status of the member interface: · Normal—The member interface exists. · Absent—The member interface does not exist. |
interface reth
Use interface reth to create a Reth interface and enter its view, or enter the view of an existing Reth interface.
Use undo interface reth to delete a Reth interface.
Syntax
interface reth interface-number
undo interface reth interface-number
Default
No Reth interfaces exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-number: Specifies a Reth interface by its number. The value for this argument is 1 or 2.
An MPU must have a minimum of two management Ethernet ports.
After a management Ethernet port is assigned to a Reth interface, you cannot log in to the device through the management Ethernet port.
You cannot delete a Reth interface if it has member interfaces.
Examples
# Create Reth 1 and enter its view.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1]
member interface
Use member interface to assign a member interface to a Reth interface.
Use undo member interface to remove a member interface from a Reth interface.
Syntax
member interface interface-type interface-number priority priority
undo member interface interface-type interface-number
Default
A Reth interface does not have member interfaces.
Views
Reth interface view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
The interface must be a management Ethernet port.
priority: Specifies an interface priority in the range of 1 to 255. The higher the value, the higher the interface priority.
Usage guidelines
You can assign a maximum of two member interfaces to a Reth interface. An interface can belong to only one Reth interface.
As a best practice, assign interfaces of the same type and same speed to a Reth interface.
When the two member interfaces of a Reth interface are up, the system chooses the interface with the higher priority as the active interface to forward packet. The interface with the lower priority is inactive and cannot forward packets.
Examples
# Assign M-GigabitEthernet 1/0/0/0 and M-GigabitEthernet 1/0/0/1 to Reth 1, and set their priority to 100 and 50, respectively.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1] member interface M-GigabitEthernet 1/0/0/0 priority 100
[Sysname-Reth1] member interface M-GigabitEthernet 1/0/0/1 priority 50
mtu
Use mtu to set the MTU of a Reth interface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU is 1500 bytes for a Reth interface.
Views
Reth interface view
Predefined user roles
network-admin
mdc-admin
Parameters
size: Specifies the MTU in bytes. The value range for this argument is 46 to 1500.
Usage guidelines
The MTU size of a Reth interface affects the fragmentation and reassembly of IP packets on the interface.
For the configured MTU size to take effect, execute the shutdown command, and then the undo shutdown command on the interface.
Examples
# Set the MTU to 200 bytes for Reth 1.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1] mtu 200
reset counters interface reth
Use reset counters interface reth to clear statistics for Reth interfaces.
Syntax
reset counters interface [ reth [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
reth [ interface-number ]: Specifies Reth interfaces. The interface-number argument specifies an existing Reth interface by its number. If you do not specify the reth keyword, the command clears statistics for all interfaces. If you specify the reth keyword without the interface-number argument, the command clears statistics for all Reth interfaces.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
Examples
# Clear statistics for Reth 1.
<Sysname> reset counters interface reth 1
shutdown
Use shutdown to shut down a Reth interface.
Use undo shutdown to bring up a Reth interface.
Syntax
shutdown
undo shutdown
Default
A Reth interface is up.
Views
Reth interface view
Predefined user roles
network-admin
mdc-admin
Examples
# Shut down Reth 1.
<Sysname> system-view
[Sysname] interface reth 1
[Sysname-Reth1] shutdown