卖逼视频免费看片|狼人就干网中文字慕|成人av影院导航|人妻少妇精品无码专区二区妖婧|亚洲丝袜视频玖玖|一区二区免费中文|日本高清无码一区|国产91无码小说|国产黄片子视频91sese日韩|免费高清无码成人网站入口

cisco 6509 真實項目核心交換機配置vss配置

初始配置enconf tno ip domain lookupline con 0loginexec-timeout 0 30logging synchronousexitusername et pa

初始配置

en

conf t

no ip domain lookup

line con 0

login

exec-timeout 0 30

logging synchronous

exit

username et password et6f

enable secret et6f

hostname 6F-CORE-SW

(2)將核心交換機 6F-CORE-SW01上與 6F-CORE-SW02相連的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置為EtherChannel :

6F-CORE-SW01(config)#interface range tenGigabitEthernet 5/4 - 5

,

6F-CORE-SW01(config-if-range)#channel-group 1 mode on

6F-CORE-SW01(config-if-range)#no shutdown

Range command terminated because it failed on TenGigabitEthernet5/4

6F-CORE-SW01(config-if-range)#exit

說明:將核心交換機 6F-CORE-SW01上與 6F-CORE-SW02相連的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置為EtherChannel ,為配置VSL 作準備。

(3)配置VSS 域名與VSS 主機號:

6F-CORE-SW01(config)#switch virtual domain 100

Domain ID 100 config will take effect only

after the exec command 'switch convert mode virtual' is issued

6F-CORE-SW01(config-vs-domain)#switch 1

6F-CORE-SW01(config-vs-domain)#switch 1 priority 200

6F-CORE-SW01(config-vs-domain)#exit

說明:這里沒有配置搶占,因為找不到搶占這個命令(因為active 交換幾只是在控制層面起作用,實際的數(shù)據(jù)還是各自進行轉(zhuǎn)發(fā)所以哪臺做active 無所謂)配置VSS 的域名為100,范圍為1-255,兩臺交換機必須相同;配置VSS 的主機號碼為1,必須一臺為1,另一臺為2;并配置VSS 優(yōu)先級為200,默認為100,數(shù)字越大,優(yōu)先級越高,便能成為主VSS 交換機。

,

(4)配置VSL 鏈路:

6F-CORE-SW01(config)#interface port-channel 1

6F-CORE-SW01(config-if)#switch virtual link 1

6F-CORE-SW01(config-if)#no shutdown

6F-CORE-SW01(config-if)#exit

6F-CORE-SW01(config)#exit

說明:將兩臺交換機互連的EtherChannel 配置為VSL 。

(5)將交換機的工作模式改為VSS 模式(確定之后,交換機將自動重啟): 6F-CORE-SW01#write

Building configuration...

[OK]

6F-CORE-SW01#

6F-CORE-SW01#switch convert mode virtual

(6)查看當前交換機的工作模式:

6F-CORE-SW01#show switch virtual

Switch mode : Virtual Switch

Virtual switch domain number : 100

Local switch number : 1

Local switch operational role: Virtual Switch Active

6F-CORE-SW01#

說明:交換機當前已經(jīng)工作在VSS 模式,并顯示域名為100,本地交換機號碼為1,本地交換機的角色為Active ,即具有控制權(quán)限的主交換機。

,

(7)查看當前交換機的VSS 角色:

6F-CORE-SW01#show switch virtual role

Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote ------------------------------------------------------------------

LOCAL 1 UP TRUE (Y*) 200(200) ACTIVE 0 0

Active configured preempt timer(switch 1): 5 minutes

In dual-active recovery mode: No

6F-CORE-SW01#

說明:本地交換機的角色為Active ,即具有控制權(quán)限的主交換機。

(8)查看當前交換機的VSL 鏈路狀態(tài):

6F-CORE-SW01#show switch virtual link

VSL Status : DOWN

VSL Uptime : -

VSL SCP Ping : -

VSL ICC Ping : -

VSL Control Link : -

,

