Name, clock and IP address configuration of the junction machine
Enter system view, return user view with Ctrl + Z.
[Huawei]sysname MYHASPL
[Huawei]quit
<myhaspl>clock timezone BJ Add 08:00
<myhaspl>clock datetime 15:34:00 2015-09-06
<myhaspl>sy
<myhaspl>system-view
Enter system view, return user view with Ctrl + Z.
Empty the current configuration, re-configure
[Myhaspl]return
<myhaspl>reset saved-conf
Warning:the action would delete the saved configuration in the device.
The configuration is erased to reconfigure. Continue? [Y/n]:y
Warning:now clearing the configuration in the device.
Sep 7 09:35:35-08:00 myhaspl%%01cfm/4/rst_cfg (l) [61]:the user chose Y when
Deciding whether to reset the saved configuration.
Info:succeeded in clearing of the configuration in the device.
<myhaspl>reboot
Info:the system is now comparing the configuration, please wait.
Warning:all the configuration is saved to the configuration file for the NE
XT Startup:, Continue? [Y/n]:n
Info:if want to reboot with saving diagnostic information, input ' N ' and then ex
Ecute ' reboot save Diagnostic-information '.
System would reboot! Continue? [Y/n]:y
Sep 7 09:35:50-08:00 myhaspl%%01cmd/4/reboot (l) [62]:the user chose Y when
Deciding whether to reboot the system. (Task=co0, ip=**, user=**)
The junction machine typically has a default VLAN of 1, and all ports are on that VLAN.
<myhaspl>disp VLAN 1
--------------------------------------------------------------------------------
U:up; D:down; tg:tagged; ut:untagged;
mp:vlan-mapping; st:vlan-stacking;
#: Protocoltransparent-vlan; *: Management-vlan;
--------------------------------------------------------------------------------
VID Type Ports
--------------------------------------------------------------------------------
1 Common UT:GE0/0/1 (U) GE0/0/3 (u) GE0/0/4 (u) GE0/0/5 (D)
GE0/0/6 (d) GE0/0/7 (d) ge0/0/8 (d) GE0/0/9 (d)
GE0/0/10 (d) GE0/0/11 (d) GE0/0/12 (d) GE0/0/13 (d)
GE0/0/14 (d) GE0/0/15 (d) ge0/0/16 (d) GE0/0/17 (d)
GE0/0/18 (d) ge0/0/19 (d) ge0/0/20 (d) GE0/0/21 (d)
GE0/0/22 (d) ge0/0/23 (d) ge0/0/24 (d)
VID Status Property Mac-lrn Statistics Description
--------------------------------------------------------------------------------
1 Enable default enable disable VLAN 0001
<myhaspl>
This blog all content is original, if reproduced please indicate sourcehttp://blog.csdn.net/myhaspl/
Configuring the junction Machine IP
[Myhaspl]vlan 20
[Myhaspl-vlan20]interface VLAN 20
[Myhaspl-vlanif20]ip address 192.168.10.254 255.255.255.0
[Myhaspl-vlanif20]quit
[Myhaspl]interface gigabitethernet 0/0/2
[Myhaspl-gigabitethernet0/0/2]port link-type Access
[Myhaspl]vlan 20
[Myhaspl-vlan20]port gigabitethernet 0/0/2
View current user interface information
<myhaspl>disp User-interface
IDX Type tx/rx Modem privi actualprivi Auth Int
+ 0 CON 0 9600-3 3 N-
VTY 0-0-P-
VTY 1-0-P-
VTY 2-0-P-
Panax Notoginseng VTY 3-0-P-
VTY 4-0-P-
LTT 0 9600-0-N-
LTT 1 9600-0-N-
LTT 2 9600-0-N-
LTT 3 9600-0-N-
LTT 4 9600-0-N-
LTT 5 9600-0-N-
LTT 6 9600-0-N-
LTT 7 9600-0-N-
LTT 8 9600-0-N-
LTT 9 9600-0-N-
LTT 9600-0-N-
LTT 9600-0-N-
LTT 9600-0-N-
LTT 9600-0-N-
Bayi LTT 9600-0-N-
LTT 9600-0-N-
LTT 9600-0-N-
UI (s) not in async mode-or-with no hardware support:
1-32
+: Current UI is active.
F:current UI is active and work in async mode.
Idx:absolute Index of UIs.
Type:type and relative index of UIs.
Privi:the privilege of UIs.
actualprivi:the actual privilege of user-interface.
Auth:the authentication Mode of UIs.
A:authenticate use AAA.
N:current UI need not authentication.
P:authenticate Use the current UI ' s password.
Int:the physical location of UIs.
The auth in the following is how the user interface is validated
A:authenticate use AAA. Indicates that the user name and password are entered at the same time to verify P:authenticate use the current UI ' s password. Indicates that only the password n:current UI need not authentication is required. Indicates no need to enter user name and password
This blog all content is original, if reproduced please indicate sourcehttp://blog.csdn.net/myhaspl/
Configure the user's maximum number of vty interfaces and vty interface [Myhaspl]user-interface maximum-vty 10
[Myhaspl]user-interface vty 0 5
[Myhaspl-ui-vty0-5]
[Myhaspl-ui-vty0-5]user Privilege Level 2
[Myhaspl-ui-vty0-5]authentication-mode AAA
[Myhaspl-ui-vty0-5]quit
[MYHASPL]AAA
[MYHASPL-AAA]LOCAL-USERMYHASPL Password cipher myhaspl.com
Info:add a newuser.
[Myhaspl-aaa]local-user myhaspl Service-type telnet
[Myhaspl-aaa]return
<myhaspl>
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Exchange, Routing and Firewalls (3)