ALTEON - Menu Commands

From IT-Arts.net


Return to Wiki Index

System Access and Privilege Modes

User EXEC Mode

/cfg/login

Description: Accesses the user EXEC mode.

Example:

/cfg/login

Privileged EXEC Mode

/cfg/enable

Description: Switches to the privileged EXEC mode.

Example:

/cfg/enable

Exit and Session Termination

/exit
/logout

Example:

/exit

System Configuration

Hostname Configuration

/cfg/system/hostname Alteon-5208
/cfg/system/hostname Alteon-DataCenter

Example:

/cfg/system/hostname Alteon-5208
/cfg/system/hostname Alteon-DataCenter
/cfg/system/banner motd "Unauthorized access is prohibited"
 /cfg/system/banner motd "Only authorized personnel can access this device."

Example:

/cfg/system/banner motd "Unauthorized access is prohibited"
 /cfg/system/banner motd "Only authorized personnel can access this device."

Time and NTP Configuration

/cfg/system/timezone UTC 0
/cfg/system/ntp server 192.168.100.10  

Example:

/cfg/system/ntp server 10.10.10.5

Management IP Configuration

/cfg/system/interface mgmt/ip-address 192.168.1.10/24
/cfg/system/interface mgmt/ip-address 10.0.0.10/24

Example:

/cfg/system/interface mgmt/ip-address 192.168.1.10/24
/cfg/system/interface mgmt/ip-address 10.0.0.10/24

Interface and VLAN Configuration

Physical Port Configuration

/cfg/network/port 5/enable
/cfg/network/port 5/disable  

Example:

/cfg/network/port 3/enable

Assign IP Address to Interface

/cfg/network/port 2/ip-address 172.16.10.2/24
/cfg/network/port 8/ip-address 192.168.50.2/24

Example:

/cfg/network/port 2/ip-address 172.16.10.2/24
/cfg/network/port 8/ip-address 192.168.50.2/24

VLAN Creation

/cfg/network/vlan 100
/cfg/network/vlan 100/name DMZ  

Example:

/cfg/network/vlan 200
/cfg/network/vlan 200/name INTERNAL

VLAN Port Assignment

/cfg/network/vlan 100/tagged 1
/cfg/network/vlan 100/untagged 2

Example:

/cfg/network/vlan 200/tagged 3
/cfg/network/vlan 200/untagged 4

Routing Configuration

Default Route

/cfg/network/ip-route 0.0.0.0/0 192.168.1.1
/cfg/network/ip-route 0.0.0.0/0 10.0.0.1

Example:

/cfg/network/ip-route 0.0.0.0/0 10.0.0.1

Static Route

/cfg/network/ip-route 10.10.0.0/16 192.168.1.254
/cfg/network/ip-route 172.16.0.0/16 10.0.0.254

Example:

/cfg/network/ip-route 172.16.0.0/16 10.0.0.254

High Availability Configuration

HA Group Definition

/cfg/ha/group 1
/cfg/ha/group 1/peer 10.0.0.2
/cfg/ha/group 1/enable  

Example:

/cfg/ha/group 10
/cfg/ha/group 10/peer 192.168.100.2
/cfg/ha/group 10/enable

HA Status Verification

/cfg/ha/status

Server Load Balancing Configuration

Real Server Definition

/cfg/slb/real-server WEB1 10.0.1.11/80
/cfg/slb/real-server APP1 172.16.1.20/443

Example:

/cfg/slb/real-server APP1 172.16.1.20/443

Health Check Configuration

/cfg/slb/health-check HTTP-CHECK
/cfg/slb/health-check HTTP-CHECK/type http
/cfg/slb/health-check HTTP-CHECK/url "/health"

Example:

/cfg/slb/health-check TCP-CHECK
/cfg/slb/health-check TCP-CHECK/type tcp

Service Group Configuration

/cfg/slb/group WEB-GRP
/cfg/slb/group WEB-GRP/add WEB1
/cfg/slb/group WEB-GRP/method roundrobin

Example:

/cfg/slb/group APP-GRP
/cfg/slb/group APP-GRP/add APP1
/cfg/slb/group APP-GRP/method leastconn

Virtual Server Configuration

/cfg/slb/virtual-server VIP1 203.0.113.10/80
/cfg/slb/virtual-server VIP1/service WEB-GRP
/cfg/slb/virtual-server VIP1/enable  

Example:

/cfg/slb/virtual-server PUBLIC-HTTPS 198.51.100.10/443
/cfg/slb/virtual-server PUBLIC-HTTPS/service APP-GRP
/cfg/slb/virtual-server PUBLIC-HTTPS/enable

Security Configuration

SSH Access

/cfg/system/ssh enable
/cfg/system/ssh version 2  

Example:

/cfg/system/ssh enable

User Account Creation

