vPC基礎(chǔ)實(shí)驗(yàn)-創(chuàng)新互聯(lián)

一、實(shí)驗(yàn)拓?fù)洌?/p>

創(chuàng)新互聯(lián)建站專業(yè)為企業(yè)提供蘆山網(wǎng)站建設(shè)、蘆山做網(wǎng)站、蘆山網(wǎng)站設(shè)計(jì)、蘆山網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁(yè)設(shè)計(jì)與制作、蘆山企業(yè)網(wǎng)站模板建站服務(wù),10年蘆山做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價(jià)值的思路和整體網(wǎng)絡(luò)服務(wù)。

由于條件有限,使用兩個(gè)N5K做基本的vPC實(shí)驗(yàn),Peer Keepalive Link使用的是兩個(gè)Nexus 5K的Mgm0接口。

vPC基礎(chǔ)實(shí)驗(yàn)

二、配置步驟:

1、先構(gòu)建vPC domain,并在domain下定義role優(yōu)先級(jí)、system優(yōu)先級(jí)、PKL。

2、然后配置Port-channel作為PL。

3、配置vPC成員端口,配置vPC。

4、配置Catalyst4500X交換機(jī)的Port-channel。

N5K-1

hostname N5K-1

feature telnet

feature interface-vlan

feature lacp

feature vpc

vlan 1, 10

vrf context management

vpc domain 10

 peer-switch >>>>對(duì)于其他的SW,看到的是同一個(gè)MAC地址?

 role priority 100 >>>這個(gè)值需要不同,小的成為Primary,大的成為Secondary,如果一樣,小的MAC成為Primary

 system-priority 2100 >>>這個(gè)值在同一個(gè)domain需要配置為一致

 peer-keepalive destination 172.16.1.2 source 172.16.1.1

 delay restore 150

interface Vlan10

 no shutdown

 ip address 10.1.1.1/24

interface port-channel10

 switchport mode trunk

 switchport trunk allowed vlan 1,10

 spanning-tree port type network

 speed 10000

 vpc peer-link

interface port-channel20

 switchport mode trunk

 vpc 20

interface Ethernet1/1

 switchport mode trunk

 switchport trunk allowed vlan 1,10

 channel-group 10 mode active

interface Ethernet1/5

 switchport mode trunk

 switchport trunk allowed vlan 1,10

 channel-group 10 mode active

interface Ethernet1/9

 switchport mode trunk

 speed auto

 channel-group 20 mode active

interface mgmt0

 vrf member management

 ip address 172.16.1.1/24

N5K-2

hostname N5K-2

feature telnet

feature interface-vlan

feature lacp

feature vpc

vlan 1, 10

vrf context management

vpc domain 10

 peer-switch

 role priority 101

 system-priority 2100

  peer-keepalive destination 172.16.1.2 source 172.16.1.1

 delay restore 150

interface Vlan10

 no shutdown

 ip address 10.1.1.1/24

interface port-channel10

 switchport mode trunk

 switchport trunk allowed vlan 1,10

 spanning-tree port type network

 speed 10000

 vpc peer-link

interface port-channel20

 switchport mode trunk

 vpc 20

interface Ethernet1/1

 switchport mode trunk

 switchport trunk allowed vlan 1,10

 channel-group 10 mode active

interface Ethernet1/5

 switchport mode trunk

 switchport trunk allowed vlan 1,10

 channel-group 10 mode active

interface Ethernet1/9

 switchport mode trunk

 speed auto

 channel-group 20 mode active

interface mgmt0

 vrf member management

 ip address 172.16.1.1/24

C4500-X

vlan 1,10

interface vlan10

 ip address 10.1.1.3 255.255.255.0

interface range tenGigabitEthernet 1/1, tenGigabitEthernet1/3

 channel-group 20 mode active

interface Port-channel 20

 switch mode trunk

 vpc 20

N5K-1# sho int brief

--------------------------------------------------------------------------------

Ethernet     VLAN   Type Mode  Status Reason                  Speed    Por

t

Interface                                                                   Ch

#

--------------------------------------------------------------------------------

Eth2/1       1      eth access up     none                       10G(D) --

Eth2/2       1      eth access down   SFP not inserted           10G(D) --

Eth2/3       1      eth access down   SFP not inserted           10G(D) --

Eth2/4       1      eth access down   SFP not inserted           10G(D) --

Eth2/5       1      eth access up     none                       10G(D) --

Eth2/6       1      eth access down   SFP not inserted           10G(D) --

Eth2/7       1      eth access down   SFP not inserted           10G(D) --

Eth2/8       1      eth access down   SFP not inserted           10G(D) --

Eth2/9       1      eth fabric up     none                       10G(D) -- >>>>如要配置FEX,該接口的模式為switchport mode fex-fabric

Eth2/10      1      eth access down   SFP not inserted           10G(D) --

Eth2/11      1      eth access down   SFP not inserted           10G(D) --

Eth2/12      1      eth access down   SFP not inserted           10G(D) --

Eth2/13      1      eth access down   SFP not inserted           10G(D) --

Eth2/14      1      eth access down   SFP not inserted           10G(D) --

Eth2/15      1      eth access down   SFP not inserted           10G(D) --

Eth2/16      1      eth access down   SFP not inserted           10G(D) --

Eth2/17      1      eth access down   SFP not inserted           10G(D) --

