CMTS

来自qingwei personal wiki
Yuanliu2讨论 | 贡献2018年1月15日 (一) 08:28的版本 vCMTS
跳转至: 导航搜索

DEBUG

RPD can not online

sho cable depi multicast pool sho cable rpd log reverse

cdman map debug

<<< check map counter increase or not in map builder module sh controllers upstream-Cable x/y/z us-channel <n> cdm-ump <<< Check MAP and UCD in map sending module per US controller, if tx counter not increase, it means MAP/UCD not send to DSJIB successfully sh controllers c6/0/0 upstream | i MAP sh controllers c6/0/0 downstream | i UCD <<< check if map sent out successfully from DSJIB sh controllers downstream-Cable 6/0/6 counter rf-channel <<<check if map initial ranging grant send sh int c0/0/0 mac-scheduler 0 | in Init Mtn <<<<check uepi map send

  1. sh controllers c6/0/5 upstream | in Map

Map Count S/W = 955548 Map Count Error = 0 No MAP buffer= 0 Map Count Internal = 869750 Map Count External = 869757 看看 其中 Map Count Internal = 869750是发给USPHY 通过uepi的 <<<<check BWR 有没有被drop

  1. sh controllers c6/0/4 upstream | i OpSt|Requests

Controller 6/0/4 upstream 0 AdminState:UP OpState: UP

 Bandwidth Requests = 34835
 Piggyback Requests = 515
 Invalid BW Requests= 1392

这个命令里可以看BWR counter 正常情况下 Bandwidth Requests会增加 Invalid BW Requests不变 如果这个counter是正常的 那就抓下sfid tracker 看看grant是否给了 === SFID tracker (LC IOS console) ===

no debug cable interface cx/y/z service-flow <sfid> track debug cable interface cable x/y/z serv <sfid> track // wait for 30 seconds, then execute the below CLI to print buffered logs to file show int cable x/y/z up debug sf <sfid> 0 1000 verbose backup the /tmp/cc/cdman-doc-output.txt 这个是SFID tracker命令 你先看看这些吧

cbr send replication map to usphy and modem

debug cable mac-domain map-repl debug cable interface c7/0/0 verbose ------open sup map-repl debug set platform software trace cdman 8/0 -----open cdman-md-com debug test cable md cdman show md c7/0/0 verbose ----- check rfid in cdman

rfid sup-iosd(htonl can not used)------>(htonl must be used)clc-iosd through ipc msg clc-iosd ------->cdman through ipc msg

cdman ubrcce_clc_mapucd_repl_update_handler 处理map repl

           ubr_mbrgrp_rfids_add_from_msg       
          
                   rfid_grp_buf_extract_bitmap_entry   -----------rfid = ntohs(bm_entry->first_rfid);   大小端问题(cbr 平台本身就是大端不存在,vbr存在),so need to change ntohs  to ntohl

sh pl hardware qfp active cab uflow vslot 7 md 0 statistics sh pl hardware qfp active cab cm rx

crash solution

shm_vnic_adaptor_cc down --------socket bind ip is hard code iosd-clc down --------can not alloc memory

vmac down may be due to shm_cc down debug solusion 1.log btdecode /tmp/cc/7/trace/shm /harddisk/tracelogs/ 2.decode harddisk/core/

cpp inject packet test test ubr-dp inject bf-pkt 0.0.0 ffff.ffff.ffff bundle 1 arp-req 10 sh platform hardware qfp active statistics ------cpp inject packet

CPP punt packet show sh plat hardware qf active infrastructure punt summary

rpd upstream up test cable rpd 0.0.0 up-us

fman/cpp debug

show pl ha qf ac infrastructure bqs schedule output default interface In0/0/0:0 show pl ha qf ac infrastructure bqs schedule output default interface In0/0/0:0 hierarchy show pl ha qf ac infrastructure bqs root-schedule all | i VBR


debug cab dhcp debug cab mac-addr

show platform hardware qfp active statistics drop sh cable bundle 1 forwarding-table

sh pl hardware qfp active interface if-name bundle 1 sh platform hardware qfp active feature docsis bf 9 replist

sh platform software cable FP active vbun-fld

test cable dsnb show-inj-hdr-n-state Integrated-Cable 9/0/0:0


set pl software trace forwarding-manager FP active cable-vbun-fld debug debug platform software cbl_vbun_fld trace


show platform hardware qfp active statistics drop show pl ha qf ac statis dro


Global Drop Stats Packets Octets


CblBfReplicationStart 4 168 Disabled 8 656 EncapInvalid 1577 148546 UnconfiguredIpv4Fia 4 472 UnconfiguredIpv6Fia 5 622

Router#show pl ha qf ac statis dro


Global Drop Stats Packets Octets


CblBfReplicationStart 4 168 Disabled 8 656 EncapInvalid 1579 148666 UnconfiguredIpv4Fia 4 472 UnconfiguredIpv6Fia 5 622 debug pl ha qf ac fe cef-mpl drop cause xxx data show pl ha qf ac statis dro det -------get xxx

