admin 发表于 2021-2-5 13:34:56

HCNA-8 VLAN基础配置

HCNA-8 VLAN基础配置                              <Huawei>clocktimezone BJ add 8:00:00<Huawei>clockdatetime 16:01 2020-04-28<Huawei>system-viewsysnamesw2vlan 10//创建VLANdescriptionmarketing//VLAN描述vlan20descriptionitquitinterfaceGigabitEthernet 0/0/1//接口视图undonegotiation auto//不执行自协商duplexfull//全双工speed1000//速率1000Mportlink-type access//接口链路类型 访问portdefault vlan 10//接口默认VLAN quitinterfaceGigabitEthernet 0/0/2 undonegotiation autoduplexfullspeed1000portlink-type accessportdefault vlan 10quitinterfaceGigabitEthernet 0/0/3undonegotiation autoduplexfullspeed1000portlink-type accessportdefault vlan 20quitinterfaceGigabitEthernet 0/0/24undonegotiation autoduplexfullspeed1000portlink-type trunkporttrunk allow-pass vlan allquitdisplayvlan//查看VLANdisplayport vlan active//查看接口VLAN激活状态 return<sw2>save
<Huawei>clocktimezone BJ add 8:00:00<Huawei>clockdatetime 16:15 2020-04-28<Huawei>system-viewsysnamesw3vlanbatch 20 30//批量创建VLANdescriptionitdescriptionprojectquitport-groupgroup-member GigabitEthernet 0/0/1 to gigabitethernet 0/0/3//接口组 组成员undonegotiation autoduplexfullspeed1000portlink-type accessquitinterfaceGigabitEthernet 0/0/3portdefault vlan 20quitport-groupgroup-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/2portdefault vlan 30interfaceGigabitEthernet 0/0/24undonegotiation autoduplexfullspeed1000portlink-type trunkporttrunk allow-pass vlan allquitdisplayvlandisplayport vlan activereturn<sw3>save
<Huawei>clocktimezone BJ add 8:00:00<Huawei>clockdatetime 16:40 2020-04-28<Huawei>system-viewsysnamesw1vlan10descriptionmarketingvlan20descriptionitvlan30descriptionprojectquitport-groupgroup-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/2undonegotiation autoduplexfullspeed1000portlink-type trunkporttrunk allow-pass vlan allquitdisplayvlandisplayport vlan activereturn<sw1>save
页: [1]
查看完整版本: HCNA-8 VLAN基础配置

公司网站