IPS線上模式實驗2-Interface Pair

來源:互聯網
上載者:User

1.拓撲圖:

2.介面配置:

R1(config)#int f0/0

R1(config-if)#ip add 10.1.1.11 255.255.255.0

R1(config-if)#no sh

R2(config)#int f0/0

R2(config-if)#ip add 10.1.1.12 255.255.255.0

R2(config-if)#no sh

R3#vlan database

R3(vlan)#vlan 10

VLAN 10 added:

   Name: VLAN0010

R3(vlan)#exit

APPLY completed.

Exiting....

R3(config)#int f0/0

R3(config-if)#switchport mode access

R3(config-if)#switchport access vlan 10

R3(config-if)#int f0/15

R3(config-if)#swi mo acc

R3(config-if)#swi acc vlan 10

R4#vlan data

R4(vlan)#vlan 20

VLAN 20 added:

   Name: VLAN0020

R4(vlan)#exit

APPLY completed.

Exiting....

R4#

R4#config t

Enter configuration commands, one per line.  End with CNTL/Z.

R4(config)#int f0/0

R4(config-if)#swi mo acc

R4(config-if)#swi acc vlan 20

R4(config-if)#int f0/15

R4(config-if)#swi mo acc

R4(config-if)#swi acc vlan 20

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.