%Jul 30 15:18:57:702 2021 HX IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet3/0/18 changed to down. [HX]dis cu # version 7.1.070, Release 7585P05 # sysname HX # telnet server enable # forward-path-detection enable # irf mode normal # lldp global enable # system-working-mode standard xbar load-balance password-recovery enable # vlan 1 # vlan 300 # stp global enable # ftth # interface NULL0 # interface Vlan-interface1 ip address 192.168.1.1 255.255.128.0 # interface Vlan-interface300 ip address 192.168.120.120 255.255.255.0 # interface GigabitEthernet3/0/1 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/2 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/3 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/4 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/5 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/6 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/7 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/8 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/9 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/10 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/11 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/12 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet3/0/13 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/14 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/15 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/16 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/17 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/18 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/19 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/20 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/21 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/22 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/23 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 # interface GigabitEthernet5/0/24 port link-mode bridge port link-type trunk port trunk permit vlan 1 300 stp edged-port # interface GigabitEthernet7/0/1 port link-mode bridge # interface GigabitEthernet7/0/2 port link-mode bridge # interface GigabitEthernet7/0/3 port link-mode bridge # interface GigabitEthernet7/0/4 port link-mode bridge # interface GigabitEthernet7/0/5 port link-mode bridge # interface GigabitEthernet7/0/6 port link-mode bridge # interface GigabitEthernet7/0/7 port link-mode bridge # interface GigabitEthernet7/0/8 port link-mode bridge # interface GigabitEthernet7/0/9 port link-mode bridge # interface GigabitEthernet7/0/10 port link-mode bridge # interface GigabitEthernet7/0/11 port link-mode bridge # interface GigabitEthernet7/0/12 port link-mode bridge # interface GigabitEthernet7/0/14 port link-mode bridge # interface GigabitEthernet7/0/15 port link-mode bridge # interface GigabitEthernet7/0/16 port link-mode bridge # interface GigabitEthernet7/0/17 port link-mode bridge # interface GigabitEthernet7/0/18 port link-mode bridge # interface GigabitEthernet7/0/19 port link-mode bridge # interface GigabitEthernet7/0/20 port link-mode bridge # interface GigabitEthernet7/0/21 port link-mode bridge # interface GigabitEthernet7/0/22 port link-mode bridge # interface GigabitEthernet7/0/23 port link-mode bridge # interface GigabitEthernet7/0/24 port link-mode bridge # interface GigabitEthernet7/0/25 port link-mode bridge # interface GigabitEthernet7/0/26 port link-mode bridge # interface GigabitEthernet7/0/27 port link-mode bridge # interface GigabitEthernet7/0/28 port link-mode bridge # interface GigabitEthernet7/0/29 port link-mode bridge # interface GigabitEthernet7/0/30 port link-mode bridge # interface GigabitEthernet7/0/31 port link-mode bridge # interface GigabitEthernet7/0/32 port link-mode bridge # interface GigabitEthernet7/0/33 port link-mode bridge # interface GigabitEthernet7/0/34 port link-mode bridge # interface GigabitEthernet7/0/35 port link-mode bridge # interface GigabitEthernet7/0/36 port link-mode bridge # interface GigabitEthernet7/0/37 port link-mode bridge # interface GigabitEthernet7/0/38 port link-mode bridge # interface GigabitEthernet7/0/39 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/40 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/41 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/42 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/43 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/44 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/45 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/46 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/47 port link-mode bridge stp edged-port # interface GigabitEthernet7/0/48 port link-mode bridge # interface M-GigabitEthernet0/0/0 # interface Ten-GigabitEthernet5/0/25 port link-mode bridge # interface Ten-GigabitEthernet5/0/26 port link-mode bridge # interface Ten-GigabitEthernet5/0/27 port link-mode bridge # interface Ten-GigabitEthernet5/0/28 port link-mode bridge # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 1 user-role network-admin # line vty 0 4 authentication-mode scheme user-role network-operator # line vty 5 63 user-role network-operator # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$tmabbfhyrtIbgXFq$ncw3Onlr9FvINjEulMQFqpL+CXN0jXeGRZBp0t9r96vGfwjrQkFsQwb3/Gae1PgMkrpP1Ve6ZTYxnm6u+FUceA== service-type telnet authorization-attribute user-role level-15 authorization-attribute user-role network-operator # return
帮忙看看这个核心交换机的配置,vlan的配置,有几个vlan 每个vlan都有哪些接口
(0)
最佳答案
### VLAN配置
从配置中可以看到,定义了两个VLAN:
1. **VLAN 1**:默认VLAN,没有特别配置。
2. **VLAN 300**:配置了IP地址192.168.120.120/24。
### 接口配置
以下是各接口的详细配置:
#### Trunk端口(允许VLAN 1和VLAN 300)
- GigabitEthernet3/0/1
- GigabitEthernet3/0/2
- GigabitEthernet3/0/3
- GigabitEthernet3/0/4
- GigabitEthernet3/0/5
- GigabitEthernet3/0/6
- GigabitEthernet3/0/7
- GigabitEthernet3/0/8
- GigabitEthernet3/0/9
- GigabitEthernet3/0/10
- GigabitEthernet3/0/11
- GigabitEthernet3/0/12
- GigabitEthernet3/0/13
- GigabitEthernet5/0/14
- GigabitEthernet5/0/15
- GigabitEthernet5/0/16
- GigabitEthernet5/0/17
- GigabitEthernet5/0/18
- GigabitEthernet5/0/19
- GigabitEthernet5/0/20
- GigabitEthernet5/0/21
- GigabitEthernet5/0/22
- GigabitEthernet5/0/23
- GigabitEthernet5/0/24
#### Edge端口(STP边缘端口)
- GigabitEthernet5/0/24
- GigabitEthernet7/0/40
- GigabitEthernet7/0/41
- GigabitEthernet7/0/42
- GigabitEthernet7/0/43
- GigabitEthernet7/0/44
- GigabitEthernet7/0/45
- GigabitEthernet7/0/46
- GigabitEthernet7/0/47
- GigabitEthernet7/0/48
(0)
配置了两个 VLAN,分别是 VLAN 1 和 VLAN 300。
Vlan - interface1
配置了 IP 地址192.168.1.1
,子网掩码255.255.128.0
。GigabitEthernet3/0/1 - GigabitEthernet3/0/13
、GigabitEthernet5/0/14 - GigabitEthernet5/0/24
等一系列接口。Vlan - interface300
配置了 IP 地址192.168.120.120
,子网掩码255.255.255.0
(1)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论