zoukankan      html  css  js  c++  java
  • 单臂路由

    交换机:undo terminal m
    Info: Current terminal monitor is off.
    system-view
    Enter system view, return user view with Ctrl+Z.
    [Huawei]sysname 1
    [1]user-interface console 0
    [1-ui-console0]idle-timeout 0 0
    [1-ui-console0]quit
    [1]vlan batch 10 20
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [1]int e0/0/1
    [1-Ethernet0/0/1]port hybrid pvid vlan 10
    [1-Ethernet0/0/1]port hybrid untagged vlan 10
    [1-Ethernet0/0/1]int e0/0/2
    [1-Ethernet0/0/2]port hybrid pvid vlan 20
    [1-Ethernet0/0/2]port hybrid untagged vlan 20
    [1-Ethernet0/0/2]int g0/0/1
    [1-GigabitEthernet0/0/1]port link-type trunk
    [1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20
    路由器
    undo terminal monitor
    Info: Current terminal monitor is off.
    system-view
    Enter system view, return user view with Ctrl+Z. 
    [Huawei]sysname 1
    [1]user-interface console 0 
    [1-ui-console0]idle-timeout 0 0
    [1-ui-console0]quit
    [1]int g0/0/0 
    [1-GigabitEthernet0/0/0]undo shutdown
    Info: Interface GigabitEthernet0/0/0 is not shutdown.
    [1-GigabitEthernet0/0/0]int g0/0/0.1
    [1-GigabitEthernet0/0/0.1]vlan-type dot1q 10 default
    [1-GigabitEthernet0/0/0.1]ip add 192.168.1.1 24
    [1-GigabitEthernet0/0/0.1]int g0/0/0.2
    [1-GigabitEthernet0/0/0.2]vlan-type dot1q 20 default
    [1-GigabitEthernet0/0/0.2]ip add 192.168.2.1 24

  • 相关阅读:
    青城的另一个一夜/情
    SystemProperties.get/set property_get/set
    锁——Java同步的基本思想
    CMUSphinx Learn
    猜数字
    我的音乐我的电影
    动态规划_钢条切割问题
    directdraw显示yuv420(YV12)
    Redis 命令参考
    HDU 3078 LCA转RMQ
  • 原文地址:https://www.cnblogs.com/sobk/p/14009403.html
Copyright © 2011-2022 走看看