Configuration procedure, N in, Figure 18 – H3C Technologies H3C S12500 Series Switches User Manual

Page 53

Advertising
background image

41

Figure 18 Network diagram

Configuration procedure

1.

Configure the switch:
# Create VLAN 999 and add interface GigabitEthernet 3/0/1 that connects the switch to the PC
to the VLAN.

<Sysname> system-view

[Sysname] vlan 999

[Sysname-vlan999] port GigabitEthernet 3/0/1

[Sysname-vlan999] quit

# Specify the IP address and subnet mask of VLAN-interface 999 as 192.168.0.58 and
255.255.255.0.

[Sysname] interface vlan-interface 999

[Sysname-VLAN-interface999] ip address 192.168.0.58 255.255.255.0

[Sysname-VLAN-interface999] quit

# Create a local user named admin, and set the password to admin for the user. Specify the Telnet

service type for the local user, and set the command level to 3 for this user.

[Sysname] local-user admin

[Sysname-luser-admin] service-type web

[Sysname-luser-admin] authorization-attribute level 3

[Sysname-luser-admin] password simple admin

2.

Verify the configuration:
# On the PC, run the Web browser. Enter the IP address of the switch in the address bar. The Web
login page appears, as shown in

Figure 19

.

Advertising