Pre-setup requirements for Cisco NCS 1010
Complete these prerequisite tasks to prepare the NCS 1010 for seamless setup.
Connect the console port to a terminal
Connect your terminal or PC to the Cisco NCS 1010 console port and configure terminal settings for direct device access.
The console port allows you to log into the NCS 1010 without a network connection, using an emulation program such as HyperTerminal.
Procedure
|
Step 1 |
Connect the console (or rollover) cable to the console port on the NCS 1010. |
||||||||||||
|
Step 2 |
Use the correct adapter to connect the other end of the cable to your terminal or PC. |
||||||||||||
|
Step 3 |
Launch the terminal session. |
||||||||||||
|
Step 4 |
In the COM1 Properties window, select Port Settings tab, and enter these settings:
|
||||||||||||
|
Step 5 |
Click OK. You should see a blinking cursor in the HyperTerminal window indicating successful connection to the console port. |
The terminal or PC is connected to the console port, and the terminal session is ready for initial access.
Configure the management interface
Use this procedure to configure the management interface.
The management interface can be used for system management and remote communication. To use the management interface for system management, you must configure an IP address and subnet mask. To use the management interface for remote communication, you must configure a static route. Use this procedure when NCS 1010 chassis is not booted using ZTP.
Before you begin
-
Consult your network administrator to procure IP addresses and a subnet mask for the management interface.
-
Ensure that the management interface is connected to the management network.
Procedure
|
Step 1 |
Enter configuration mode. configure Example:
|
|
Step 2 |
Enter management interface configuration mode. interface mgmtEth 0/RP0/CPU0/0 Example:
Enters interface configuration mode for the management interface. |
|
Step 3 |
Configure the IPv4 address and subnet mask. ipv4 address 192.0.2.254 255.255.255.0 Example:
Assigns an IP address and a subnet mask to the management interface. |
|
Step 4 |
Enable the interface. no shutdown Example:
Places the management interface in an "up" state. |
|
Step 5 |
Exit interface configuration mode. exit Example:
Exits the management interface configuration mode. |
|
Step 6 |
Configure a static route. ncs1010 static address-family ipv4 unicast 0.0.0.0/0 198.51.100.4 Example:
Specifies the IP address of the default gateway to configure a static route. This IP address must be used for communication with devices on other networks. |
|
Step 7 |
Save or exit the configuration session. commit -Saves the configuration changes and remains within the configuration session. end -Prompts user to take one of these actions:
|
The configure the management interface task is complete.
What to do next
Connect the management interface to the Ethernet network. Establish a Configure SSH or Configure Telnet connection to the management interface using its IP address.
LLDP support on the management interface
The Link Layer Discovery Protocol (LLDP) support on management interface feature requires a system to form LLDP neighbor relationship over the system management interface, through which it advertises and learns LLDP neighbor information. This information about neighbors used to learn about the neighbors and in turn the topology of the devices for Operations, Administration, and Maintenance (OAM) purposes.
Advantages of LLDP
-
Provides support on non-Cisco devices.
-
Enables neighbor discovery between non-Cisco devices.
Limitation
-
When you disable LLDP globally, the LLDP gets disabled on all the interfaces.
![]() Note |
By default, LLDP is enabled for NCS 1010. But when you enable and disable LLDP in the global configuration mode, LLDP gets disabled on all the interfaces. Workaround: You must enable LLDP globally or reload the NCS1010. |
Cisco Discovery Protocol (CDP) vs LLDP
The CDP is a device discovery protocol that runs over Layer 2. Layer 2 is also known as the data link layer that runs on all Cisco devices, such as routers, bridges, access servers, and switches. This protocol allows the network management applications to automatically discover and learn about other Cisco devices that connect to the network.
The LLDP is also a device discovery protocol that runs over Layer 2. This protocol allows the network management applications to automatically discover and learn about other non-Cisco devices that connect to the network.
Interoperability between non-Cisco devices using LLDP
LLDP is also a neighbor discovery protocol that is used by network devices to advertise information about themselves to other devices on the network. This protocol runs over the data link layer, which allows two systems running different network layer protocols to learn about each other.
With LLDP, you can also access the information about a particular physical network connection. If you use a non-Cisco monitoring tool (through SNMP), LLDP helps you identify the Object Identifiers (OIDs) that the system supports. These OIDs are supported:
-
1.0.8802.1.1.2.1.4.1.1.4
-
1.0.8802.1.1.2.1.4.1.1.5
-
1.0.8802.1.1.2.1.4.1.1.6
-
1.0.8802.1.1.2.1.4.1.1.7
-
1.0.8802.1.1.2.1.4.1.1.8
-
1.0.8802.1.1.2.1.4.1.1.9
-
1.0.8802.1.1.2.1.4.1.1.10
-
1.0.8802.1.1.2.1.4.1.1.11
-
1.0.8802.1.1.2.1.4.1.1.12
Neighbor Discovery
System advertises the LLDP TLV (Type Length Value) details over the management network using which other devices in the management network can learn about this device.
Configuring LLDP
-
LLDP full stack functionality is supported on all three management interfaces that are supported in NCS 1010.
-
You can selectively enable or disable LLDP on any of the management interfaces on demand.
-
You can selectively enable or disable LLDP transmit or receive functionality at the management interface level.
-
Information gathered using LLDP can be stored in the device Management Information Database (MIB) and queried with the Simple Network Management protocol (SNMP).
-
LLDP operational data is available in both CLI and netconf-yang interface.
Enabling LLDP Globally
When you enable LLDP globally, all interfaces that support LLDP are automatically enabled for both transmit and receive operations.
![]() Note |
You can override this default operation at the interface to disable receive or transmit operations. |
This table describes the global LLDP attributes that you can configure:
|
Attribute |
Default |
Range |
Description |
|---|---|---|---|
|
Holdtime |
120 |
0-65535 |
Specifies the holdtime (in sec). Holdtime refers to the time or duration that an LLDP device maintains the neighbor information before discarding. |
|
Reinit |
2 |
2-5 |
Delay (in sec) for LLDP initialization on any interface |
|
Timer |
30 |
5-65534 |
Specifies the rate at which LLDP packets are sent (in sec) |
Configure LLDP globally
Enable LLDP globally on all three management interfaces.
When you enable LLDP globally, all interfaces that support LLDP are automatically enabled for both transmit and receive operations.
![]() Note |
You can override this default operation at the interface to disable receive or transmit operations. |
Procedure
|
Step 1 |
Enter global configuration mode. configure terminal Example:
|
|
Step 2 |
Enable LLDP on the management interfaces. lldp management enable Example:
|
|
Step 3 |
Set the LLDP holdtime. lldp holdtime 30 Example:
|
|
Step 4 |
Set the LLDP reinitialization delay. lldp reinit 2 Example:
|
|
Step 5 |
Commit the configuration. commit Example:
|
The global LLDP configuration enables LLDP on all the three management interfaces.
Verify LLDP configuration and data
Verify the LLDP configuration and operational data.
Procedure
|
Step 1 |
Verify the LLDP running configuration. show running-config lldp Example:
|
||
|
Step 2 |
Verify the LLDP interface data. show lldp interface Example:
|
||
|
Step 3 |
Verify the LLDP neighbor data. show lldp neighbors Example:
where [DISABLED] shows that the LLDP is disabled on the interface MgmtEth0/RP0/CPU0/0.
|
The LLDP running configuration, interface data, and neighbor data are verified.
Configure LLDP on a management interface
Enable LLDP at the management interface level.
Procedure
|
Step 1 |
Enter the management interface configuration mode. interface mgmtEth 0/RP0/CPU0/X Example:
|
|
Step 2 |
Enable LLDP on the management interface. lldp enable Example:
|
|
Step 3 |
Commit the configuration. commit Example:
|
LLDP is configured at the management interface level.
Disable LLDP transmit and receive operations
Disable LLDP transmit operations, receive operations, or both at a specified management interface.
Procedure
|
Step 1 |
Enter the management interface configuration mode. interface mgmtEth 0/RP0/CPU0/X Example:
|
|
Step 2 |
Disable LLDP transmit operations at the specified management interface. lldp transmit disable Example:
|
|
Step 3 |
Disable LLDP receive operations at the specified management interface. lldp receive disable Example:
|
|
Step 4 |
Commit the configuration. commit Example:
|
LLDP transmit or receive operations are disabled at the specified management interface.
LLDP traffic and debug commands
Use these commands for debugging issues in the LLDP functionality.
|
Command |
Description |
|---|---|
|
show lldp traffic |
Displays statistics for LLDP traffic. |
|
debug lldp all |
Enables all LLDP debugging information. |
|
debug lldp errors |
Enables debugging information for LLDP errors. |
|
debug lldp events |
Enables debugging information for LLDP events. |
|
debug lldp packets |
Enables debugging information for LLDP packets. |
|
debug lldp tlvs |
Enables debugging information for LLDP TLVs. |
|
debug lldp trace |
Enables LLDP trace debugging information. |
|
debug lldp verbose |
Enables verbose LLDP debugging information. |
Configure Telnet
Use this procedure to configure Telnet.
This procedure allows you to establish a telnet session to the management interface using its IP address. Use this procedure when NCS 1010 chassis is not booted using ZTP.
Before you begin
Ensure that two xr-telnet-* rpms are installed. .
Procedure
|
Step 1 |
Enter configuration mode. configure Example:
Enters the configuration mode. |
|
Step 2 |
Specify the number of allowable Telnet servers. telnet ipv4 server max-servers 10 Example:
Specifies the number of allowable telnet servers (up to 100). By default, telnet servers are not allowed. You must configure this command to enable the use of telnet servers. |
|
Step 3 |
Save or exit the configuration session. commit -Saves the configuration changes and remains within the configuration session. end -Prompts user to take one of these actions:
|
The configure Telnet task is complete.
Configure SSH
Use this procedure to configure SSH.
This procedure allows you to establish an SSH session to the management interface using its IP address. Use this procedure when NCS 1010 chassis is not booted using ZTP.
Before you begin
-
Generate the crypto key for SSH using the crypto key generate dsa command.
Procedure
|
Step 1 |
Enter configuration mode. configure Example:
Enters the configuration mode. |
|
Step 2 |
Enable SSH server version 2. ssh server v2 Example:
Enables the SSH server to accept only SSHv2 client connections. |
|
Step 3 |
Save or exit the configuration session. commit -Saves the configuration changes and remains within the configuration session. end -Prompts the user to take one of these actions:
|
The configure SSH task is complete.

Feedback