目录

简介

PSC配置和放置要求

相关信息

简介

本文档介绍在放置和配置方面必须满足的数据包服务卡(PSC)要求，以确保所有线卡在思科聚合服务路由器(ASR)5000系列机箱上都可用。

PSC配置和放置要求

PSC的放置和配置对线路卡的功能有一些要求。当您尝试使用端口以太网配置线卡端口时，可能会遇到故障：没有此类端口错误消息。

为使线路卡可用，其后的物理PSC必须将其模式配置为主用。如果PSC配置为备用模式，即使配置了足够的活动模式PSC可以连接到PSC，则线卡不可用，并报告就绪状态。这适用于全尺寸XGLC（万兆以太网线卡）和半尺寸线卡。最好通过示例来解释这一点。

在本例中，起始点是八个PSC中的七个配置为主用模式，而PSC 16配置为备用模式。此外，PSC 16通过早期迁移变为活动状态。注意下一输出中线卡32的状态，该状态物理连接到PSC 16(16 + 16 = 32)，并处于就绪状态。这是因为PSC 16配置为备用模式。

card 4

mode active

#exit

card 5

mode active

#exit

card 6

mode active

#exit

card 11

mode active

#exit

card 12

mode active

#exit

card 13

mode active

#exit

card 14

mode active

#exit

port ethernet 28/1

link-aggregation member global group 40

no shutdown

#exit

port ethernet 29/1

link-aggregation master global group 40

link-aggregation redundancy standard hold-time 10 preferred slot 28

no shutdown

vlan 2016

no shutdown

#exit

vlan 2020

no shutdown

#exit

vlan 2019

no shutdown

#exit

vlan 2021

no shutdown

#exit

vlan 2010

no shutdown

bind interface 28/1_gn ivan_gn

#exit

vlan 2011

no shutdown

bind interface 28/1_internet ivan_gi

#exit

vlan 2012

no shutdown

bind interface 28/1_gy ivan_gy

#exit

#exit

port ethernet 30/1

no shutdown

#exit

port ethernet 37/1

no shutdown

#exit

port ethernet 37/2

no shutdown

#exit

port ethernet 37/3

no shutdown

#exit

[local]ASR5000-2# show card table all

Slot         Card Type                               Oper State     SPOF  Attach

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

1: PSC      None                                    -              -       -  -

2: PSC      None                                    -              -       -  -

3: PSC      None                                    -              -       -  -

4: PSC      Packet Services Card 2                  Standby        -       -  -

5: PSC      Packet Services Card 2                  Active         No      - 37

6: PSC      Packet Services Card 2                  Active         No      -  -

7: PSC      None                                    -              -       -  -

8: SMC      System Management Card                  Standby        No      -  -

9: SMC      System Management Card                  Active         No     24 25

10: PSC      None                                    -              -       -  -

11: PSC      Packet Services Card 2                  Active         No     27  -

12: PSC      Packet Services Card 2                  Active         No     28  -

13: PSC      Packet Services Card 2                  Active         No     29  -

14: PSC      Packet Services Card 2                  Active         No     30  -

15: PSC      None                                    -              -       -  -

16: PSC      Packet Services Card 2                  Active         No      -  -

17: LC       None                                    -              -       -

18: LC       None                                    -              -       -

19: LC       10/100 Ethernet Line Card               Ready          -       -

20: LC       None                                    -              -       -

21: LC       None                                    -              -       -

22: LC       None                                    -              -       -

23: LC       1000 Ethernet Line Card                 Ready          -       -

24: SPIO     Switch Processor I/O (BNC) Card         Standby        -       9

25: SPIO     Switch Processor I/O (BNC) Card         Active         No      9

26: LC       None                                    -              -       -

27: LC       10/100 Ethernet Line Card               Standby        -      11

28: LC       10 Gig Ethernet Line Card               Active         Yes    12

29: LC       10 Gig Ethernet Line Card               Active         Yes    13

30: LC       10 Gig Ethernet Line Card               Standby        -      14

31: LC       None                                    -              -       -

32: LC       10 Gig Ethernet Line Card               Ready          -       -

33: LC       None                                    -              -       -

34: LC       None                                    -              -       -

35: LC       10/100 Ethernet Line Card               Ready          -       -

36: LC       None                                    -              -       -

37: LC       Quad 1000 Ethernet Line Card            Standby        -       5

38: LC       None                                    -              -       -

39: LC       1000 Ethernet Line Card                 Ready          -       -

40: RCC      Redundancy Crossbar Card                Standby        -

41: RCC      Redundancy Crossbar Card                Standby        -

42: LC       None                                    -              -       -

43: LC       None                                    -              -       -

44: LC       None                                    -              -       -

45: LC       None                                    -              -       -

46: LC       None                                    -              -       -

47: LC       None                                    -              -       -

48: LC       None                                    -              -       -

之后，PSC 16配置为主用模式：

[local]ASR5000-2(config)# card 16

[local]ASR5000-2(config-card-16)# mode active

[local]ASR5000-2(config-card-16)# end

