2024年5月18日发(作者:2022性价比高的手机推荐排行)
[Quidway]vlan 10 创建vlan 10
[Quidway-vlan10]qu 退出
[Quidway]vlan 20 创建vlan 20
[Quidway-vlan20]description huanlianwang 对vlan 20进行描述
[Quidway-vlan20]qu 退出
[Quidway]interface Ethernet0/0/1 进入接口Ethernet0/0/1
[Quidway-Ethernet0/0/1]port link-type access 配置该接口为access口(电脑接
口)
[Quidway-Ethernet0/0/1]port default vlan 10 配置该接口允许vlan 10通过
[Quidway-Ethernet0/0/1]qu 退出
[Quidway]interface Ethernet0/0/2 进入接口Ethernet0/0/2
[Quidway-Ethernet0/0/2]port link-type access配置该接口为access口(电脑接口)
[Quidway-Ethernet0/0/2]port default vlan 20配置该接口允许vlan 20通过
[Quidway-Ethernet0/0/2]qu 退出
[Quidway]interface GigabitEthernet 0/0/1 进入接口GigabitEthernet 0/0/1
[Quidway-GigabitEthernet0/0/1]port link-type trunk配置该接口为trunk口(交
换机与交换机或者与PTN间互联接口)
[Quidway-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20 100配置该接
口允许vlan 10、20、100通过
[Quidway-GigabitEthernet0/0/1]dis th (查看当前接口配置)
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20 100
#
return
[Quidway]dis cu 查看当前配置
#
!Software Version V100R006C05
sysname Quidway
#
undo info-center enable
#
vlan batch 10 20 100
#
undo http server enable
undo http secure-server enable
#
vlan 20
description huanlianwang
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password
cipher %@%@5d~9:M^ipCfLiB)EQd>3Uwe%@%@
local-user admin service-type http
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface Ethernet0/0/2
port link-type access
port default vlan 20
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface Ethernet0/0/8
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20 100
#
interface NULL0
#
user-interface con 0
authentication-mode password
user privilege level 15
set authentication password
cipher %@%@/ji3"T0n7M2`-=JvlvEG,"<@r#&,'Q#H[UhC user-interface vty 0 4 # return The current configuration will be written to the device. Are you sure to continue?[Y/N]y 按Y Info: Please input the file name(*.cfg,*.zip)[]: flash:/ exists, overwrite?[Y/N]:y Now saving the current configuration to the slot 0 . Info: Save the configuration successfully. The action will delete the saved configuration in the device. The configuration will be erased to reconfigure. Continue? [Y/N]:y按Y Warning: Now clearing the configuration in the device. Info: Succeeded in clearing the configuration in the device. 当忘记交换机登陆密码后,请按以下步骤操作:重启交换机 BIOS LOADING ... Copyright (c) 2008-2011 HUAWEI TECH CO., LTD. (Ver149, Mar 15 2013, 11:02:25) Press Ctrl+B to enter BOOTROM menu ... 2 当出现Press Ctrl+B to enter BOOTROM menu ...时按Ctrl+B password: BOOTROM密码为 Admin@ BOOTROM MENU 1. Boot with default mode 2. Enter serial submenu 3. Enter startup submenu 4. Enter ethernet submenu 5. Enter filesystem submenu 6. Modify BOOTROM password 7. Clear password for console user 8. Reboot Enter your choice(1-8): 7 按7 Note: Clear password for console user? Yes or No(Y/N): y 按y Clear password for console user successfully. Choose "1" to boot, then set a new password. Note: Do not choose "8. Reboot" or power off the device, otherwise this operation will not take effect. BOOTROM MENU 1. Boot with default mode 2. Enter serial submenu 3. Enter startup submenu 4. Enter ethernet submenu 5. Enter filesystem submenu 6. Modify BOOTROM password 7. Clear password for console user 8. Reboot Enter your choice(1-8): 1 按1后设备自动启动,启动后直接输入初始登陆密码 Decompressing Image file ... done There is no record in region Exception. PPI OK Hard OK Begin to start the system, please waiting ...... VOS OK Startup OK VOS OK CFM OK PAT init ........................OK VOS VFS init hind ...............OK VRP_ VRP_ Init the OK CFG_OK CFM_OK CLI_.OK VRP_OK create . task OK! Press ENTER to get started. Please configure the login password (6-16) Enter Password: Confirm Password: 配置交换机三层地址 [Quidway]vlan 4094 创建vlan [Quidway-vlan4094]qu [Quidway]interface Vlanif 4094 进入三层接口 [Quidway-Vlanif4094]ip address 192.168.1.1 255.255.255.0 [Quidway-Vlanif4094]description guanli 配置IP地址 描述该接口 [ 配置telnet密码认证 [Quidway]user-interface vty 0 4 [Quidway-ui-vty0-4]authentication-mode password [Quidway-ui-vty0-4]set authentication password cipher huawei123 [Quidway-ui-vty0-4]user privilege level 15
发布者:admin,转转请注明出处:http://www.yc00.com/num/1715969420a2699747.html
评论列表(0条)