|

[ACSA Training #17] Basic Settings Commands

⏱️ Estimated reading time: Approx. 8 minutes (8 min read)

After purchasing a switch, there are a few things you need to do before connecting it to your network, such as naming the switch and configuring its interfaces.

So today we're going to look at some very basic configuration commands for the AOS-CX switch.

Hostname settings

Unless you have only one switch, you should name each switch so they can be easily identified in a large network environment. In a production environment, this would be the first step.

Many companies have their own standardized naming conventions, and they often document and maintain them.
For example, some naming conventions are Building-Floor-Rack_Name It may be designated as . Then the name of switch 4 on rack 4 on the 2nd floor of building 9 is 9-2-4_SWA, 9-2-4_SWB, 9-2-4_SWC You can specify it as follows.

The following command will allow you to name the device:.

  • Command Context: Config
  • Syntax: hostname <HOSTNAME>

Example:

Switch(config)# hostname Access-1
Access-1(config)#

Interface Settings

By default, all ports on the AOS-CX switch are disabled. So, if you want to use a specific interface, you need to “no shutdown”You can update the status using the " command.

  • Command Context: config-if (interface level)
  • Syntax: shutdown / no shutdown

Example: Activating an interface

Switch(config)# interface 1/1/1 Switch(config-if)# no shutdown

Example: Disabling an interface

Switch(config)# interface 1/1/1 Switch(config-if)# shutdown

Additionally, you can create a Description for each interface, which can also be used for management purposes.

  • Command Context: config-if (interface level)
  • Syntax: description <Description>

Example:

Switch(config)# interface 1/1/1 Switch(config-if)# description To-Core-switch

Check interface status

“show interface”" command allows you to check the status and configuration information of all interfaces on the switch. However, "“show interface” If you add a specific interface name after the command, only information for that interface will be displayed.

  • Command context: Manager (#)
  • Syntax: show interface <Interface-ID>
Access-1# show interface 1/1/1 Interface 1/1/1 is down (Administratively down)
 Admin state is down

 State information: Group speed mismatch Link transition: 0 Description: To-Core-switch
 Hardware: Ethernet, MAC Address: 90:20:c2:bc:3f:00 MTU: 1500 Type SFP-BT

Here “Administratively down“This means that the interface is “shutdown”" means that the command has been applied. And you can see that the content you just entered in the Description field has been applied.

“no shutdown”After applying the command and reapplying the interface, you can see the changes as shown below.

Access-1# show interface 1/1/1 Interface 1/1/1 is up
 Admin state is up
 State information: Group speed mismatch Link transition: 0 Description: To-Core-switch
 Hardware: Ethernet, MAC Address: 90:20:c2:bc:3f:00 MTU: 1500 Type SFP-BT

Network Discovery (LLDP – Link Layer Discovery Protocol)

Imagine you're remotely configuring an AOS-CX switch in a real-world operating environment. The switch is connected to multiple network devices, and you need to configure only the interfaces connected to the Aruba Controller. Since your IT team isn't on-site, you can't verify this yourself. You must find the correct interface remotely.

In this case, the problem can be easily solved by using LLDP.

LLDP is a vendor-neutral link layer protocol (Layer 2 IEEE standard protocol), not a protocol exclusive to a specific manufacturer. It is used to announce identity and capabilities over wired Ethernet connections. This protocol can be used to discover and document interconnections between network devices.

LLDP-MED, known as an enhanced feature of LLDP, stands for Media Endpoint Discovery. LLDP-MED enables automatic discovery of LAN policies, such as VLAN ID, Layer 2 priority, and differentiated services like QoS. Each device periodically transmits LLDP information in Ethernet frames. Directly connected devices receive these frames and store the information in a table in their local memory.

Okay, let's take a look at the picture below.

1/1/21 Access-I 1/1/22 Core-I 1/1/16 1/1/16 Core-2

This is a situation where the Access-1 switch is connected to the Core-1 and Core-2 switches on top.

Port 1/1/21 on Access-1 is connected to port 1/1/16 on the Core-1 switch, and port 1/1/22 on Access-1 is connected to port 1/1/16 on the Core-2 switch. If you've already configured the switch with the diagram drawn as above, you won't need LLDP information. However, the documentation may be outdated or incorrect, or the configuration may have changed. In these cases, you can update the diagram using LLDP information.

※ Some people may feel that creating and continuously updating a configuration document is unnecessary. They question whether it's worth the time and expense of creating such documentation when the network is already functioning properly. However, when a network failure occurs, such up-to-date documentation can be invaluable in identifying and resolving the cause of the problem. Without such documentation, the entire network would have to be individually investigated, extending the downtime. What should be resolved in just 10-15 minutes can result in network outages lasting 4-5 hours or more.

AOS-CX switches have LLDP enabled by default.

As below: “show lldp neighbor-info” command displays information about neighbor devices connected to all interfaces.

  • Command Context: Manager(#)
  • Syntax: show lldp neighbor-info
  • Authority: Operator or Manager
Access-1# show lldp neighbor-info

LLDP Neighbor Information ========================= LOCAL_PORT CHASSIS-ID PORT-ID PORT-DESC TTL SYS-NAME ---------------------------------------------------------------------------- 1/1/21 90:20:c2:bc:a8:00 1/1/16 1/1/16 120 Core-1 1/1/22 90:20:c2:bb:8b:00 1/1/16 1/1/16 120 Core-2

If you want to know more information about a specific interface, just add that interface after the above command.

Access-1# show lldp neighbor-info 1/1/21
Port : 1/1/21 Neighbor Entries : 1 Neighbor Entries Deleted : 0 Neighbor Entries Dropped : 0 Neighbor Entries Aged-Out : 0 Neighbor Chassis-Name : Core-1 Neighbor Chassis-Description : Aruba JL635A GL.10.04.0001 Neighbor Chassis-ID : 90:20:c2:bc:a8:00 Neighbor Management-Address : 10.250.1.3 Chassis Capabilities Available : Bridge, Router Chassis Capabilities Enabled : Bridge, Router Neighbor Port-ID : 1/1/16 Neighbor Port-Desc : 1/1/16 Neighbor Port VLAN ID : 1107 TTL : 120

Similar Posts

  • [ACSA Education #1] Network Basics

    ⏱️ Estimated reading time: Approx. 2 minutes (2 min read) Today, shall we start with a brief look at networks? Before that, I think we need to understand what communication is. In English, communication is called "Communication." In other words, it means communicating with one another. People conveying their intentions and exchanging information with one another—that is what communication means. The same applies to machines….

  • [ACMA Training #4] AOS 8 Architecture

    ⏱️ Estimated reading time: Approx. 6 minutes (6 min read) The ACMA certification exam is based on the AOS 8 operating system. Therefore, it is important to understand the AOS 8 architecture. In the previous post, I already explained the Aruba wireless LAN portfolio. While explaining APs (Access Points), I discussed the concepts of CAPs (Campus APs) and IAPs (Instant APs)… .

  • [ACP-DC Training #14] VXLAN

    ⏱️ Estimated read time: Approx. 9 min read Why VXLAN? The foundation of VXLAN functionality is the RFC 7348 standard, which provides an alternative to the existing traditional VLAN concept. 1. Overcoming the limitations of the number of VLANs (ID scalability) Traditional VLANs use 12-bit numeric tags inside the 802.1Q header….

  • [ACP-DC Training #1] Introduction to Data Center Networks

    ⏱️ Estimated read time: Approx. 14 minutes (14 min read) The HPE Aruba Networking Certified Professional – Data Center (ACP-DC) certification tests the knowledge and skills required to design, deploy, and manage secure, scalable, resilient, high-performance data center network infrastructure based on HPE Aruba Networking data center products. Virtualized…

  • AOS-CX Security Settings Guide (2)

    ⏱️ Estimated read time: Approx. 16 minutes (16 min read) In the previous post, we examined the physical security and Management Plane security of the AOS-CX switch. This time, we will cover the security of the Control Plane of the AOS-CX switch. The content of both the previous and current posts is based on official information found on the HPE website. AOS-CX 10.15…

  • [ACSA Training #18] ICMP and PoE

    ⏱️ Estimated read time: Approx. 5 minutes (5 min read) You are adding a new printer to an ICMP network and intend to use it with a laptop. In this case, you will need to verify that the network is properly configured to ensure that network communication between the two devices is functioning correctly. ICMP helps resolve these issues. Internet Control Message Protocol (Internet…