beautypg.com

Network requirements, Configuration procedure, Verifying the configuration – H3C Technologies H3C SecPath F1000-E User Manual

Page 236

background image

226

Network requirements

As shown in

Figure 167

, configure SecPath to perform local authentication and authorization for Telnet

users.

Figure 167 Network diagram

Configuration procedure

# Configure the IP address of interface GigabitEthernet 0/1, through which the Telnet user accesses
SecPath.

system-view

[SecPath] interface GigabitEthernet 0/1

[SecPath-GigabitEthernet0/1] ip address 192.168.1.70 255.255.255.0

[SecPath-GigabitEthernet0/1] quit

# Enable the Telnet server on SecPath.

[SecPath] telnet server enable

# Configure SecPath to use AAA for Telnet users.

[SecPath] user-interface vty 0 4

[SecPath-ui-vty0-4] authentication-mode scheme

[SecPath-ui-vty0-4] quit

# Create local user named telnet.

[SecPath] local-user telnet

[SecPath-luser-telnet] service-type telnet

[SecPath-luser-telnet] password simple aabbcc

[SecPath-luser-telnet] quit

# Configure the AAA methods for the ISP domain as local authentication and authorization.

[SecPath] domain system

[SecPath-isp-system] authentication login local

[SecPath-isp-system] authorization login local

[SecPath-isp-system] quit

Verifying the configuration

A Telnet user can access the user interface of SecPath by using username telnet@system and the correct
password.
# Use the display connection command to view the connection information on SecPath.

[SecPath] display connection

Index=1 ,Username=telnet@system

IP=192.168.1.58

IPv6=N/A

Total 1 connection(s) matched.