“CMTS”的版本间的差异

来自qingwei personal wiki
跳转至: 导航搜索
第201行: 第201行:
 
   transport ipv6
 
   transport ipv6
 
   clock source ipv6 2001:10:74:54::1 gateway ipv6 2001:60:10:13::27
 
   clock source ipv6 2001:10:74:54::1 gateway ipv6 2001:60:10:13::27
 +
== Boot image ==
 +
boot harddisk:cbrsup-universalk9.BLD_V166_THROTTLE_LATEST_20170518_032244_2.SSA.bin
 +
 +
CRDC-NG-E09#dir harddisk:d31_sreg_nightly.cfg

2018年1月15日 (一) 07:34的版本

DEBUG

RPD can not online

sho cable depi multicast pool sho cable rpd log reverse

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

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

Boot image

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

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