这会导致PSC 4转换到主用模式，因为通过设计，系统会尝试激活配置为主用的PSC数量。它还导致线卡32转换到备用状态，从而允许其配置/使用并连接到PSC 16:

Thu Jun 11 17:59:40 2015 Internal trap notification 55 (CardActive) card 4 type

Packet Services Card 2

Thu Jun 11 17:59:40 2015 Internal trap notification 55 (CardActive) card 32 type

10 Gig Ethernet Line Card

Thu Jun 11 17:59:41 2015 Internal trap notification 93 (CardStandby) card 32 type

10 Gig Ethernet Line Card

[local]ASR5000-2# show card table all

Slot         Card Type                               Oper State     SPOF  Attach

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

1: PSC      None                                    -              -       -  -

2: PSC      None                                    -              -       -  -

3: PSC      None                                    -              -       -  -

4: PSC      Packet Services Card 2                  Active         Yes     -  -

16: PSC      Packet Services Card 2                  Active         Yes    32  -

32: LC       10 Gig Ethernet Line Card               Standby        -      16

在下一输出中，PSC 16随后配置回备用模式，并且所连接的线卡32会转换回就绪状态。为避免意外会话丢失，在系统中作为预防措施，当PSC配置为备用模式时，它将保持活动状态，除非强制重启：

[local]ASR5000-2(config)# card 16

[local]ASR5000-2(config-card-16)# mode standby

[local]ASR5000-2(config-card-16)# end

Thu Jun 11 18:02:05 2015 Internal trap notification 60 (CardDown) card 32 type 10

Gig Ethernet Line Card

Thu Jun 11 18:02:06 2015 Internal trap notification 5 (CardUp) card 32 type 10

Gig Ethernet Line Card

[local]ASR5000-2# show card table all

Slot         Card Type                               Oper State     SPOF  Attach

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

1: PSC      None                                    -              -       -  -

2: PSC      None                                    -              -       -  -

3: PSC      None                                    -              -       -  -

4: PSC      Packet Services Card 2                  Active         Yes     -  -

5: PSC      Packet Services Card 2                  Active         Yes     - 37

6: PSC      Packet Services Card 2                  Active         Yes     -  -

7: PSC      None                                    -              -       -  -

8: SMC      System Management Card                  Standby        No      -  -

9: SMC      System Management Card                  Active         No     24 25

10: PSC      None                                    -              -       -  -

11: PSC      Packet Services Card 2                  Active         Yes    27  -

12: PSC      Packet Services Card 2                  Active         Yes    28  -

13: PSC      Packet Services Card 2                  Active         Yes    29  -

14: PSC      Packet Services Card 2                  Active         Yes    30  -

15: PSC      None                                    -              -       -  -

16: PSC      Packet Services Card 2                  Active         Yes     -  -

17: LC       None                                    -              -       -

18: LC       None                                    -              -       -

19: LC       10/100 Ethernet Line Card               Ready          -       -

20: LC       None                                    -              -       -

21: LC       None                                    -              -       -

22: LC       None                                    -              -       -

23: LC       1000 Ethernet Line Card                 Ready          -       -

24: SPIO     Switch Processor I/O (BNC) Card         Standby        -       9

25: SPIO     Switch Processor I/O (BNC) Card         Active         No      9

26: LC       None                                    -              -       -

27: LC       10/100 Ethernet Line Card               Standby        -      11

28: LC       10 Gig Ethernet Line Card               Active         Yes    12

29: LC       10 Gig Ethernet Line Card               Active         Yes    13

30: LC       10 Gig Ethernet Line Card               Standby        -      14

31: LC       None                                    -              -       -

32: LC       10 Gig Ethernet Line Card               Ready          -       -

33: LC       None                                    -              -       -

34: LC       None                                    -              -       -

35: LC       10/100 Ethernet Line Card               Ready          -       -

36: LC       None                                    -              -       -

37: LC       Quad 1000 Ethernet Line Card            Standby        -       5

38: LC       None                                    -              -       -

39: LC       1000 Ethernet Line Card                 Ready          -       -

40: RCC      Redundancy Crossbar Card                Standby        -

41: RCC      Redundancy Crossbar Card                Standby        -

42: LC       None                                    -              -       -

43: LC       None                                    -              -       -

44: LC       None                                    -              -       -

45: LC       None                                    -              -       -

46: LC       None                                    -              -       -

47: LC       None                                    -              -       -

如果线路卡已配置(no shutdown)，且其所连接的PSC已配置为备用模式，则线路卡的配置将永久丢失：

show config

...

port ethernet 32/1

no shutdown

vlan 30

#exit

#exit

[local]ASR5000-2# config

[local]ASR5000-2(config)# card 16

[local]ASR5000-2(config-card-16)# mode standby

[local]ASR5000-2(config-card-16)# end

show config

...

no config for port 32/1

尝试配置处于就绪状态的端口会导致Failure:无此类端口错误：

[local]ASR5000-2# config

[local]ASR5000-2(config)# port ethernet 32/1

Failure: no such port

[local]ASR5000-2(config)#

相关信息

- ASR 5000安装指南 — Cisco Systems

- 技术支持和文档 - Cisco Systems