IT技术互动交流平台

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

来源:IT165收集  发布日期:2015-11-18 19:11:50

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

 

 

Tag标签: 路由   手记   防火墙  
  • 专题推荐

About IT165 - 广告服务 - 隐私声明 - 版权申明 - 免责条款 - 网站地图 - 网友投稿 - 联系方式
本站内容来自于互联网,仅供用于网络技术学习,学习中请遵循相关法律法规