h3c交换机端口加入vlan命令_H3C把端口加入VLAN

Login authentication

Username:h3c

Password:h3c

%May 21 17:10:18:740 2000 S3100-24-XP3-F SHELL/5/LOGIN:- 1 - h3c(10.1.52.88) in

unit1 loginsu

Password:

User privilege level is 3, and only those commands can be used

whose level is equal or less than this.

Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE

sys

System View: return to User View with Ctrl+Z.

[S3100-24-XP3-F]vlan 55

[S3100-24-XP3-F-vlan55]port e1/0/23 to e1/0/24

[S3100-24-XP3-F-vlan55]display current

#

sysname S3100-24-XP3-F

#

super password level 3 cipher G`M^B

#

loopback-detection enable

#

radius scheme system

#

domain system

#

local-user h3c

password cipher G`M^B

service-type telnet

#

vlan 1

#

vlan 6

#

vlan 55

#

vlan 142

#

interface Vlan-interface6

ip address 10.30.1.144 255.255.255.0

#

interface Aux1/0/0

#

interface Ethernet1/0/1

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/2

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/3

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/4

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/5

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/6

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/7

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/8

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/9

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/10

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/11

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/12

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/13

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/14

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/15

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/16

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/17

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/18

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/19

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/20

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/21

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/22

port access vlan 142

loopback-detection enable

#

interface Ethernet1/0/23

port access vlan 55

loopback-detection enable

#

interface Ethernet1/0/24

port access vlan 55

loopback-detection enable

#

interface GigabitEthernet1/1/1

port link-type trunk

undo port trunk permit vlan 1

port trunk permit vlan 2

  • 2
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值