ALTEON - 5200 Series Appliances Commands

From IT-Arts.net


Return to Wiki Index

Covered models :

  • Alteon 5208
  • Alteon 5204
  • Alteon 5208XL
  • Alteon 5212 (if ACOS 5.x/6.x menu-driven firmware)
  • Alteon 5216 (same as above)

CLI Navigation

Help and Assistance

Display help in the current menu:

?

Display detailed menu help:

help

Navigate back one menu level:

..

Navigate back to root menu:

.

Session Management

Exit the current CLI session:

exit

Terminate CLI session and save changes:

save
exit

View command history:

history

Display current user:

who

Information Menus

System Information

Enter system info menu:

info/sys

View system version and uptime:

info/sys/version

Display CPU and memory usage:

info/sys/cpu
info/sys/mem

Interface and Port Information

Enter interface info menu:

info/port

Display link status:

info/link

Display interface counters:

stats/port

Statistics

Enter statistics menu:

stats

Monitor SLB sessions:

stats/slb

Monitor network traffic:

stats/net

MGMT Port

Display MGMT port configuration:

/info/sys/mgmt

or:

/info/sys/mgmt/dump

Configuration Menus

Network Configuration

Enter configuration menu:

cfg

Configure Layer 3 interfaces:

cfg/l3/if <interface_number>

Set IP address:

/cfg/l3/if/addr
/cfg/l3/if/mask

Enable interface:

/cfg/port/ena

Disable interface:

/cfg/port/dis

Configure VLANs:

cfg/l2/vlan <vlan_id>

Assign interfaces to VLAN:

interface <interface_number>
vlan <vlan_id>

Load Balancing Configuration

Configure SLB server:

cfg/slb/server <name> <ip_address>

Configure service group:

cfg/slb/serviceGroup <name> <protocol>

Attach server to service group:

cfg/slb/serviceGroup <name> add <server_name> <port>

Create virtual service:

cfg/slb/virtualServer <name> <vip_ip> <vip_port> <service_group>

Enable virtual service:

cfg/slb/virtualServer <name> enable

Configure health monitor:

cfg/slb/monitor <type> <name> <parameters>

Attach monitor to service group:

cfg/slb/serviceGroup <name> monitor <monitor_name>

User and Authentication Configuration

Add local user:

cfg/user add <username> password <password> role <role>

Delete user:

cfg/user delete <username>

Modify user password:

cfg/user modify <username> password <new_password>

View users:

cfg/user list

Configure RADIUS server:

cfg/radius server <ip_address> key <secret>

Configure TACACS+ server:

cfg/tacacs server <ip_address> key <secret>

Verify authentication:

cfg/auth status

Saving and Applying Configuration

Apply pending changes:

apply

Revert changes not applied:

revert

Save configuration permanently:

save

Load configuration from file:

load <filename>

Diagnostics

Network Diagnostics

Ping a host:

ping <ip_address>

Trace route to a host:

traceroute <ip_address>

Check interface statistics:

stats/port

Monitor active SLB sessions:

stats/slb

System Diagnostics

Check CPU and memory:

info/sys/cpu
info/sys/mem

Check system uptime and version:

info/sys/version

Security Concepts

Administrative Access

  • Use SSH for CLI access
  • Restrict management interfaces to trusted networks
  • Enable session timeout
  • Use role-based access control
  • Disable unused services

HTTPS and Certificates

Enable HTTPS:

cfg/web enable https

Upload trusted certificate:

cfg/web cert import <filename>

ACL and Firewall Rules

Create access-list:

cfg/acl add <acl_id> permit tcp any any eq 80

Apply ACL to interface:

cfg/l3/if <interface_number> acl in <acl_id>

Troubleshooting

Interface Down

Check link:

info/link

Check interface statistics:

stats/port

Enable interface if down:

cfg/l3/if <interface_number>
no shutdown

Virtual Service Not Responding

Check service group and servers:

cfg/slb/serviceGroup list
cfg/slb/server list

Check virtual service status:

cfg/slb/virtualServer list

Authentication Problems

Verify authentication status:

cfg/auth status

Check configured users:

cfg/user list

Configuration Not Saving

Ensure filesystem has space and permissions:

save

Use apply before save if necessary:

apply
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