/cfg/system/user admin password StrongPass! role admin
/cfg/system/user operator password OpPass123 role operator

Example:

/cfg/system/user operator password OpPass123 role operator

Management Access Restriction

/cfg/system/access-management 10.10.10.0/255.255.255.0
/cfg/system/access-management 192.168.50.0/255.255.255.0

Example:

/cfg/system/access-management 192.168.50.0/255.255.255.0

Monitoring and Logging

Display Configuration

/cfg/system/show running-config

Interface Monitoring

/cfg/system/show interface
/cfg/system/show interface port 5

Routing Table Display

/cfg/system/show ip-route

Logging Configuration

/cfg/system/logging host 10.1.1.50
/cfg/system/logging level info  

Example:

/cfg/system/logging host 192.168.100.50

Configuration Management

Save Configuration

/cfg/system/save

Example:

/cfg/system/save

Backup Configuration

/cfg/system/backup tftp 10.0.0.50 backup.cfg
/cfg/system/backup tftp 192.168.1.50 adc-backup.cfg

Example:

/cfg/system/backup tftp 192.168.1.50 adc-backup.cfg

Troubleshooting

Basic Connectivity Tests

/cfg/system/ping 8.8.8.8
/cfg/system/traceroute 8.8.8.8  

Verify reachability and routing path.

Interface Issues

/cfg/system/show interface

Check link status, administrative state, and error counters.

HA Problems

/cfg/ha/show status

Confirm active/standby role and synchronization state.

SLB Service Not Responding

/cfg/slb/show group
/cfg/slb/show real-server

Verify health check status and server availability.

Configuration Not Persisted

/cfg/system/show running-config

Ensure configuration is saved using:

/cfg/system/save

Resetting Configuration

This chapter outlines the process for resetting the configuration on an **Alteon Application Switch 5208**. There are different methods for resetting the configuration, including clearing all settings, restoring factory defaults, or performing a soft reset.

Soft Reset (Reboot)

A soft reset allows the switch to reboot without clearing the configuration. It can be used when you need to refresh the system without losing any saved settings.

/reset

Description: This command will reboot the system, retaining all current configurations.

Example:

/reset

After Reboot

Once the switch reboots, you can verify the status with the following command:

/cfg/system/show status

This will display the current state of the system and confirm that the reboot was successful.

Hard Reset (Factory Defaults)

A **hard reset** restores the switch to its factory default settings. This means that all configurations will be lost, and the switch will revert to the default IP address, hostname, and settings.

To perform a factory reset, follow these steps:

1. Connect to the switch via the **console port** using a terminal client like PuTTY or HyperTerminal. 2. Power off the switch. 3. Press and hold the **reset button** on the front panel of the switch. 4. Power the switch on while still holding the reset button for about **10-15 seconds**. 5. Release the reset button. The switch will now boot up with factory default settings.

Alternatively, the following command can be used to perform a hard reset via the CLI:

/boot/conf factory

Description: This command restores the factory default configuration. It erases all user configurations and resets the switch to its out-of-the-box state.

After this process, the switch will require reconfiguration from scratch, including setting the management IP, hostname, and network settings.

Verify Reset to Factory Defaults

To confirm that the switch has been reset to factory defaults, you can check the configuration:

/cfg/system/show running-config

This should show minimal or default configurations such as the default IP address `192.168.1.1`, default hostname, and other initial settings.

Resetting Specific Configuration Elements

In some cases, you might only need to reset certain elements, such as VLAN configurations or interfaces, rather than the entire system.

Reset VLAN Configuration

To remove a specific VLAN configuration, use the following command:

/cfg/network/vlan <vlan_id>/reset

Example:

/cfg/network/vlan 100/reset

This command will reset the specified VLAN to its default settings.

Reset Interface Configuration

To reset an individual interface configuration, use the following command:

/cfg/network/port <port_number>/reset

Example:

/cfg/network/port 5/reset

This will reset the settings for that particular interface, including IP addresses, VLAN assignments, and other configurations.

Clearing the Configuration from the Flash Memory

If you want to delete the current configuration completely from the switch's flash memory, use the following command:

/cfg/system/clear-flash

Description: This command will completely clear the configuration stored in the flash memory, requiring a reboot to apply the changes.

Example:

/cfg/system/clear-flash

Once the configuration is cleared, the system will boot with the default configuration.

Important Notes

  • **Backup Configurations**: Before performing any reset actions, it is crucial to back up your current configuration to avoid losing important settings. Use the following command to back up to a TFTP server:
/cfg/system/backup tftp <tftp_ip> <backup_filename>
  • **Reconfiguration**: After performing a hard reset, you will need to reconfigure the switch from scratch. This includes setting up VLANs, IP addresses, HA groups, and other configurations.


---

Return to Wiki Index