show pl software interface fp ac name-string Te0/0/0 sh platform hardware qfp active interface if-name Te0/0/0 path

cpp_cp_Fo traceback -------------- cd binos && mcp_stump cpp/dp/obj/ulord/ultra,qfp-ucode-vbr.symbols


Router#debug pl ha Router#test pl ha qf ac feature docsis dtrack mac-address 0050.5691.2540 Router#test pl ha qf ac feature docsis dtrack pa Router#test pl ha qf ac feature docsis dtrack packet-copy


Router#show pl ha qf ac fe do dt statistics

SSH Configuration

ip ssh V1 configure terminal enable password lab ip domain-name cisco.com crypto key generate rsa general-keys modulus 1024 ip ssh time 120 ip ssh authentication 4 line vty 0 4 transport input ssh exit aaa new-model aaa authentication login default local username admin password lab

ip ssh V2 1. enable

2. configure terminal

3. ip ssh rsa keypair-name keypair-name


4. crypto key generate rsa usage-keys label ssh_key modulus 1024 5. ip ssh [time-out seconds | authentication-retries integer]


6. ip ssh version 2 ip ssh authentication-retries 4 ip ssh source-interface GigabitEthernet0 ip ssh rsa keypair-name ssh_key ip ssh version 2 ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr


aaa new-model aaa authentication login default local aaa session-id common

username admin password lab line vty 0 4

exec-timeout 0 0
privilege level 15
password lab
logging synchronous
exec prompt timestamp
transport input ssh

vCMTS

xbr multi_lc user guide


control plane (SUP eth3 <----> LC eth0)
data plane (SUP eth4 <----> LC eth1)

1. Build image git clone /auto/crdc-nsg-ws8/falcon/merge.git git checkout multi_lc abraxas-client.SignEngine -r create-ticket -b CBR -k DEV -n 500 -U yuanliu2 -P (dir binos) export BINOS_ROOT=/nobackup/yuanliu2/polaris/binos mcp_ios_precommit DIGI_SIGN=DEVELOPMENT xbr_super -j16 (dir ios/sys)

2. Image locations SUP Directory: /binos/linkfarm/iso-xbr LC Directory: /binos/linkfarm /iso-xbr-clc/

"xbr-universalk9.2016-12-09_01.48_yuanliu2.ova" is for SUP VM to setup , " xbr-universalk9clc.2016-12-09_01.53_yuanliu2.iso" is for LC VM to setup.

!!! Notice If you have only changed vmac/cdman/adaptor etc. code, you can build with "gmk -f Plx=-xbr TARGET=x86_64_cge7 bin-x86_64_cge7-xbr/vmac" then copy vmac to /harddisk/tmp of VM to save time.

3.VM setup Solusion1: manual deploy http://cmtswiki.cisco.com:8080/display/cmtspub/VM+Set+Up+for+vCMTS Solusion2: auto deploy tool ---------->USD http://10.124.8.7/xbr (nedd to change cpu memory vlan info after auto deploy)

!!!Notice the minimum resource requirements for SUP VM

CPUs num: 6 Memory: 16G network adaptor num: 5

!!!Notice the minimum resource requirements for LC VM

CPUs num: 4 Memory: 16G network adaptor num: 4 SUP eth3 <----> LC eth0 in the same vlan SUP eth4 <----> LC eth1 in the same vlan LC eth3 <----> vRPD eth0 in the same vlan

