1、系统名字
[Huawei]sysname [Huawei]sysname switch1
2、系统时钟
clock ?
datetime Specify the time and date
daylight-saving-time Configure daylight saving time
timezone Configure time zone
clock timezone ?
clock timezone beijing ?
add Add time zone offset
minus Minus time zone offset
clock timezone beijing add ?
HH:MM:SS Time zone offset
clock timezone beijing add 8 ?
clock timezone beijing add 8
clock datetime ?
clock datetime 13:11:00?
clock datetime 13:11:00 ?
clock datetime 13:11:00 2014-04-01
dis
display clock
2014-04-01 13:11:42+08:00
Tuesday
Time Zone(beijing) : UTC+08:00
sys Enter system view, return user view with Ctrl+Z.
3、本地用户
[switch1]aaa
[switch1-aaa]local-user ?
[switch1-aaa]local-user huawei ?
[switch1-aaa]local-user huawei password ?
cipher User password with cipher text
simple User password with plain text
[switch1-aaa]local-user huawei password cipher ?
[switch1-aaa]local-user huawei password cipher huawei ?
[switch1-aaa]local-user huawei password cipher huawei privilege ? [switch1-aaa]local-user huawei password cipher huawei privilege level 15
4、用户端口绑定
[switch1]user-interface ?
INTEGER The first user terminal interface to be configured console Primary user terminal interface
current The current user terminal interface
maximum-vty The maximum number of VTY users, the default value
is 5
vty The virtual user terminal interface
[switch1]user-interface vty ?
[switch1]user-interface vty 0 4 ?
[switch1-ui-vty0-4]a?
acl authentication-mode auto-execute
[switch1-ui-vty0-4]authentication-mode ? [switch1-ui-vty0-4]authentication-mode aaa
5、登录系统 telnet ?
6、系统端口绑定
[switch1]interface GigabitEthernet 0/0/2
[switch1-GigabitEthernet0/0/2]port ?
add-tag Add outer tag based on acl
discard Discard
hybrid Hybrid port
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/2]port link-type ?
access Access port
dot1q-tunnel QinQ port
hybrid Hybrid port
trunk Trunk port
[switch1-GigabitEthernet0/0/2]port link-type a
[switch1-GigabitEthernet0/0/2]port link-type access ?
[switch1-GigabitEthernet0/0/2]por
[switch1-GigabitEthernet0/0/2]port ?
add-tag Add outer tag based on acl
default Specify current port's PVID VLAN characteristics discard Discard
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/2]port de
[switch1-GigabitEthernet0/0/2]port default
[switch1-GigabitEthernet0/0/2]port default vlan 10 ?
[switch1-GigabitEthernet0/0/2]port default vlan 10
[switch1]interface GigabitEthernet 0/0/1
[switch1-GigabitEthernet0/0/1]port
[switch1-GigabitEthernet0/0/1]port ?
add-tag Add outer tag based on acl
discard Discard
hybrid Hybrid port
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/1]port link-type ?
access Access port
dot1q-tunnel QinQ port
hybrid Hybrid port
trunk Trunk port
[switch1-GigabitEthernet0/0/1]port link-type trunk ?
[switch1-GigabitEthernet0/0/1]port ?
add-tag Add outer tag based on acl
discard Discard
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
trunk Trunk port
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/1]port trunk ?
allow-pass Allowed vlan
pvid Specify current port's PVID VLAN characteristics
[switch1-GigabitEthernet0/0/1]port trunk allow-pass ?
[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 ?
[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 save
1、系统名字
[Huawei]sysname [Huawei]sysname switch1
2、系统时钟
clock ?
datetime Specify the time and date
daylight-saving-time Configure daylight saving time
timezone Configure time zone
clock timezone ?
clock timezone beijing ?
add Add time zone offset
minus Minus time zone offset
clock timezone beijing add ?
HH:MM:SS Time zone offset
clock timezone beijing add 8 ?
clock timezone beijing add 8
clock datetime ?
clock datetime 13:11:00?
clock datetime 13:11:00 ?
clock datetime 13:11:00 2014-04-01
dis
display clock
2014-04-01 13:11:42+08:00
Tuesday
Time Zone(beijing) : UTC+08:00
sys Enter system view, return user view with Ctrl+Z.
3、本地用户
[switch1]aaa
[switch1-aaa]local-user ?
[switch1-aaa]local-user huawei ?
[switch1-aaa]local-user huawei password ?
cipher User password with cipher text
simple User password with plain text
[switch1-aaa]local-user huawei password cipher ?
[switch1-aaa]local-user huawei password cipher huawei ?
[switch1-aaa]local-user huawei password cipher huawei privilege ? [switch1-aaa]local-user huawei password cipher huawei privilege level 15
4、用户端口绑定
[switch1]user-interface ?
INTEGER The first user terminal interface to be configured console Primary user terminal interface
current The current user terminal interface
maximum-vty The maximum number of VTY users, the default value
is 5
vty The virtual user terminal interface
[switch1]user-interface vty ?
[switch1]user-interface vty 0 4 ?
[switch1-ui-vty0-4]a?
acl authentication-mode auto-execute
[switch1-ui-vty0-4]authentication-mode ? [switch1-ui-vty0-4]authentication-mode aaa
5、登录系统 telnet ?
6、系统端口绑定
[switch1]interface GigabitEthernet 0/0/2
[switch1-GigabitEthernet0/0/2]port ?
add-tag Add outer tag based on acl
discard Discard
hybrid Hybrid port
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/2]port link-type ?
access Access port
dot1q-tunnel QinQ port
hybrid Hybrid port
trunk Trunk port
[switch1-GigabitEthernet0/0/2]port link-type a
[switch1-GigabitEthernet0/0/2]port link-type access ?
[switch1-GigabitEthernet0/0/2]por
[switch1-GigabitEthernet0/0/2]port ?
add-tag Add outer tag based on acl
default Specify current port's PVID VLAN characteristics discard Discard
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/2]port de
[switch1-GigabitEthernet0/0/2]port default
[switch1-GigabitEthernet0/0/2]port default vlan 10 ?
[switch1-GigabitEthernet0/0/2]port default vlan 10
[switch1]interface GigabitEthernet 0/0/1
[switch1-GigabitEthernet0/0/1]port
[switch1-GigabitEthernet0/0/1]port ?
add-tag Add outer tag based on acl
discard Discard
hybrid Hybrid port
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/1]port link-type ?
access Access port
dot1q-tunnel QinQ port
hybrid Hybrid port
trunk Trunk port
[switch1-GigabitEthernet0/0/1]port link-type trunk ?
[switch1-GigabitEthernet0/0/1]port ?
add-tag Add outer tag based on acl
discard Discard
link-flap Link flap
link-type Switch port link type
mux-vlan Multiplex vlan
priority Specify current port's priority
trunk Trunk port
type Type
vlan-mapping VLAN Mapping
vlan-stacking VLAN Stacking
[switch1-GigabitEthernet0/0/1]port trunk ?
allow-pass Allowed vlan
pvid Specify current port's PVID VLAN characteristics
[switch1-GigabitEthernet0/0/1]port trunk allow-pass ?
[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 ?
[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 save