Eth2/18      1      eth access down   SFP not inserted           10G(D) --

Eth2/19      1      eth access down   SFP not inserted           10G(D) --

Eth2/20      1      eth access down   SFP not inserted           10G(D) --

Eth2/21      1      eth access down   SFP not inserted           10G(D) --

Eth2/22      1      eth access down   SFP not inserted           10G(D) --

Eth2/23      1      eth access down   SFP not inserted           10G(D) --

Eth2/24      1      eth access down   SFP not inserted           10G(D) --

Eth2/25      1      eth access down   SFP not inserted           10G(D) --

Eth2/26      1      eth access down   SFP not inserted           10G(D) --

Eth2/27      1      eth access down   SFP not inserted           10G(D) --

Eth2/28      1      eth access down   SFP not inserted           10G(D) --

Eth2/29      1      eth access down   SFP not inserted           10G(D) --

Eth2/30      1      eth access down   SFP not inserted           10G(D) --

Eth2/31      1      eth access down   SFP not inserted           10G(D) --

Eth2/32      1      eth access down   SFP not inserted           10G(D) --

--------------------------------------------------------------------------------

Port  VRF         Status IP Address                             Speed   MTU

--------------------------------------------------------------------------------

mgmt0 --          up    172.16.1.1                             1000    1500

剛配置了PL的時(shí)候:

N5K-1# sho vpc

Legend:

               (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                    : 10

Peer status                      : peer adjacency formed ok

vPC keep-alive status            : peer is alive

Configuration consistency status : success

Per-vlan consistency status      : success

Type-2 consistency status        : success

vPC role                         : primary

Number of vPCs configured        : 0

Peer Gateway                     : Disabled

Dual-active excluded VLANs       : -

Graceful Consistency Check       : Enabled

Auto-recovery status             : Enabled (timeout = 240 seconds)

vPC Peer-link status

---------------------------------------------------------------------

id  Port  Status Active vlans

--  ----  ------ --------------------------------------------------

1   Po10  up    1,10

配置了連接C4500-X的vPC的時(shí)候

N5K-1# show vpc

Legend:

               (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                    : 10

Peer status                      : peer adjacency formed ok

vPC keep-alive status            : peer is alive

Configuration consistency status : success

Per-vlan consistency status      : success

Type-2 consistency status        : success

vPC role                         : primary

Number of vPCs configured        : 1

Peer Gateway                     : Disabled

Dual-active excluded VLANs       : -

Graceful Consistency Check       : Enabled

Auto-recovery status             : Enabled (timeout = 240 seconds)

vPC Peer-link status

---------------------------------------------------------------------

id  Port  Status Active vlans

--  ----  ------ --------------------------------------------------

1   Po10  up    1,10

vPC status

----------------------------------------------------------------------------

id    Port       Status Consistency Reason                    Active vlans

------ ----------- ------ ----------- -------------------------- -----------

20    Po20       up    success    success                   1,10

查看一致性參數(shù)

N5K-1# show vpc consistency-parameters interface port-channel 10

Note: **** Global type-1 parameters will be displayed for peer-link *****

   Legend:

       Type 1 : vPC will be suspended in case of mismatch

Name                       Type Local Value           Peer Value

-------------              ---- ---------------------- -----------------------

QoS                        2    ([], [], [], [], [],  ([], [], [], [], [],

                                 [])                   [])

Network QoS (MTU)          2    (1538, 0, 0, 0, 0, 0) (1538, 0, 0, 0, 0, 0)

Network Qos (Pause)        2    (F, F, F, F, F, F)    (F, F, F, F, F, F)

Input Queuing (Bandwidth)  2    (100, 0, 0, 0, 0, 0)  (100, 0, 0, 0, 0, 0)

Input Queuing (Absolute    2    (F, F, F, F, F, F)    (F, F, F, F, F, F)

Priority)

Output Queuing (Bandwidth) 2    (100, 0, 0, 0, 0, 0)  (100, 0, 0, 0, 0, 0)

Output Queuing (Absolute   2    (F, F, F, F, F, F)    (F, F, F, F, F, F)

Priority)

STP Mode                   1    Rapid-PVST            Rapid-PVST

STP Disabled               1    None                  None

STP MST Region Name        1    ""                    ""

STP MST Region Revision    1    0                     0

STP MST Region Instance to 1

 VLAN Mapping

STP Loopguard              1    Disabled              Disabled

STP Bridge Assurance       1    Enabled               Enabled

STP Port Type, Edge        1    Normal, Disabled,     Normal, Disabled,

BPDUFilter, Edge BPDUGuard       Disabled              Disabled

STP MST Simulate PVST      1    Enabled               Enabled

Interface-vlan admin up    2    10                    10

Interface-vlan routing     2    1,10                  1,10

capability

IGMP Snooping Group-Limit  2    4000                  4000

Allowed VLANs              -    1,10                  1,10

Local suspended VLANs      -    -                     -

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。

本文標(biāo)題:vPC基礎(chǔ)實(shí)驗(yàn)-創(chuàng)新互聯(lián)
分享地址:http://muchs.cn/article16/dshsgg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站排名品牌網(wǎng)站設(shè)計(jì)、建站公司網(wǎng)站制作、ChatGPT、企業(yè)建站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

手機(jī)網(wǎng)站建設(shè)