举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔知了社区有害的内容
×
不规范转载
×
举报说明
交换机的配置
创建二层聚合接口
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
接口加入聚合
interface GigabitEthernet1/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
interface GigabitEthernet1/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
创建VLAN接口,并配置IP地址。
interface Vlan-interface10
ip address 192.168.10.1 255.255.255.0
路由器配置
创建三层聚合口
interface Route-Aggregation1
接口加入聚合
interface GigabitEthernet0/0
port link-mode route
port link-aggregation group 1
interface GigabitEthernet0/1
port link-mode route
port link-aggregation group 1
创建子接口,并加入对应VLAN
interface Route-Aggregation1.10
vlan-type dot1q vid 10
ip address 192.168.10.2 255.255.255.0
验证测试
交换机
[H3C]display interface Bridge-Aggregation
brief Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
BAGG1 UP 2G(a) F(a) T 1
路由器
[H3C]display interface Route-Aggregation 1
brief Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
RAGG1 UP UP --
经测试两边可以互通。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作