二层交换机整理

1、系统名字

[Huawei]sysname [Huawei]sysname switch1

2、系统时钟

clock ?

datetime Specify the time and date

daylight-saving-time Configure daylight saving time

timezone Configure time zone

clock timezone ?

clock timezone beijing ?

add Add time zone offset

minus Minus time zone offset

clock timezone beijing add ?

HH:MM:SS Time zone offset

clock timezone beijing add 8 ?

clock timezone beijing add 8

clock datetime ?

clock datetime 13:11:00?

clock datetime 13:11:00 ?

clock datetime 13:11:00 2014-04-01

dis

display clock

2014-04-01 13:11:42+08:00

Tuesday

Time Zone(beijing) : UTC+08:00

sys Enter system view, return user view with Ctrl+Z.

3、本地用户

[switch1]aaa

[switch1-aaa]local-user ?

[switch1-aaa]local-user huawei ?

[switch1-aaa]local-user huawei password ?

cipher User password with cipher text

simple User password with plain text

[switch1-aaa]local-user huawei password cipher ?

[switch1-aaa]local-user huawei password cipher huawei ?

[switch1-aaa]local-user huawei password cipher huawei privilege ? [switch1-aaa]local-user huawei password cipher huawei privilege level 15

4、用户端口绑定

[switch1]user-interface ?

INTEGER The first user terminal interface to be configured console Primary user terminal interface

current The current user terminal interface

maximum-vty The maximum number of VTY users, the default value

is 5

vty The virtual user terminal interface

[switch1]user-interface vty ?

[switch1]user-interface vty 0 4 ?

[switch1-ui-vty0-4]a?

acl authentication-mode auto-execute

[switch1-ui-vty0-4]authentication-mode ? [switch1-ui-vty0-4]authentication-mode aaa

5、登录系统 telnet ?

6、系统端口绑定

[switch1]interface GigabitEthernet 0/0/2

[switch1-GigabitEthernet0/0/2]port ?

add-tag Add outer tag based on acl

discard Discard

hybrid Hybrid port

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/2]port link-type ?

access Access port

dot1q-tunnel QinQ port

hybrid Hybrid port

trunk Trunk port

[switch1-GigabitEthernet0/0/2]port link-type a

[switch1-GigabitEthernet0/0/2]port link-type access ?

[switch1-GigabitEthernet0/0/2]por

[switch1-GigabitEthernet0/0/2]port ?

add-tag Add outer tag based on acl

default Specify current port's PVID VLAN characteristics discard Discard

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/2]port de

[switch1-GigabitEthernet0/0/2]port default

[switch1-GigabitEthernet0/0/2]port default vlan 10 ?

[switch1-GigabitEthernet0/0/2]port default vlan 10

[switch1]interface GigabitEthernet 0/0/1

[switch1-GigabitEthernet0/0/1]port

[switch1-GigabitEthernet0/0/1]port ?

add-tag Add outer tag based on acl

discard Discard

hybrid Hybrid port

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/1]port link-type ?

access Access port

dot1q-tunnel QinQ port

hybrid Hybrid port

trunk Trunk port

[switch1-GigabitEthernet0/0/1]port link-type trunk ?

[switch1-GigabitEthernet0/0/1]port ?

add-tag Add outer tag based on acl

discard Discard

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

trunk Trunk port

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/1]port trunk ?

allow-pass Allowed vlan

pvid Specify current port's PVID VLAN characteristics

[switch1-GigabitEthernet0/0/1]port trunk allow-pass ?

[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 ?

[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 save

1、系统名字

[Huawei]sysname [Huawei]sysname switch1

2、系统时钟

clock ?

datetime Specify the time and date

daylight-saving-time Configure daylight saving time

timezone Configure time zone

clock timezone ?

clock timezone beijing ?

add Add time zone offset

minus Minus time zone offset

clock timezone beijing add ?

HH:MM:SS Time zone offset

clock timezone beijing add 8 ?

clock timezone beijing add 8

clock datetime ?

clock datetime 13:11:00?

clock datetime 13:11:00 ?

clock datetime 13:11:00 2014-04-01

dis

display clock

2014-04-01 13:11:42+08:00

Tuesday

Time Zone(beijing) : UTC+08:00

sys Enter system view, return user view with Ctrl+Z.

3、本地用户

[switch1]aaa

[switch1-aaa]local-user ?

[switch1-aaa]local-user huawei ?

[switch1-aaa]local-user huawei password ?

cipher User password with cipher text

simple User password with plain text

[switch1-aaa]local-user huawei password cipher ?

[switch1-aaa]local-user huawei password cipher huawei ?

[switch1-aaa]local-user huawei password cipher huawei privilege ? [switch1-aaa]local-user huawei password cipher huawei privilege level 15

4、用户端口绑定

[switch1]user-interface ?

INTEGER The first user terminal interface to be configured console Primary user terminal interface

current The current user terminal interface

maximum-vty The maximum number of VTY users, the default value

is 5

vty The virtual user terminal interface

[switch1]user-interface vty ?

[switch1]user-interface vty 0 4 ?

[switch1-ui-vty0-4]a?

acl authentication-mode auto-execute

[switch1-ui-vty0-4]authentication-mode ? [switch1-ui-vty0-4]authentication-mode aaa

5、登录系统 telnet ?

6、系统端口绑定

[switch1]interface GigabitEthernet 0/0/2

[switch1-GigabitEthernet0/0/2]port ?

add-tag Add outer tag based on acl

discard Discard

hybrid Hybrid port

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/2]port link-type ?

access Access port

dot1q-tunnel QinQ port

hybrid Hybrid port

trunk Trunk port

[switch1-GigabitEthernet0/0/2]port link-type a

[switch1-GigabitEthernet0/0/2]port link-type access ?

[switch1-GigabitEthernet0/0/2]por

[switch1-GigabitEthernet0/0/2]port ?

add-tag Add outer tag based on acl

default Specify current port's PVID VLAN characteristics discard Discard

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/2]port de

