怎样在锐捷交换机上配置vrrp、arp和mstp

您所在的位置:网站首页 moxa2150a交换机说明书 怎样在锐捷交换机上配置vrrp、arp和mstp

怎样在锐捷交换机上配置vrrp、arp和mstp

2023-03-25 02:01| 来源: 网络整理| 查看: 265

 

 

交换机

 

密码

 

1234(config)#enable secret level 1 0 100 

1234(config)#enable secret level 15 0 100 

远程登入密码

 

1234(config)#line vty 0 4 

1234(config-line)#password 100 

1234(config-line)#end 

交换机管理

IP 

1234(config)#interface vlan 1 

1234(config-if)#ip address 192.168.1.10 255.255.255.0 

1234(config-if)#no shutdown 

修改交换机老化时间

 

1234(config)#mac-address-table aging-time 20 

1234(config)#end 

添删

vlan 

1234(config)#vlan 888 

1234(config-vlan)#name a888 

1234(config)#no vlan 888 

添加

access

 

1234(config)#interface gigabitEthernet 0/10 

1234(config-if)#switchport mode access 

1234(config-if)#switchport access vlan 10 

切换

assess 

 

trunk 

1234(config-if)#switchport mode access 

1234(config-if)#switchport mode trunk 

指定特定一个

native vlan 

1234(config-if)#switchport trunk native vlan 10 

配置

trunk

口的许可

vlan

列表

 

1234(config-if)#switchport trunk allowed vlan ? 

 

 

add 

 

 

 

 

Add VLANs to the current list 

 

 

all 

 

 

 

 

All VLANs 

 

 

except 

 

All VLANs except the following 

 

 

remove 

 

Remove VLANs from the current list 

速成树协议

 

1234(config)#spanning-tree 

1234(config)#spanning-tree mode rstp/stp 

配置网关:

 

switch(config)#ip default-gateway 192.168.1.254 

 

交换机基本配置

-

常见查看命令

 

查看

CPU

利用率

 

show cpu 

 

查看交换机时钟

 

show clock 

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3