6F-CORE-SW01#

說明:因為還沒有配置第二臺交換機,所以本地交換機當前的VSL 鏈路狀態(tài)為DOWN 。

二:配置核心交換機SW02

en

conf t

no ip domain lookup

line con 0

exec-timeout 0 0

logging synchronous

exit

username et password et6f

enable secret et6f

hostname 6FF-CORE-SW02

(2)將核心交換機 6F-CORE-SW02上與 6F-CORE-SW01相連的接口TenGigabitEthernet5/4和TenGigabitEthernet5/5配置為EtherChannel : 6F-CORE-SW02(config)#int range tenGigabitEthernet 5/4 - 5

6F-CORE-SW02(config-if-range)#channel-group 2 mode on

6F-CORE-SW02(config-if-range)#no shutdown

Range command terminated because it failed on TenGigabitEthernet5/4 6F-CORE-SW02(config-if-range)#exit

說明:將核心交換機 6F-CORE-SW02上與 6F-CORE-SW01相連的接口

,

TenGigabitEthernet5/4和TenGigabitEthernet5/5配置為EtherChannel ,為配置VSL 作準備,請注意雙方的EtherChannel 號碼不要配置相同。

(3)配置VSS 域名與VSS 主機號:

6F-CORE-SW02(config)#switch virtual domain 100

Domain ID 100 config will take effect only

after the exec command 'switch convert mode virtual' is issued

6F-CORE-SW02(config-vs-domain)#switch 2

6F-CORE-SW02(config-vs-domain)#exit

說明:配置VSS 的域名為100,范圍為1-255,兩臺交換機必須相同;配置VSS 的主機號碼為2,必須一臺為1,另一臺為2。

(4)配置VSL 鏈路:

6F-CORE-SW02(config)#int port-channel 2

6F-CORE-SW02(config-if)#switch virtual link 2

6F-CORE-SW02(config-if)#no shutdown

6F-CORE-SW02(config-if)#exi

6F-CORE-SW02(config)#exi

說明:將兩臺交換機互連的EtherChannel 配置為VSL 。

(5)將交換機的工作模式改為VSS 模式(確定之后,交換機將自動重啟): 6F-CORE-SW02#wr

,

Building configuration...

[OK]

6F-CORE-SW02#

6F-CORE-SW02#switch convert mode virtual

之后會出現(xiàn)一個選項:選yes

啟動完成后:核心sw02:進入standby 狀態(tài)

說明:由于對端交換機 6F-CORE-SW01的VSS 優(yōu)先級高于本交換機,所以對方交換機已經(jīng)工作在了VSS 的Active 狀態(tài),而本地交換機 6F-CORE-SW02只能工作在Standby 狀態(tài);只有工作在Active 模式的交換機才具有配置和管理雙方交換機的權(quán)限,而工作在Standby 狀態(tài)的交換機則永遠停留在用戶模式(提示符為>),enable 模式是被阻塞而不能進入的。

并且需要注意,當兩臺交換機通過VSS 合并成單臺交換機之后,主機名則沿用Active 交換機的主機名。

(1)查看核心交換機 6F-CORE-SW01的EtherChannel 狀態(tài):

6F-CORE-SW01#sh etherchannel summary

Flags: D - down P - bundled in port-channel

I - stand-alone s - suspended

H - Hot-standby (LACP only)

R - Layer3 S - Layer2

U - in use N - not in use, no aggregation

f - failed to allocate aggregator

M - not in use, no aggregation due to minimum links not met

m - not in use, port not aggregated due to minimum links not met

u - unsuitable for bundling

,

d - default port

w - waiting to be aggregated

Number of channel-groups in use: 1

Number of aggregators: 1

Group Port-channel Protocol Ports

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

1 Po1(RD) - Te1/5/4(w) Te1/5/5(D)

6F-CORE-SW01#

說明:核心交換機 6F-CORE-SW01當前的EtherChannel 并未工作在正常狀態(tài),所以下面需要解決此問題。

