aunt怎么读-标本夹
。
一、清空配置:
(清楚下次启动时使
用的配置 文件信息)然后重启设备,重启设备室提示保存信息,选择“
NO
”
。
Warning: The action will delete the
saved configuration in the configuration will be erased to
reconfigure. Continue? [Y/N]:yWarning: Now clearing the configuration in
the device.
Info: Succeeded in clearing the configuration in the device.
Info: The system is now comparing the configuration, please
wait.
Warning: The configuration has been modified, and it will be saved to
the next startup saved-configuration file flash:/. Continue?
[Y/N]:n //
此处请选择“
N
”
Info: If want to reboot with saving diagnostic
information, input 'N' and then execute 'reboot save diagnostic-
information'.
System will reboot! Continue?[Y/N]:y
二、通过
STelnet/Telnet
登录交换机设置新的
Console
口登录密码
#
以登录用户界面的认证方式为密码认证,密码为
Huawe i@123
为例,配置如下。
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher Huawei@123
[HUAWEI-ui-console0] return
#
以登录用户界面的认证方式为
AAA
认证,用户名为
admin 123
,密码为
Huawei@123
为
例,配置如下。
。
1
。
[HUAWEI] user- interface console 0
[HUAWEI-ui-console0] authentication-mode aaa
[HUAWEI-ui-console0] quit
[HUAWEI] aaa
[HUAWEI-aaa] local- user admin123 password irreversible-cipher Huawei@123
[HUAWEI-aaa] local-user admin123 service-type terminal
(本地防务终端用户)
[HUAWEI-aaa] return(
返回
)
(保存)
三、查看某个接口学习到的
MAC
地址
MAC Address VLAN/VSI Learned-From Type
------------------------------------------------- ------------------------
0000-0000-0003 300/- GE1/0/1 dynamic
0026-6e5c-feac 3000/- GE1/0/1 dynamic
四、查看某个
VLAN
学习到的
MAC
地址
MAC Address VLAN/VSI Learned-From Type
------------------------------------------------- -------------------------
0000-0000-0003 10/- GE1/0/1 dynamic
0026-6e5c-feac 10/- GE1/0/2 dynamic
五、查看系统的
MAC
地址
GigabitEthernet1/0/1 current state : UP
Line protocol current state : UP
Description:
Switch Port, Link-type : access(configured),
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is00e0f74b-
。
2
。
6d00
六、根据
IP
获取对应设备的
MAC
地址
配置端口安全
#
配置
GE1/0/1
接口的端口安全功能。
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI- GigabitEthernet1/0/1] port-security enable
# < br>配置
GE1/0/1
接口的
MAC
地址学习限制数为
5
,即最多可以学习到
5
个
MAC
地址表项。
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI- GigabitEthernet1/0/1] port-security enable
[HUAWEI-GigabitEthernet1/0/1] port-security max-mac-num 5
配置永久端口组
#
配置接口< br>GE1/0/1
至
GE1/0/8
加入到永久端口组
portgrou p1
(使用
port-group
命令)
[HUAWEI] port-group portgroup1
[HUAWEI-port-group-portgroup1] group-member gigabitethernet 1/0/1 to
gigabitethernet 1/0/8
配置接口速率
自协商模式下,手动配置接口速率
#
配置以太网接口
GE1/0 /1
在自协商模式下协商速率为
100Mbit/s
。
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI- GigabitEthernet1/0/1] negotiation auto
[HUAWEI-GigabitEthernet1/0/1] auto speed 100
配置双工模式
自协商模式下,手动配置双工模式
#
配置以太网电接口
GE1/0/1
在自协商模式下双工模式为全双工模式。
。
3
。
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] negotiation auto
[HUAWEI-GigabitEthernet1/0/1] auto duplex full
配置接口切换到三层模式
接口视图下执行命令
undo portswitch
,配置接口切换到三层模式。
#
将接口
GE1/0/1
切换为三层模式。
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] undo portswitch
[HUAWEI-GigabitEthernet1/0/1] ip address 10.10.10.10 255.255.255.0
支持二层模式与三层 模式切换的款型及版本如下:
lS5700EI
:
V200R005C00&C01
lS5700HI
:
V100R005C01
、
V100R006C 01
、
V200R001C00
、
V200R002C00
、
V200R003C00
、
V200R005C00&C01
lS5 710EI
:
V200R002C00
、
V200R003C00
、
V200R005C00
lS5720EI
:
V20 0R007C00
、
V200R008C00
、
V200R009C00、
V200R010C00lS5710HI
:
V200R003C00
、
V200R005C00
lS5720HI
:
V2 00R006C00
、
V200R007C00
、
V200R008C00< br>、
V200R009C00
、
V200R010C00
lS6700EI
:
V200R005C00&C01
lS6720EI< br>:
V200R008C00
、
V200R009C00
、
V200R010C00lS6720S-EI
:
V200R008C00
、
V200R009C00
、
V200R010C00
l
S7700&S9700
:
V200R001C00&C01< br>、
V200R002C00
、
V200R003C00
、
V200R005C00
、
V200R006C00
、
V200R007C00
、
V200R008C00
、
V200R0 09C00
、
V200R010C00
对于
V200R005C00
及后续版
本,在接口使用命令
undo portswitch
,将以太网接口从二层模式切换到三层模式后
,支持配置
IP
地址。
。
4
。
一键清除接口下的配置
执行命令一键式清除接口下配置后,接口的状态将被置为
shutdown
状态。
#
在系统视图下执行命令
clear configuration interface
清除
GE1/0/1
接口下的配置
[HUAWEI] clear configuration interface gigabitethernet 1/0/1
Warning: All
configurations of the interface will be cleared, and its state will be
shutdown. Continue? [Y/N] :y
Info: Total 5 command(s) executed, 5 successful, 0 failed.
查看设备支持的链路聚合组数目和成员接口数目
#
查看设备支持的链路聚合组数目和成员接口数目。
接口加入
VLAN
l
Access
接口加入
VLAN
[HUAWEI] interface gigabitethernet0/0/1
[HUAWEI- GigabitEthernet0/0/1] port link-type access //
设置接口的链路类型
为
Access
[HUAWEI-GigabitEthernet0/0/1] port default vlan 10 //
把接口
GigabitEthernet0/0/1
加入
VLAN 10
Trunk
接口加入
VLAN
[HUAWEI] interface gigabitethernet0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link- type trunk //
设置接口的链路类型为
Trunk
[HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 //
把接口
。
5
。
GigabitEthernet0/0/1
加入
VLAN 10
Hybrid
接口加入
VLAN
[HUAWEI] interface gigabitethernet0/0/1
[HUAWEI- GigabitEthernet0/0/1] port link-type hybrid //
设置接口的链路类型
为
Hybrid
[HUAWEI-GigabitEthernet0/0/1] port hybrid tagged vlan 10 //
接口
GigabitEther net0/0/1
以
Tagged
方式加入
VLAN 10
HUAWEI-GigabitEthernet0/0/1] port hybrid untagged vlan 20 //
接口
GigabitEth ernet0/0/1
以
Untagged
方式加入
VLAN 20
批量创建
VLAN
批量创建
10
个连续的
VL AN
:
VLAN11
到
VLAN20
。
[HUAWEI] vlan batch 11 to 20
批量创建
10
不连续的
VLAN
:
VLAN10
、
VLAN15
到
VLAN19
、
VLAN25
、
VLAN28
到
VLAN30
。
[HUAWEI] vlan batch 10 15 to 19 25 28 to 30
接口批量加入
VLAN
access
接口类型。
[HUAWEI] port- group pg1 //
创建端口组
pg1
[HUAWEI- port-group-pg1] group-member gigabitethernet1/0/1 to
gigabitethernet1/0/5 //
把接口
gi gabitethernet1/0/1
到
gigabitethernet1/0/5
加
入端口组
[HUAWEI-port- group-pg1] port link-type access //
批量修改端口
。
6
aunt怎么读-标本夹
aunt怎么读-标本夹
aunt怎么读-标本夹
aunt怎么读-标本夹
aunt怎么读-标本夹
aunt怎么读-标本夹
aunt怎么读-标本夹
aunt怎么读-标本夹
本文更新与2021-01-27 02:31,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/574642.html