Configuring the management Ethernet port
To use FTP, TFTP, SSH, and Telnet services in emergency shell mode, you must perform the following tasks:
Configure an IP address for the management Ethernet port.
Bring up the management Ethernet port.
If the servers reside on a different network, specify a gateway for the management Ethernet port.
To configure the management Ethernet port on an IPv4 network:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter management Ethernet port view. | interface m-eth0 | N/A |
3. Assign an IPv4 address to the port. | ip address ip-address { mask-length | mask } | By default, the management Ethernet port has no IPv4 address. |
4. Specify an IPv4 gateway for the port. | ip gateway ip-address | By default, the management Ethernet port has no IPv4 gateway configured. |
5. Bring up the port. | undo shutdown | By default, the management Ethernet port is up. |
6. Return to system view. | quit | N/A |
To configure the management Ethernet port on an IPv6 network:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter management Ethernet port view. | interface m-eth0 | N/A |
3. Assign an IPv6 address to the port. | ipv6 address ipv6-address prefix-length | By default, the management Ethernet port has no IPv6 address. |
4. Specify an IPv6 gateway for the port. | ipv6 gateway ipv6-address | By default, the management Ethernet port has no IPv6 gateway configured. |
5. Bring up the port. | undo shutdown | By default, the management Ethernet port is up. |
6. Return to system view. | quit | N/A |