說明:由于兩臺核心交換機之間配置了VSS ,所以兩臺交換機的配置信息將合并為一臺, 6F-CORE-SW01之前的接口GigabitEthernet1/2現(xiàn)在變?yōu)镚igabitEthernet1/1/2,之前的接口GigabitEthernet2/3現(xiàn)在變?yōu)镚igabitEthernet1/2/3,之前的接口TenGigabitEthernet5/4現(xiàn)在變?yōu)門enGigabitEthernet1/5/4,而 6F-CORE-SW02之前的接口GigabitEthernet1/2現(xiàn)在變?yōu)镚igabitEthernet2/1/2,之前的接口GigabitEthernet2/3現(xiàn)在變?yōu)镚igabitEthernet2/2/3,之前的接口TenGigabitEthernet5/4現(xiàn)在變?yōu)門enGigabitEthernet2/5/4;除此之外,最重要的就是之前雙方都配置好的EtherChannel ,現(xiàn)在只剩Active 交換機 6F-CORE-SW01的TenGigabitEthernet1/5/4和TenGigabitEthernet1/5/5還正常存在,而Standby 交換機 6F-CORE-SW02的EtherChannel 配置在經(jīng)過VSS 合并之后被清空,所以必須手工添加交換機 6F-CORE-SW02上應(yīng)有的EtherChannel 配置和VSL 配置,否則雙方的VSL 將不能正常工作,那么VSS 也就不能正常工作。(也有些型號的設(shè)備不需要做這一步vsl 就up 了)

(3)手工添加交換機 6F-CORE-SW02上應(yīng)有的EtherChannel 配置和VSL 配置: 6F-CORE-SW01(config)#int range tenGigabitEthernet 2/5/4 - 5

,

6F-CORE-SW01(config-if-range)#channel-group 2 mode on

6F-CORE-SW01(config-if-range)#no shutdown

Range command terminated because it failed on TenGigabitEthernet2/5/4 6F-CORE-SW01(config-if-range)#exit

00:10:36: ?-5-STAYDOWN: Te2/5/4 will remain down as its port-channel Po2 is admin-down

6F-CORE-SW01(config)#

6F-CORE-SW01(config)#int port-channel 2

6F-CORE-SW01(config-if)#switch virtual link 2

6F-CORE-SW01(config-if)#no shutdown

6F-CORE-SW01(config-if)#exit

6F-CORE-SW01(config)#exit

6F-CORE-SW01#

00:11:03: SYS-5-CONFIG_I: Configured from console by consolewr

6F-CORE-SW01#write

Building configuration...

00:14:16: PFINIT-SW1_SP-5-CONFIG_SYNC: Sync'ing the startup configuration to the standby Router. [OK]

6F-CORE-SW01#

說明:雖然是配置 6F-CORE-SW02的EtherChannel 和VSL ,但還是在VSS 的Active 交換機上配置的,因為 6F-CORE-SW02工作在Standby 狀態(tài),是不能進入enable 進行配置和管理的。

(4)再次查看交換機 6F-CORE-SW01的工作模式:

,

6F-CORE-SW01#show switch virtual

Switch mode : Virtual Switch

Virtual switch domain number : 100

Local switch number : 1

Local switch operational role: Virtual Switch Active

Peer switch number : 2

Peer switch operational role : Virtual Switch Standby

Conversion completed : No

Perform exec command 'switch accept mode virtual' to complete the VSS conversion 6F-CORE-SW01#

說明:交換機 6F-CORE-SW01當前工作在VSS 模式,并顯示域名為100,本地交換機號碼為1,本地交換機的角色為Active ,即具有控制權(quán)限的主交換機,而對端交換機號碼為2,并且對端交換機角色為Standby 。

查看交換機當前的SSO 狀態(tài):

6F-CORE-SW01#

6F-CORE-SW01#show redundancy states

my state = 13 -ACTIVE

peer state = 8 -STANDBY HOT

Mode = Duplex

Unit = Primary

Unit ID = 21

Redundancy Mode (Operational) = sso

標簽: