您的位置:首页 > 其它

华为交换机基本配置实验

2008-09-19 20:24 363 查看
switch>sys ;进入特权模式
Enter system view, return to user view with Ctrl+Z.
[Quidway]sysname swtich01
[swtich01]super password huawei123
[swtich01]user-interface vty 0 4
[swtich01-ui-vty0-4]
[swtich01-ui-vty0-4]authentication-mode password
[switch01-ui-vty0-4]set authentication-mode password simple 123
[switch01-ui-vty0-4]user privilege level 3
[switch01-ui-vty0-4]quit
[switch01]quit
<switch01>sys
Enter system view, return to user view with Ctrl+Z.
password:huawei123
[switch01]disp cur
#
hostname switch01
super password huawei123
#
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain system
radius-scheme system
access-limit disable
state active
idle-cut disable
domain default enable system
#
local-server nas-ip 127.0.0.1 key huawei
#
vlan 1
ip address
ip route-static (default gateway)
#
interface Aux0/0
#
interface Ethernet0/1
#
#
interface Ethernet0/2
#
#
interface Ethernet0/3
#
#
interface Ethernet0/4
#
#
interface Ethernet0/5
#
#
interface Ethernet0/6
#
#
interface Ethernet0/7
#
#
interface Ethernet0/8
#
#
interface NULL0
#
#
user-interface aux 0
password
user-interface vty 0 4
password 123
login
return
[switch01]interface vlan 1
[switch01-Vlan-interface1]ip address 192.168.10.1 255.255.255.0
[switch01-Vlan-interface1]quit
[switch01]ip default-gateway 192.168.10.1
[switch01]dis cur
#
hostname switch01
super password huawei123
#
radius scheme system
server-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
domain system
radius-scheme system
access-limit disable
state active
idle-cut disable
domain default enable system
#
local-server nas-ip 127.0.0.1 key huawei
#
vlan 1
ip address 192.168.10.1 255.255.255.0
ip route-static (default gateway) 192.168.10.1
#
interface Aux0/0
#
interface Ethernet0/1
#
#
interface Ethernet0/2
#
#
interface Ethernet0/3
#
#
interface Ethernet0/4
#
#
interface Ethernet0/5
#
#
interface Ethernet0/6
#
#
interface Ethernet0/7
#
#
interface Ethernet0/8
#
#
interface NULL0
#
#
user-interface aux 0
password
user-interface vty 0 4
password 123
login
return
[switch01]save
Save current configuration to flash memory successfully.
[switch01]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: