Casa To Cisco Command Reference: For Commands Contained in The C100G Lab
Casa To Cisco Command Reference: For Commands Contained in The C100G Lab
Casa To Cisco Command Reference: For Commands Contained in The C100G Lab
May 2016
© 2016 Casa Systems, Inc.
All rights reserved. Licensed software products are owned by Casa Systems or its suppliers and are protected by United States
copyright laws and international treaty provisions.
The information regarding the product in this manual is subject to change without notice. All statements, information, and
recommendations in this manual are believed to be accurate but are presented without warranty of any kind, express of implied.
Users must take full responsibility for their application of the product.
In no event shall Casa or its suppliers be liable for any indirect, special, consequential, or incidental damages, including, without
limitation, lost profits or loss or damage to data arising out of the use or inability to use this manual, even if Casa or its suppliers
have been advised of the possibility of such damages.
Lab Guide CLI Conversion
Table; Casa to Cisco
1
Casa Command Cisco Command
apply a service patch to an system patch apply request platform software package expand
image classpatch_p31ba.tgz file bootflash/classpatch_p31ba.tgz
request platform software package install rp
<rp-slot-number> file bootflash:
classpatch_p31ba.tgz
Enable LACP
configure trunking interface trunk <trunk #> The cBR pulls a configuration file from a TFTP
<interface> mode active server. Assign an IP address to your network
<interface> mode active connection:
no shutdown enable
configure terminal
interface TenGigabitEthernet4/01/0
ip address <ip-address><subnet-mask>
load-interval <seconds>
no shutdown
end
2
Casa Command Cisco Command
Configure a Loopback interface loopback <#> {interface loopback <#>}
Interface ip address <loopback ip address> {ip address <loopback ip address>/32}
255.255.255.255
Configure OSPF v2
create an OSPF routing router ospf 1 {router ospf 1}
instance passive-interface ip-bundle 1
network <network ip>/30 area 0 {network <network ip. 0.0.0.3 area 0}
network <loopback ip address>/32 network <loopback ip address> 0.0.0.0 area
area 0 0}
network <CM network>/24 area 0 {network <CM network> 0.0.0.255 area 0}
network <CPE subnet>/24 area 0 {network <CPE subnet> 0.0.0.255 area 0}
area 0 authentication message- {area 0 authentication message-digest}
digest
log-adjacency-changes {log-adjacency-changes}
3
Casa commands Cisco commands
Configure OSPFv3
configure global OSPv3 {ipv6 unicast-routing}
parameters {ipv6 cef}
router ospf6 1 {ipv6 router ospf 1}
router-id <router id> {router-id <router id>}
redistribute connected {ipv6 rip EXT enable}
end
end
clear ipv6 ospf process {clear ipv6 ospf traffic}
yes
Verify BFD
verify BFD show bfd session {show ip ospf}
show bfd session detail
Verify OSPFv4
verify OSPFv4 show ip ospf {show ip ospf}
show ip ospf interface vlan <vlan {show ip ospf interface}
id>
show ip ospf neighbor detail {show ip ospf neighbor detail}
show ip ospf database {show ip ospf database}
Verify OSPFv3
verify OSPFv3 show ipv6 ospf {show ipv6 ospf}
show ipv6 ospf interface vlan <vlan {show ipv6 ospf interface}
id>
show ipv6 ospf neighbor detail {show ipv6 ospf neighbor detail}
show ipv6 ospf neighbor {show ipv6 ospf neighbor}
show ipv6 route ospf {show ipv6 route ospf}
show ipv6 ospf database {show ipv6 ospf database}
4
Casa commands Cisco commands
create a Route Map route-map connect_rip_to_ospf {route-map connect_rip_to_ospf permit 10}
permit 10
match ip address prefix-list {match ip address prefix-list redistribute_rip}
redistribute_rip
redistribute the RIP route router ospf 1
redistribute connected route-map {redistributed connected route-map
connect_rip_to_ospf connect_rip_to_ospf}
show this
check your work show ip ospf database {show ip ospf database}
show ip route {show ip route}
show ip ospf {show ip ospf}
show ip ospf border-routers {show ip ospf border-routers}
Casa Commands Cisco Commands
IBGP/LDP/MPLS
Configuration
create a VRF table vrf definition <vrf name> vrf definition <vrf name>
definition rd 1:1 rd 1:1
address-family ipv4
5
Casa commands Cisco commands
enable MPLS and LDP on interface vlan <vlan id> interface gigabitethernet<slot/subslot/port>
the trunk interface mpls ip mpls ip
mpls ldp router-id loopback <interface #>
enable-ldp ipv4 mpls label protocol ldp
create the LDP peering to router ldp
your neighbor router router-id <your loopback address>
transport-address ipv4 <your
loopback address>
exit
Verify IBGP/LDP/MPLS
verify BGP/MPLS show ip bgp neighbor
show ip route vrf casalabs show ip route vrf casalabs
show mpls ldp neighbor show mpls forwarding-table
show ip vrf
show
Configuring EoMPLS
establish LDP targeted router ldp {mpls ip}
peers {mpls label protocol ldp}
{interface tunnel#}
targeted-peer ipv4 <peer device IP> {tunnel destination <ip address>}
{mpls ip}
show ldp targeted-peers
exit {exit}
create EoMPLS instances cable l2-vpn-service xconnect nsi mpls
to each targeted peer
mpls vpws <vpws name> cable l2vpn <mac-address> [customer name]
service instance <id> ethernet
peer <peer ip address> <virtual xconnect <peer ip address> <vc-id>
circuit ID> encapsulation mpls
exit end
show mpls vpws xconnect
assign cable modem to show cable modem
each VPWS cable modem <cm MAC address> cable l2vpn <mac-address> [customer name]
mpls vpnid <vpws name> service instance <id> ethernet
clear cable modem reset
show mpls vpws xconnect show cable l2-vpn xconnect
show xconnect
show mpls l2transport vc
6
Casa commands Cisco commands
Configuring VPLS
establish LDP targeted
peers
router ldp
show this
exit
7
Casa commands Cisco commands
add a BPI-enabled cable cable modem <cm MAC address>
modem to the VPLS mpls vpnid casalabs_vpls
SysAdmin Configurations
enable “Save system reboot confirm
Configuration” message
configure SSH keys ssh-server gen-hostkey ?
set system time show timezone list
system timezone <string> {clock timezone <timezone> <GMT
offset>}
system clock <MMDDhhmmYYYY> {clock set <HH:mm:ss month-abbreviation
DD YYYY}
show clock {show clock}
configure NTP ntp server 10.4.1.3 ntp server vrf Mgmt-intf 10.4.1.3
8
Casa commands Cisco commands
create CLI aliases alias ccm “clear cable modem” {alias exec ccm clear cable modem reset}
alias cpu “show cpu-process | esc
00:00:00
alias du “show docsis downstream
channel utilization”
alias scgv “show service group {alias exec scgv show cable fiber-node
verbose” <fiber node id> mapping}
alias scm “show cable modem” {alias exec scm show cable modem}
alias scmv “show cable modem {alias exec scm show cable modem
verbose” verbose}
alias uptime “show cpuinfo all | i
up”
alias crs “copy running-config {alias exec crs copy running-config
startup-config” startup-config
{show alias}
configure local logging show logging all {show logging summary}
logging system informational {logging synchronous level 1 all}
logging system errors {logging synchronous level 3 all}
configure Syslog logging host 10.4.1.3 logging host 10.4.1.3 vrf Mgmt-intf
logging syslog warning {snmp-server enable traps syslog}
{logging history warning 4}
show syslog
logging source-interface loopback snmp-server source-interface traps
gigabitEthernet 0
configure SNMP snmp default
snmp community readmibs ro {snmp-server community readmibs ro}
snmp community letmewrite rw {snmp-server community letmewrite rw}
device contact admin@casa- {snmp-server contact admin@casa-
systems.net systems.net}
device location training_lab {snmp-server location training_lab}
9
Casa commands Cisco commands
configure SNMPv2 {snmp-server enable traps}
snmp tgt-addr class-srv2 {snmp-server host class-srv2}
snmpUDPDomain 10.4.1.4 500 1
TrapV2cSNMPv2cTrapsTagList
TrapV2cSNMPv2cTraps non-
volatile 0.0.0.0 500
10
Casa commands Cisco commands
configure PIM traps ip pim trap invalid-pim-message {snmp-server enable traps pim}
enable
ip pim trap neighbor-change enable
ip pim trap rp-mapping-change
enable
11
Casa commands Cisco commands
Create a Global Access
Class
create an ACL ip access-list restrict-ssh {ip access-list extended restrict_ssh
remark “allow ssh only to the permit ssh any <your loopback IP
loopback address” address> 0.0.0.0
permit ssh any <your loopback IP deny ssh any any}
address> 255.255.255.255
deny ssh any any
exit
12
Casa commands Cisco commands
RFI Configurations
configure Downstream cable downstream qam-profile 1
Transmitters (Annex B) annex B
modulation 256
interleaver-depth I32-J4
symbol-rate 5361
spectrum-inversion off
description default-annex-b-256-qam
13
Casa commands Cisco commands
configure Upstream show interface upstream brief
Receivers interface upstream 13/0.0 controller upstream-cable 13/0/0
frequency 20000000 us-channel 0 frequency 20000000
no shutdown no us-channel 0 shutdown
no logical-channel 0 shut
14
power 550 base-channel-power 55
freq-profile 1
rf-chan 0 95
type DOCSIS
channel 0 frequency 650000000 8 frequency 650000000
rf-output NORMAL
power-adjust 0
docsis-channel-id 2
qam-profile 2
channel 0 description FNA
no channel 0 shutdown 8
15
Casa commands Cisco commands
configure DOCSIS MAC interface docsis-mac 1 interface cable 0/0/0
interface for Annex B downstream 1 interface qam 0/0/0 interface Integrated-Cable 0/0/0:0
downstream 2 interface qam 0/0/1 interface Integrated-Cable 0/0/0:1
downstream 3 interface qam 0/0/2 interface Integrated-Cable 0/0/0:2
downstream 4 interface qam 0/0/3 interface Integrated-Cable 0/0/0:3
downstream 5 interface qam 0/0/4 interface Integrated-Cable 0/0/0:4
downstream 6 interface qam 0/0/5 interface Integrated-Cable 0/0/0:5
downstream 7 interface qam 0/0/6 interface Integrated-Cable 0/0/0:6
downstream 8 interface qam 0/0/7 interface Integrated-Cable 0/0/0:7
downstream Integrated-Cable 0/0/0 rf-
channels 0-7
16
Casa commands Cisco commands
configure DOCSIS MAC interface docsis-mac 2 interface cable 0/0/1
interface for Annex A downstream 1 interface qam 0/1/0 interface Integrated-Cable 0/0/1:0
downstream 2 interface qam 0/1/1 interface Integrated-Cable 0/0/1:1
downstream 3 interface qam 0/1/2 interface Integrated-Cable 0/0/1:2
downstream 4 interface qam 0/1/3 interface Integrated-Cable 0/0/1:3
downstream 5 interface qam 0/1/4 interface Integrated-Cable 0/0/1:4
downstream 6 interface qam 0/1/5 interface Integrated-Cable 0/0/1:5
downstream 7 interface qam 0/1/6 interface Integrated-Cable 0/0/1:6
downstream 8 interface qam 0/1/7 interface Integrated-Cable 0/0/1:7
downstream Integrated-Cable 0/0/1 rf-
channels 0-7
DOCSIS Security
Configurations
enable Early early-authentication-encryption cable privacy eae-policy ranging-
Authentication and ranging enforcement
Encryption
enable TFTP Proxy/TFTP tftp enforce cable tftp-enforce
Enforce
enable BPI enforce cable privacy bpi-enforce
mandatory
cable privacy bpi-plus-enforce cable privacy bpi-plus-policy total-
mandatory enforcement
17
Casa commands Cisco commands
PHY and DOCSIS MAC Best
Practices
configure Static MAP map-advance static 200 cable map-advance static 200
Advance
configure Interleave level interleave 16 cable downstream interleave-depth 16
enable pre-equalization logical-channel 0 pre-equalization
auto reset auto-reset
Modulation Profiles
examine current show modulation-profile show cable modulation-profile
Modulation Profiles show interface upstream 13/0.0 |
in profile
configure a Modulation modulation-profile 6 cable modulation-profile global-scheme 6
Profile <profile> <operation_mode> cable modulation-profile profile atdma
<modulation_type> Diff encoding {on | iuc fec-tbytes fec-len burst-len guard-t
off} preamble length <1:1024> FEC-T<0:16> mod scrambler seed diff
FEC-K
<16:255> seed <0:32767> pre-len last-cw uw-len
max burst
<0:255> guard time<4:255>
code word length
{fixed | shortened}
scrambler
{on |off} interleav depth <0:2048>
interleave block
<0:2048> preamble
type
{qpsk0 | qpsk1}
initial atdma qpsk off 640 5 34 338 cable modulation-profile 6 atdma initial 5
0 48 fixed on 1 1536 qpsk0 34 0 48 qpsk scrambler 338 no-diff 640
fixed
station atdma qpsk off 384 5 34 338 cable modulation-profile 6 atdma station
0 48 fixed on 1 1536 qpsk0 5 34 0 48 qpsk scrambler 338 no-diff 640
fixed
a-long atdma qpsk off 104 16 223 cable modulation-profile 6 atdma a-long
338 0 8 shortened on 0 2048 qpsk1 16 223 0 8 qpsk scrambler 338 no-diff 104
shortened
ugs atdma qpsk off 104 16 223 338 cable modulation-profile 6 atdma a-ugs
0 8 shortened on 0 2048 qpsk1 16 223 0 8 qpsk scrambler 338 no-diff
104 shortened
18
Casa commands Cisco commands
Small Signal
Compensation
enable Small Signal small-signal-compensation
Compensation
load-balance execution-rule 1
method modem
cable load-balance group 1 method
method utilization dynamic modem
threshold load 10 enforce 20 cable load-balance group 1 method
minimum 20 dynamic minimum 60 utilization
cable load-balance group 1 threshold load
load-balance policy 1 10 enforce 20 load minimum 60
rule execution 1
19
Casa commands Cisco commands
Channel Bonding
confirm Bonding Note: channel bonding is enabled by interface wideband-Cable 0/0/0:0
default in any intersection of a cable bundle 1
DOCSIS MAC domain and a service interface wideband-Cable 0/0/0:1
group. cable bundle 1
interface wideband-Cable 0/0/0:2
cable bundle 1
interface wideband-Cable 0/0/0:3
cable bundle 1
interface wideband-Cable 0/0/0:4
cable bundle 1
interface wideband-Cable 0/0/0:5
cable bundle 1
interface wideband-Cable 0/0/0:6
cable bundle 1
interface wideband-Cable 0/0/0:7
cable bundle 1
Partial Service
configure Partial Service cable cm-status-report event-list
best practices 1,4,7,8
show cable modem cm-status log
cable partial-service continue-
ranging
20
Casa commands Cisco commands
CCAP/CM Diagnostics
display statistics for RFI show interface qam brief show interface cable <interface>
interfaces show interface qam stat downstream
21
show cable modem docsis-mac 1 show cable modem mac-domain fiber-
service-group FNA downstream node
throughput show cable load-balance docsis-group 1
rfch-util
show upstream signal-quality
show spectrum upstream 13/0
show cable signal-quality upstream
show upstream burst-noise show cable spectrum-analysis upstream
show cable modem partial service 9/0
show cable <interface> noise
show cable modem partial-service
Remote Query
perform a Remote Query cable modem remote-query 30
show cable modem remote-query
immediate
show cable modem <mac address |
ip address> remote-query verbose
immediate
DOCSIS Ping
issue a DOCSIS ping ping docsis <mac address>
22
100 Old River Road Suite 100
Andover, MA 01810 USA
978-688-6706