首页 > 其他分享 >[ensp自学]7.单臂路由

[ensp自学]7.单臂路由

时间:2023-01-08 15:32:04浏览次数:43  
标签:arp ensp r1 dot1q 0.1 0.2 GigabitEthernet0 路由 单臂

[ensp自学]7.单臂路由_单臂路由

<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]undo in en
Info: Information center is disabled.
[Huawei]sys r1
[r1]int g0/0/0.1
[r1-GigabitEthernet0/0/0.1]dot1
[r1-GigabitEthernet0/0/0.1]dot1q ter
[r1-GigabitEthernet0/0/0.1]dot1q termination vi
[r1-GigabitEthernet0/0/0.1]dot1q termination vid 10
[r1-GigabitEthernet0/0/0.1]ip ad 192.168.10.254 24
[r1-GigabitEthernet0/0/0.1]arp b
[r1-GigabitEthernet0/0/0.1]arp broadcast en
[r1-GigabitEthernet0/0/0.1]int g0/0/0.2
[r1-GigabitEthernet0/0/0.2]dot1
[r1-GigabitEthernet0/0/0.2]dot1q ter
[r1-GigabitEthernet0/0/0.2]dot1q termination vi
[r1-GigabitEthernet0/0/0.2]dot1q termination vid 20
[r1-GigabitEthernet0/0/0.2]ip ad 192.168.20.254 24
[r1-GigabitEthernet0/0/0.2]arp b
[r1-GigabitEthernet0/0/0.2]arp broadcast en
[r1-GigabitEthernet0/0/0.2]int g0/0/0.3
[r1-GigabitEthernet0/0/0.3]dot1q termination vid 30
[r1-GigabitEthernet0/0/0.3]ip ad 192.168.30.254 24
[r1-GigabitEthernet0/0/0.3]arp b
[r1-GigabitEthernet0/0/0.3]arp broadcast en
[r1-GigabitEthernet0/0/0.3]q
[r1]q
<r1>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<r1>

交换机s1:

1,2,3口access对应vlan10,20,30 。

4口trunk。

[ensp自学]7.单臂路由_单臂路由_02

标签:arp,ensp,r1,dot1q,0.1,0.2,GigabitEthernet0,路由,单臂
From: https://blog.51cto.com/urlem/5996706

相关文章

  • [ensp自学]6.链路聚合实验
    交换机之间连接3条线,变成3000M的eth-trunk端口,r1主,优先级100。[r1]intEth-Trunk1[r1-Eth-Trunk1]portlink-typetrunk[r1-Eth-Trunk1]porttrunkallow-passvlanall[r......
  • Vue和React路由原理
    hash<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title......
  • Flutter 陈航 21-路由 导航 Route Navigator 页面参数
    本文地址目录目录目录21|路由与导航,实现页面切换路由管理基本路由命名路由路由表routes页面PageNavigator.pushNamed页面参数启动参数返回参数总结21|路由与导航......
  • [ensp自学]5.dhcp select relay中继
    AR1:创建两个ippoolvlan10和20,g0口ipadd10.0.0.124,静态路由两条:iproute-static192.168.10.02410.0.0.2iproute-static192.168.20.02410.0.0.2s1:创建vlan1020,......
  • [ensp自学]4.路由器开启dhcp
    AR1:sysdhcpenippooltextnet192.168.1.0m24gateway-list192.168.1.254dns-list114.114.114.114leaseday1excluded-ip-address192.168.1.200192.168.1.253qintg......
  • 基于matlab的卫星网络DCAR编码感知路由发现仿真
    目录一、理论基础二、核心程序三、测试结果一、理论基础当一个源节点有数据要向目的节点发送且在当前路由缓存中未发现可用路径时,则启动路由请求过程,下面分步......
  • Asp.Net Core EndPoint 终结点路由工作原理解读
    一、背景在本打算写一篇关于Identityserver4的文章时候,却发现自己对EndPoint-终结点路由还不是很了解,故暂时先放弃了IdentityServer4的研究和编写;所以才产生了今天这篇......
  • [ensp自学]2.端口隔离port-isolate
    端口隔离是为了在同一vlan下阻止某些端口之间不可以互相访问。加入端口隔离相同组的内部成员之间不可以互通。PC1和PC2不能互通,都可以访问PC3,PC3可以访问PC2不可以访问PC1<......
  • [ensp自学]3.dhcp snooping
    AR1是合法路由,AR2是非法路由dhcpendhcpsnoopingen//全局开启dhcpsnoopingport-groupgroup-membere0/0/1toe0/0/12dhcpsnoopingen//配置1-12端口开启d......
  • [ensp自学]1.基本配置
    创建vlan vlanbatch1020把端口g0/0/1加入vlan10intg0/0/1portlink-typeaccessportdefaultvlan10给vlan10创建网关,才可以和其他vlan通信intvlan10ipadd192.168......