交换、路由与防火墙手记(7)

1、 2台交换机使用access端口连接,在access端口上配置vlan。

 

 

 

S1

 

<Huawei>sy

Entersystem view, return user view with Ctrl+Z.

[Huawei]sysnames1

[s1]vlan20

[s1-vlan20]interfacegig 0/0/1

[s1-GigabitEthernet0/0/1]portlink-type access

[s1-GigabitEthernet0/0/1]portdefault vlan 20

[s1-GigabitEthernet0/0/1]q

[s1]interfacegig 0/0/2

[s1-GigabitEthernet0/0/2]portlink-type access

[s1-GigabitEthernet0/0/2]portdefault vlan 20

[s1]ret

<s1>save

Thecurrent configuration will be written to the device.

Are yousure to continue?[Y/N]y

Nowsaving the current configuration to the slot 0.

Nov  6 2015 12:04:37-08:00 s1%%01CFM/4/SAVE(l)[2]:The user chose Y when deciding

 whether to save the configuration to thedevice.

Save theconfiguration successfully.

 

本博客所有内容是原创,如果转载请注明来源

http://blog.csdn.net/myhaspl/

S2:

<Huawei>sy

Entersystem view, return user view with Ctrl+Z.

[Huawei]sysnames2



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值