Configuration Example - HP 6125XLG Installation Manual

Blade switch
Table of Contents

Advertisement

NOTE:
You can use shortcut keys to break out of the configuration file download attempt. The shortcut keys vary
by software versions. Use Ctrl+D for Release 2403 and later versions and Ctrl+C for versions earlier
than Release 2403.
A save command to store a configuration file will prevent the switch from seeking a configuration file
after future reboots.

Configuration example

Configuring Telnet
# Enter system view.
<Sysname> system-view
# Enable the Telnet server.
[Sysname] telnet server enable
# Enter the user interface view VTY 0. The device supports 16 concurrent VTY users.
[Sysname] user-interface vty 0
# Enable password authentication on the user interface.
[Sysname-ui-vty0] authentication-mode password
# Set the password to hello.
[Sysname-ui-vty0] set authentication password cipher hello
# Set the user role to network-admin so Telnet users accessing VTY 0 can use all commands.
[Sysname-ui-vty0] user-role network-admin
[Sysname-ui-vty0] quit
Configuring the basic network settings
1.
Specify an IP address:
# Create VLAN-interface 1.
[Sysname] interface vlan-interface 1
# Assign an IP address, for example, 192.168.0.1, to VLAN-interface 1.
[Sysname-Vlan-interface1] ip address 192.168.0.1 24
[Sysname-Vlan-interface1] quit
2.
Configure a static route:
# Configure a static route, with the destination IP address 172.16.1.0 and the next hop IP address
192.168.0.2.
[Sysname] ip route-static 172.16.1.0 255.255.255.0 192.168.0.2
3.
Configure a VLAN:
# Create VLAN 10 and enter its view.
[Sysname] vlan 10
[Sysname-vlan10]
# Assign GigabitEthernet 1/1/5 to VLAN 10.
[Sysname-vlan10] port gigabitethernet 1/1/5
[Sysname-vlan10] quit
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents