Use this procedure to assign the management Ethernet interface address, bring the interface up, and configure the default static route.
Configure the management interface for system management and remote communication.
Before you begin
-
Obtain IP addresses and a subnet mask for the management port from your network administrator or system planner.
-
Ensure the management port is connected to the management network.
To communicate with devices on other networks, such as remote management stations or TFTP servers, configure a default (static) route for Cisco NCS 1001.
The management plane supports an MTU range of 64 to 1514 bytes.
Procedure
| 1. | Use the configure interface mgmtEth rack/slot/instance/port to enter the management interface configuration mode. Example:
|
|
| 2. | Use the ipv4 address ipv4-address subnet-mask command to assign an IP address and subnet mask to the interface. Example:For IPv4, use this command.
For IPv6, use this command. ipv6 address ipv6-address subnet-mask Example:
|
|
| 3. | Use the no shutdown command to bring up the interface. Example:
|
|
| 4. | Use the exit command to exit management interface configuration mode. Example:
|
|
| 5. | Use the router static address-family ipv4 unicast 0.0.0.0/0default-gateway to configure a default static route. Example:Specifies the IP address of the default-gateway to configure a static route; this is to be used for communications with devices on other networks. For IPv4, use this command Example:
For IPv6, use this command. Example:
The default gateway IP address enables communication with devices on other networks. Example:
|
|
| 6. | Use the commit or end command.
|
The management Ethernet interface is configured with an IP address, subnet mask, and default route.
What to do next
For details about remote access, see Configure Telnet and Configure SSH.