[switch1-GigabitEthernet0/0/2]port default

[switch1-GigabitEthernet0/0/2]port default vlan 10 ?

[switch1-GigabitEthernet0/0/2]port default vlan 10

[switch1]interface GigabitEthernet 0/0/1

[switch1-GigabitEthernet0/0/1]port

[switch1-GigabitEthernet0/0/1]port ?

add-tag Add outer tag based on acl

discard Discard

hybrid Hybrid port

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/1]port link-type ?

access Access port

dot1q-tunnel QinQ port

hybrid Hybrid port

trunk Trunk port

[switch1-GigabitEthernet0/0/1]port link-type trunk ?

[switch1-GigabitEthernet0/0/1]port ?

add-tag Add outer tag based on acl

discard Discard

link-flap Link flap

link-type Switch port link type

mux-vlan Multiplex vlan

priority Specify current port's priority

trunk Trunk port

type Type

vlan-mapping VLAN Mapping

vlan-stacking VLAN Stacking

[switch1-GigabitEthernet0/0/1]port trunk ?

allow-pass Allowed vlan

pvid Specify current port's PVID VLAN characteristics

[switch1-GigabitEthernet0/0/1]port trunk allow-pass ?

[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 ?

[switch1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 save


    相关文章

    福建电信笔试题整理分享

    第一部分 一个小时考完 题目跟公务员行政职能测试差不多,只恨这方面我没练习,只好尽量做 总共100道选择题,前面六道数字推理题,接下去10道数学应用题,接下去有词语辨析,句子排序之类的,反正就是跟公务员的选择题差不多,多多练习应该没问题,就 ...

    第三层交换技术

    第三层交换技术 1.引言 在今天的网络建设中,新出现的三层交换机已成为我们的首选.它以其高效的性能.优良的性能价格比得到用户的认可和赞许.目前,三层交换机在企业网/校园网建设.智能社区接入等等许多场合中得到了大量的应用,市场的需求和技术的更 ...

    云网络的宏大未来:大二层网络

    2012-03-03 23:03:07 标签:云计算 软件定义网络 版权声明:原创作品,如需转载,请与作者联系.否则将追究法律责任. 云计算催生了更多"离奇"的客户需求,云计算技术的迅猛发展也孕育出针对这些客户需求的更多 ...

    详解第三层交换机技术

    1.1 共享技术 所谓共享技术即在一个逻辑网络上的每一个工作站都处于一个相同的网段上. 以太网采用CSMA/CD 机制,这种冲突检测方法保证了只能有一个站点在总线上传输.如果有两个站点试图同时访问总线并传输数据,这就意味着"冲突& ...

    普通二层交换机的转发

    过滤(filtering):是交换机决定一个帧是应该转发到某个接口还是应当将其丢弃的功能,如采取PORT+MAC绑定作为过滤条件. 转发(forwarding):是决定一个帧应该被导向哪个接口,并把该帧接口移动到这些接口的交换机功能. 网络 ...

    千兆以太网和千兆路由交换机技术

    1.千兆以太网技术原理 1.1早期以太网技术 以太网:IEEE802.3定义了10Mbps的以太网标准,采用载波监听和冲突检测(CSMA/CD) 协议,以半双工方式运行.从80年代末开始以太网取得了巨大的成功.10BaseT是运行在3类或 ...

    中小型企业网络设计

    目 次 1 引言 2 需求分析 2.1 项目背景 2.2 用户需求 2.3 硬件需求 3 逻辑网络设计 3.1 企业网络结构规划 3.1.1 核心层 3.1.2 汇聚层 3.1.3 接入层 3.2 拓扑结构设计图 3.3 信息点分布表 3. ...

    云计算中的网络技术进展

    云计算中的网络技术进展 房秉毅1 张云勇1 徐 雷1 杜世平2 1.中国联通研究院 北京 1000482.中国联通四川分公司 成都 610036 云计算技术是IT产业的一场技术革命,已成为IT行业发展的方向.这种变化使IT基础架构的运营专业 ...

    交换机的工作原理详解

    交换机的工作原理 一.交换机的工作原理 1.交换机根据收到数据帧中的源MAC地址建立该地址同交换机端口的映射,并将其写入MAC地址表中. 2.交换机将数据帧中的目的MAC地址同已建立的MAC地址表进行比较,以决定由哪个端口进行转发. 3.如 ...