4.Config SUP VM(when set up SUP VM firstly, need to through SUP ios request platform software system to config [RP_0:~]$ cat /harddisk/rommon_vars SR_INIT_SHELL=aux_do_system_shell IP_ADDRESS=3.33.11.25 IP_SUBNET_MASK=255.255.0.0 DEFAULT_GATEWAY=3.33.0.1 REAL_MGMTE_DEV= SR_MGMT_VRF=0 [RP_0:~]$sync [RP_0:~]$ reboot Config LC VM(when set up LC VM firstly, need to through SUP binos console telnet cc0-0 to config LC ) [SIP_7:~]$ cat /harddisk/rommon_vars SR_INIT_SHELL=aux_do_system_shell SLOT_NUM=7 [SIP_7:~]$ cat /harddisk/vmac_config_file ./vmac -nhop_mac 00:50:56:91:4C:52 -rphy_ip 3.30.1.4 -vmac_mac 00:50:56:91:2b:9d -vmac_ip 3.30.1.5 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 !!!nhop_mac is next Hop Mac which is mac address of the RPD. !!!rphy_ip - IP address of the RPD. Can be a private IP address if not visible on the network. This should be in same subnet as vmac IP address as specified by argument -vmac_ip below. !!!vmac_mac is MAC address of the SUP VM for the ethernet interface that connects to RPD. !!!vmac_ip - IP address of the SUP VM for the ethernet interface that connects to RPD. This IP address is not exposed to the outside world, so you are free to provide a private address. !!!rphy_if - ethernet interface that connects to RPHY. The above vmac_mac MAC and vmac_ip IP address correspond to this interface. !!!us_mac_cpus - core# for usmac. US mac is pinned to this core. !!!ds_mac_cpus - core# for dsmac. dsmac is pinned to this core. !!!debug - debug flag. Ignore..Optional. [SIP_7:~]$sync [SIP_7:~]$reboot (before reboot need to switch to SUP VM binos to "mkdir /tmp/rp/chasfs/cc/0" only once) Config vRPD VM directly use USD to deploy

SUP IOS config:yuanliu2@10.75.12.12:~/xbr_multi_lc.cfg Router#copy bootflash:xbr_multi_lc.cfg startup-config !!!must have config card 0/0 xBR !!!interface Te0/0/0

mac-address 0050.56a4.055c         -------------vmac_mac 00:50:56:91:2b:9d
ip address 3.35.1.1 255.255.255.0  ------------vmac_ip 3.30.1.5
ip mtu 1500
no mop enabled
no mop sysid

5. Some workarounds (reboot sequence) !!!Once reboot SUP, need to do following step [Router:~]$ mkdir /tmp/rp/chasfs/cc/7 # Card (cc) inserted in slot 7

!!!then reboot LC

6. Debug solution !!! btdecode /tmp/cc/7/trace/

                  /tmp/rp/
                  /tmp/fp/
                  /harddisk/tracelogs/

If build vmac or other processes individually, logs can't be decoded, need add log code using fprintf to log into your own files. !!! decode /harddisk/core/

7. Bring Virtual CM Online Make sure all listed files available:

[RP_0:/harddisk]$ ls basic11.cm <<< CM configuration file for All-in-One xbr_multi_lc.cfg <<< CMTS startup configuration

Check running config

* interface Te0/0/0 * cable rpd 1 * Downstream controller & channel parameters. * Upstream controller & channel parameters. * MD interface, Bundle interface, IC interface. * DHCP & CM config file (all-in-one is used to bring CM online). * WB interface, Fiber Node.


Check whether MD interface, WB interface, Bundle interface are in UP status: Router#sh ip int b Interface IP-Address OK? Method Status Protocol Cable0/0/0 Bundle1 YES unset up up GigabitEthernet2 unassigned YES NVRAM up up GigabitEthernet3 unassigned YES NVRAM administratively down down Te0/0/0 3.35.1.1 YES NVRAM up up Do0/0/0:0 Bundle1 YES unset up up Wideband-Cable0/0/0:0 Bundle1 YES unset up up Do0/0/0:1 Bundle1 YES unset up up Do0/0/0:2 Bundle1 YES unset up up Do0/0/0:3 Bundle1 YES unset up up

Check LC vmac_config_file mac and ip [SIP_7:~]$ cat /harddisk/vmac_config_file ./vmac -nhop_mac 00:50:56:91:4C:52 -rphy_ip 3.30.1.4 -vmac_mac 00:50:56:91:2b:9d -vmac_ip 3.30.1.5 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0

单独打包LC cd /nobackup/zhliu2/vbr_vm/binos && IMAGE="universalk9" MCP_BUILD_NO_LOG=1 MCP_BUILD_LOG_TIME=1 /auto/binos-tools/bin/gmk -jmakej PLATFORM=xbr IMAGE_VARIANT=clc release-binos 单独打包SUP cd /nobackup/zhliu2/vbr_vm/binos && IMAGE="universalk9" MCP_BUILD_NO_LOG=1 MCP_BUILD_LOG_TIME=1 /auto/binos-tools/bin/gmk -jmakej PLATFORM=xbr release-binos

ptp

vcmts config 1.ptp config [RP_0:~]$ cat /harddisk/rommon_vars SR_INIT_SHELL=aux_do_system_shell IP_ADDRESS=3.33.11.23 IP_SUBNET_MASK=255.255.0.0 DEFAULT_GATEWAY=3.33.0.1 REAL_MGMTE_DEV= SR_MGMT_VRF=0 RPHY_IF=Gi2 CABLE_PTP_IF=eth3 CABLE_PTP_IP=3.30.222.2 CABLE_PTP_MASK=255.255.0.0 CABLE_PTP_SERVER=192.168.222.222 refer:http://cmtswiki.cisco.com:8080/display/cmtspub/PTP+setup+in+vCMTS+VM+and+server [Router:~]$ cat /harddisk/ptpd2.conf ptpengine:interface=eth3 ptpengine:domain=0 ptpengine:preset=slaveonly ptpengine:ip_mode=unicast ptpengine:unicast_negotiation=y ptpengine:unicast_destinations=192.168.222.222 ptpengine:log_delayreq_interval=0 global:dump_packets=N global:log_status=y global:status_file=/bootflash/ptpd2.status global:log_file=/bootflash/ptpd2.log global:log_file_max_size=256 ptpengine:vbr_ignore_utc_offset=y ptpengine:utc_offset=0

2.vmac config [RP_0:~]$ cat /harddisk/vmac_config_file ./vmac -nhop_mac 00:04:9F:00:09:13 -rphy_ip 3.35.1.4 -vmac_mac 00:50:56:a4:13:15 -vmac_ip 3.35.1.1 -rphy_if Gi2 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 refer:http://cmtswiki.cisco.com:8080/display/cmtspub/vmac+related+setup 3. cable rpd 1 identifier 0004.9f00.0913 core-interface Gi2

 principal
 rpd-ds 0 downstream-cable 0/0/0 profile 3
 rpd-us 0 upstream-cable 0/0/0 profile 3

r-dti 1 rpd-event profile 0 ! ptp r-dti 1 ptp-domain 0 clock-port 1

  ethernet 1
  clock source ip 192.168.222.222 gateway ip 3.35.222.222               /*   ip address of PTP server  and ip address of RPD gateway (vhh0 in my case uses local ip address of RPD)

! 0050.5691.2540


rpd config 1.ptp config root@00049F000913:/# cat /bootflash/ptp.conf [PORT_ID] 0 [MASTER_IP] 192.168.222.222 [GATEWAY_IP] 3.35.222.222

R-PHY#show ptp clock 0 state apr state  : PHASE_LOCK clock state  : SUB_SYNC current tod  : 1479943078 Wed Nov 23 23:17:58 2016 active stream  : 1 ==stream 1  :

 port id       :                0
 master ip     :  192.168.222.222
 stream state  :       PHASE_LOCK
 Master offset :               44
 Path    delay :            -1671
 Forward delay :            -1627
 Reverse delay :            -1695
 Freq offset   :          -455301
 1Hz  offset   :               14

refer: http://cmtswiki.cisco.com:8080/display/cmtspub/PTP+config+in+RPD


ssh -l root 3.35.1.4 00:04:9F:00:09:13/3.35.1.4 en shell upgradeuboot.sh tftp -r /tftpboot/RPD_ECE3-20161109_070001.itb -g 20.1.0.33 tftp -r /tftpboot/RPD_seres_rpd_20170112_010001.itb -g 3.35.11.1 tftp a0000000 3.33.11.1:/tftpboot/RPD_seres_rpd_20160912_010001.itb && bootm tftp a0000000 3.33.11.1:/tftpboot/RPD_ECE3-20161110_070002.itb && bootm ifconfig eth2 3.33.11.5 netmask 255.255.0.0 tftp -r tftpboot/RPD_ECE3-20161110_070002.itb -g 3.33.11.1

Check uboot version root@RPD00049f300255:/# strings -n 30 /dev/mtd5 | grep ^U-Boot U-Boot 2016.01 (Sep 23 2016 - 03:19:57 +0800) Check CPLD version root@00049F300249:/# rpdcpld -g 0 address = 0x0, value = 0x235 ns-cBR-05#sho running-config | sec ptp ptp clock ordinary domain 0

servo tracking-type R-DTI
clock-port slave-from-903 slave
 delay-req interval -4
 sync interval -5
 sync one-step
 transport ipv4 unicast interface Lo1588 negotiation
 clock source 192.168.222.222

ptp r-dti 20

ptp-domain 0
clock-port 22
  ethernet 1
  clock source ip 192.168.222.222 gateway ip 93.2.40.93

ns-cBR-05#sho ru ns-cBR-05#sho running-config | sec prd ns-cBR-05# ns-cBR-05#sho running-config | sec rpd

 virtual-arpd 1
   source-id 1
   nc 3.3.3.3 udp-port 100
   ip 32.32.32.32 255.255.255.0

! cable rpd 1

identifier 0004.9f00.0919
no rpd-ds 0 mute
no rpd-ds 0 shutdown
core-interface Te1/1/0
 principal
 rpd-ds 0 downstream-cable 1/0/0 profile 128
 rpd-us 0 upstream-cable 1/0/0 profile 4
r-dti 20
rpd-event profile 0

ptp clock ordinary domain 0

servo tracking-type R-DTI
clock-port slave-from-903 slave
 delay-req interval -4
 sync interval -5
 sync one-step
 transport ipv4 unicast interface Lo1588 negotiation
 clock source 33.33.158.158

ptp r-dti 1

ptp-domain 0
clock-port 22
  ethernet 1
  clock source ip 33.33.158.158 gateway ip 60.10.10.20
clock-port 23
  ethernet 1
  transport ipv6
  clock source ipv6 2001:10:74:54::1 gateway ipv6 2001:60:10:13::27

multi rpd

dpic_xge_ipaddr_change---------------ubrcce_cli_xfer_send_show_cmd_with_params_cdm( NULL, slot, 0, TRUE, 0, UBR_CLI_XFER_CDM_APPL_ID_DPIC_XGE_CFG, &appl_param) ubrcce_dsjib_cli_xfer_dpic_mtu_cfg_handler vbr_ds_jib_encap_ch_cfg

dsjib_vmac_ds_ch_encap_set_and_send

depi_ch_encap_cfg

problem:

1.session_id is same in different rpd, session_id 怎么分配的


1. RfChannelIndex 2. vmac 只建立了chan------mac/ip vbr_ds_jib_encap_ch_cfg(chan, depi_encap->sess_id[chan],

                                  depi_encap->add_vlan,
                                  depi_encap->vlan_id,
                                  &depi_encap->mac_da[0],
                                  depi_encap->ipv4_da);

3. abcdefghijklmn:error rsp from vmac, type:13, status; 0, index:8 4. DMP_TDL_RT_RX:abcdefghijklmnopabcdefghij: Write Sync Cfg FAILED 5. ubr_map_builder_scqam_serve_periodic_ucd failed to send UCD on chan 0:0 6. 删除rpd以后vmac的配置没有变


dsjib 在查找tunnel_id是根据什么索引的----------jib_chan_id(dcm管理)

Desktop


encap_ip_sa_cfg reboot sup lc reboot

lc copy image

Boot image

boot harddisk:cbrsup-universalk9.BLD_V166_THROTTLE_LATEST_20170518_032244_2.SSA.bin

CRDC-NG-E09#dir harddisk:d31_sreg_nightly.cfg

arp packet

  0000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0010  01 01 00 00 00 0e 00 3c 00 5c 00 00 20 0a 00 00  .......<.\.. ...
 0020  00 4c 85 02 00 00 04 00 00 00 00 00 00 00 00 00  .L..............
 0030  ff ff ff ff ff ff 00 1e bd 87 d0 00 08 06 00 01  ................
 0040  08 00 06 04 00 01 00 1e bd 87 d0 00 03 23 01 01  .............#..
 0050  00 00 00 00 00 00 03 23 01 07 00 00 00 00 00 00  .......#........
 0060  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0070  00 00 00 00 00 00 00 00 00 00 00 00              ............

arp request ff ff ff ff ff ff 00 50 56 a4 05 5c 08 06 00 01 08 00 06 04 00 01 00 50 56 a4 05 5c 03 23 01 01 00 00 00 00 00 00 03 23 01 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 80 ed 8a 79 6a 7f 00 00 c0 ec 8a 79 6a 7f 00 00 4c f4 a3 ea 6a 7f 00 00 00 00 00 00 scp /harddisk/core/RP_0_qfp-ucode-vbr_30932_20170216-175022-Universal.core.gz yuanliu2@3.33.11.1:~/ en conf t no boo sys boo sys bootflash:xbr-universalk9.2017-04-01_03.15_yuanliu2.bin end wr

0000 01 01 00 00 00 0e 00 3c 00 5c 00 00 20 0a 00 00 .......<.\.. ...

 0010  00 4c 85 02 00 00 04 00 00 00 00 00 00 00 00 00  .L..............
 0020  ff ff ff ff ff ff 00 50 56 a4 05 5c 08 06 00 01  .......PV..\....
 0030  08 00 06 04 00 01 00 50 56 a4 05 5c 03 23 01 01  .......PV..\.#..
 0040  00 00 00 00 00 00 03 23 01 07 00 00 00 00 00 00  .......#........
 0050  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0060  00 00 00 00 00 00 00 00 00 00 00 00              ............


arp reply 00 50 56 a4 05 5c 00 50 56 91 25 40 08 06 00 01 08 00 06 04 00 02 00 50 56 91 25 40 03 23 01 07 00 50 56 a4 05 5c 03 23 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 0000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0010  00 4c 15 68 00 00 00 00 00 00 00 00 00 01 00 00  .L.h............
 0020  00 50 56 a4 05 5c 00 50 56 91 25 40 08 06 00 01  .PV..\.PV.%@....
 0030  08 00 06 04 00 02 00 50 56 91 25 40 03 23 01 07  .......PV.%@.#..
 0040  00 50 56 a4 05 5c 03 23 01 01 00 00 00 00 00 00  .PV..\.#........
 0050  00 00 00 00 00 00 00 00 00 00 00 00              ............

ping

          00 00 6c b7 00 00 00 1e bd 80 f2 19 08 00 45 00  ..l...........E.
 0040  00 64 00 6b 00 00 ff 01 f3 28 64 01 00 01 64 01  .d.k.....(d...d.
 0050  00 02 08 00 47 f2 00 29 00 04 00 00 00 00 00 15  ....G..)........
 0060  36 16 ab cd ab cd ab cd ab cd ab cd ab cd ab cd  6...............
 0070  ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd  ................
 0080  ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd  ................
 0090  ab cd ab cd ab cd ab cd ab cd ab cd ab cd ab cd  ................
 00a0  ab cd 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00b0  00 00

ds_jib_bg_ch_cfg dhcp offer c0/0/0

 0000  01 12 00 00 00 95 f4 10 74 10 00 02 00 00 00 00  ........t.......
 0010  01 64 00 00 00 5e 04 00 00 00 00 00 00 00 00 00  .d...^..........
 0020  ff ff ff ff ff ff 00 1e bd 80 f2 19 08 00 45 00  ..............E.
 0030  01 46 00 50 00 00 ff 11 56 55 64 01 00 01 ff ff  .F.P....VUd.....
 0040  ff ff 00 43 00 44 01 32 fb ed 02 01 06 00 00 00  ...C.D.2........
 0050  40 25 00 00 80 00 00 00 00 00 64 01 00 02 64 01  @%........d...d.
 0060  00 01 00 00 00 00 00 00 25 40 00 00 00 00 00 00  ........%@......
 0070  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00a0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00b0  00 00 00 00 00 00 62 61 73 69 63 31 31 2e 63 6d  ......basic11.cm
 00c0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0100  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0110  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0120  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0130  00 00 00 00 00 00 63 82 53 63 35 01 02 36 04 64  ......c.Sc5..6.d
 0140  01 00 01 33 04 00 01 4e 86 3a 04 00 00 a7 43 3b  ...3...N.:....C;
 0150  04 00 01 24 b0 01 04 ff ff 00 00 04 04 64 01 00  ...$.........d..
 0160  01 02 04 ff ff 8f 80 07 04 64 01 00 01 03 04 64  .........d.....d
 0170  01 00 01 ff 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0180  00 00 00 00                                      ....


c0/0/1

 0000  01 12 00 00 00 95 00 00 00 00 00 08 00 00 00 00  ................
 0010  01 64 00 00 00 60 98 00 00 00 00 00 00 00 00 00  .d...`..........
 0020  ff ff ff ff ff ff 00 1e bd 80 f2 19 08 00 45 00  ..............E.
 0030  01 46 08 fa 00 00 ff 11 4d ab 64 01 00 01 ff ff  .F......M.d.....
 0040  ff ff 00 43 00 44 01 32 1b f3 02 01 06 00 0a 00  ...C.D.2........
 0050  b7 6c 00 00 80 00 00 00 00 00 64 01 00 2d 64 01  .l........d..-d.
 0060  00 01 00 00 00 00 00 00 6c b7 00 0a 00 00 00 00  ........l.......
 0070  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0080  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00a0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00b0  00 00 00 00 00 00 62 61 73 69 63 31 31 2e 63 6d  ......basic11.cm
 00c0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00d0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00e0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 00f0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0100  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0110  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0120  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0130  00 00 00 00 00 00 63 82 53 63 35 01 02 36 04 64  ......c.Sc5..6.d
 0140  01 00 01 33 04 00 01 51 80 3a 04 00 00 a8 c0 3b  ...3...Q.:.....;
 0150  04 00 01 27 50 01 04 ff ff 00 00 04 04 64 01 00  ...'P........d..
 0160  01 02 04 ff ff 8f 80 07 04 64 01 00 01 03 04 64  .........d.....d
 0170  01 00 01 ff 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0180  00 00 00 00                                      ....


0 ./vmac -nhop_mac 00:50:56:91:25:40 -rphy_ip 3.35.1.7 -vmac_mac 00:50:56:a4:05:5c -vmac_ip 3.35.1.1 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 1 ./vmac -nhop_mac 00:50:56:91:6c:b7 -rphy_ip 3.35.2.8 -vmac_mac 00:50:56:a4:19:df -vmac_ip 3.35.2.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 2 ./vmac -nhop_mac 00:50:56:91:31:df -rphy_ip 3.35.3.8 -vmac_mac 00:50:56:a4:3c:bb -vmac_ip 3.35.3.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 3 ./vmac -nhop_mac 00:50:56:91:76:ac -rphy_ip 3.35.4.8 -vmac_mac 00:50:56:a4:6b:ff -vmac_ip 3.35.4.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 6 ./vmac -nhop_mac 00:50:56:91:77:81 -rphy_ip 3.35.7.8 -vmac_mac 00:50:56:a4:09:bb -vmac_ip 3.35.7.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 7 ./vmac -nhop_mac 00:50:56:91:0f:5e -rphy_ip 3.35.8.8 -vmac_mac 00:50:56:a4:4d:a1 -vmac_ip 3.35.8.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 8 ./vmac -nhop_mac 00:50:56:91:63:00 -rphy_ip 3.35.9.8 -vmac_mac 00:50:56:a4:45:91 -vmac_ip 3.35.9.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 9 ./vmac -nhop_mac 00:50:56:a4:15:28 -rphy_ip 3.35.0.8 -vmac_mac 00:50:56:a4:55:f6 -vmac_ip 3.35.0.2 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0

SR_INIT_SHELL=aux_do_system_shell IP_ADDRESS=3.33.11.25 IP_SUBNET_MASK=255.255.0.0 DEFAULT_GATEWAY=3.33.0.1 REAL_MGMTE_DEV= SR_MGMT_VRF=0

./vmac -nhop_mac 00:50:56:91:25:40 -rphy_ip 3.35.1.7 -vmac_mac 00:50:56:a4:1f:82 -vmac_ip 3.35.1.1 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 ./vmac -nhop_mac 00:00:00:00:00:00 -rphy_ip 0.0.0.0 -vmac_mac 00:00:00:00:00:00 -vmac_ip 0.0.0.0 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0

no rpd-ds 0 downstream-cable 0/0/7 profile 3 no rpd-us 0 upstream-cable 0/0/7 profile 3 rpd-ds 0 downstream-cable 0/0/0 profile 3 rpd-us 0 upstream-cable 0/0/0 profile 3


service log backtrace interface Te1/0/0

mac-address 0050.56a4.19df
ip address 3.35.2.2 255.255.255.0

cable rpd 2

identifier 0050.5691.6cb7
no rpd-ds 0 mute
no rpd-ds 0 shutdown
core-interface Te0/0/0
 principal
 rpd-ds 0 downstream-cable 1/0/0 profile 3
 rpd-us 0 upstream-cable 1/0/0 profile 3
rpd-event profile 0

!

binos/build/manifest/CGE7/vxe/vbr/

Not found core info for rpd 0050.5691.76ac local_addr 3.35.4.2

IPSEC_OK--------te0/0/0 no shutdown

reboot

 0000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0010  00 50 56 91 25 40 00 50 56 a4 05 5c 08 06 00 01  .PV.%@.PV..\....
 0020  08 00 06 04 00 02 00 50 56 a4 05 5c 03 23 01 01  .......PV..\.#..
 0030  00 50 56 91 25 40 03 23 01 07 00 00 00 00 00 00  .PV.%@.#........
 0040  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
 0050  00 00 00 00 00 00 00 00 00 00 00 00              ............

MAC Address IP Address I/F MAC Prim RxPwr Timing Num I

                                            State             Sid   (dBmv) Offset CPE P

0000.2540.0001 100.1.0.3 C0/0/1/U0 online 17 0.00 2083 1 N 0000.2540.0000 100.1.0.2 C0/0/1/U0 online 18 0.00 2083 1 N 0000.2540.0003 100.1.0.5 C0/0/1/U0 online 19 0.00 2083 1 N 0000.2540.0002 100.1.0.4 C0/0/1/U0 online 20 0.00 2083 1 N

Router#scm

                                                                                      D

MAC Address IP Address I/F MAC Prim RxPwr Timing Num I

                                            State             Sid   (dBmv) Offset CPE P

0000.2540.0000 100.1.0.2 C0/0/2/U0 w-online 19 0.00 2083 0 N 0000.2540.0001 100.1.0.3 C0/0/2/U0 w-online 20 0.00 2083 0 N 0000.2540.0003 100.1.0.5 C0/0/2/U0 w-online 21 0.00 2083 0 N 0000.2540.0002 100.1.0.4 C0/0/2/U0 w-online 22 0.00 2083 0 N 0000.2540.0007 100.1.0.9 C0/0/2/U0 w-online 23 0.00 2083 0 N 0000.2540.0006 100.1.0.8 C0/0/2/U0 w-online 24 0.00 2083 0 N 0000.2540.0005 100.1.0.7 C0/0/2/U0 w-online 25 0.00 2083 0 N 0000.2540.0004 100.1.0.6 C0/0/2/U0 w-online 26 0.00 2083 0 N 0000.2540.0008 100.1.0.17 C0/0/2/U0 w-online 27 0.00 2083 0 N 0000.2540.0009 100.1.0.16 C0/0/2/U0 w-online 28 0.00 2083 0 N 0000.2540.000f 100.1.0.18 C0/0/2/U0 w-online 29 0.00 2083 0 N 0000.2540.000e 100.1.0.19 C0/0/2/U0 w-online 30 0.00 2083 0 N 0000.2540.000b 100.1.0.20 C0/0/2/U0 w-online 31 0.00 2083 0 N 0000.2540.000a 100.1.0.21 C0/0/2/U0 w-online 32 0.00 2083 0 N 0000.2540.000d 100.1.0.14 C0/0/2/U0 w-online 33 0.00 2083 0 N 0000.2540.000c 100.1.0.15 C0/0/2/U0 w-online 34 0.00 2083 0 N


Router#scm

                                                                                      D

MAC Address IP Address I/F MAC Prim RxPwr Timing Num I

                                            State             Sid   (dBmv) Offset CPE P

0000.2540.0001 100.1.0.3 C0/0/7/U0 w-online 17 0.00 2083 1 N 0000.2540.0000 100.1.0.2 C0/0/7/U0 w-online 18 0.00 2083 1 N 0000.2540.0007 100.1.0.9 C0/0/7/U0 w-online 19 0.00 2083 1 N 0000.2540.0006 100.1.0.8 C0/0/7/U0 w-online 20 0.00 2083 1 N 0000.2540.0002 100.1.0.4 C0/0/7/U0 w-online 21 0.00 2083 1 N 0000.2540.0003 100.1.0.5 C0/0/7/U0 w-online 22 0.00 2083 1 N 0000.2540.0005 100.1.0.7 C0/0/7/U0 w-online 23 0.00 2083 1 N 0000.2540.0004 100.1.0.6 C0/0/7/U0 w-online 24 0.00 2083 1 N 0000.2540.0009 100.1.0.16 C0/0/7/U0 w-online 25 0.00 2083 1 N 0000.2540.0008 100.1.0.17 C0/0/7/U0 w-online 26 0.00 2083 1 N 0000.2540.000f 100.1.0.18 C0/0/7/U0 w-online 27 0.00 2083 1 N 0000.2540.000a 100.1.0.21 C0/0/7/U0 w-online 28 0.00 2083 1 N 0000.2540.000b 100.1.0.20 C0/0/7/U0 w-online 29 0.00 2083 1 N 0000.2540.000d 100.1.0.14 C0/0/7/U0 w-online 30 0.00 2083 1 N 0000.2540.000c 100.1.0.15 C0/0/7/U0 w-online 31 0.00 2083 1 N 0000.2540.000e 100.1.0.19 C0/0/7/U0 w-online 32 0.00 2083 1 N

UCS info

The 4 pcs UCS have installed, 2 pcs on rack U09 and 2 pcs on rack P03. Please see below for details.

GW: 10.75.12.1 Vlan: 53 Login: admin/cisco123! root/cisco123!

Rack IP address P03 10.75.12.3/25 P03 10.75.12.5/25 U09 10.75.12.7/25

         10.75.12.10-13/28 vlan 53 gateway 10.75.12.1
         route add default gw  10.75.12.1
         netstat -rn    看下路由
         DNS:64.104.123.144/cisco.com
         proxy:proxy.esl.cisco.com

U09 10.75.12.9/25

10.79.41.74/administrator@vsphere.local /Cisco123! /home/jianyzha/workspace/OpenRPD_deploy/vvm/www/vdep/vmdk telnet 172.22.75.178 10001 telnet 172.22.75.178 10002 creg vbr


RPD 1.console : telnet sh-cable-con-16 2010 2.eth : peicheng switch 43 第一次下载版本 3.光口:

30 ------------- node 41 -------------18( peicliu-ucs-sw) U07-Switch(sh-cable-con-15 2096) peicliu-ucs-sw(sh-cable-con-15 2086) F04SW: Telnet 80.4.1.21 then telnet 30.1.1.30 admin/lab e1/41 connect to ucs switch e1/30 can be used for your team’s node. ns-F04-SW# sho running-config interface ethernet 1/41 !Command: show running-config interface Ethernet1/41 !Time: Thu Jan 5 10:44:48 2017 version 6.0(2)U3(7) interface Ethernet1/41

 description Connect-ECS-VRPD
 switchport
 switchport mode trunk
 switchport trunk allowed vlan 511
 speed 1000

BRs Witten Xia From: Witten <wixia@cisco.com> Date: Thursday, 5 January, 2017 9:48 am To: "Yuan Liu (yuanliu2)" <yuanliu2@cisco.com> Cc: "Jun Zhang (jzhang2)" <jzhang2@cisco.com> Subject: [DOC]here are the documentation about bring up the node and get it online. Hi Liu Yuan, here are the documentation about bring up the node and get it online. Please check the wiki and attached file. http://cmtswiki.cisco.com:8080/display/battlestar/How+to+boot+up+Node For ppt, please just check slide 7, slid 8-10 maybe are too old and commands are changed. BRs Witten Xia

us config path

ios-d ------->cdman------>rphy-man----GCP---->node

gcp_send_us_scqam_cfg | | rphy_gcp_fsm_send_us_scqam_cfg | | ubripc_send_cdman_2_rphyman_msg | | ubr_ucd_send_to_rphy | | ubr_ump_mt_handle_msg_event | | ubr_ump_send_rphy_ucd_msg_to_mt | | ubr_map_builder_scqam_send_ucd_msg

bttail /tmp/fp/trace/cpp_cp_F0

ifconfig eth0 3.3.3.111 netmask 255.0.0.0 scp /harddisk/core/RP_0_cpp_cp_svr_908_20170309-214159-Universal.core.gz jianyzha@3.3.3.7:~/


10.124.8.75 xbr2 10.124.8.30 jianyzha :lab123 /home/jianyzha/xbr SR_INIT_SHELL=aux_do_system_shell IP_ADDRESS=3.3.3.11 IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=3.3.3.7 REAL_MGMTE_DEV= SR_MGMT_VRF=0


./vmac -nhop_mac 00:00:14:af:00:00 -rphy_ip 3.13.0.3 -vmac_mac 00:0c:29:fc:31:19 -vmac_ip 3.13.0.1 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0 ./vmac -nhop_mac 00:00:14:af:00:00 -rphy_ip 3.13.0.3 -vmac_mac 00:0c:29:fc:31:19 -vmac_ip 3.13.0.1 -rphy_if eth3 --us_mac_cpus 1 --ds_mac_cpus 2 --debug 0