Commands: h through n

hw-module slot

To reload the line card, use the hw-module slot command in privileged EXEC mode.

hw-module slot slot_id reload [force]

Syntax Description

force

Proceeds without prompting for a confirmation.

Command Default

None.

Command Modes

Privileged EXEC (#) (FCC)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Usage Guidelines

Use the hw-module slot command to reload the line card.

Examples

The following example shows how to reload the line card:

HA-Shelf-FCC# hw-module slot 0 reload force

hostname

To configure the chassis hostname, use the hostname command in global configuration mode. To remove the chassis hostname, use the no form of the command.

hostname prefix prefix

no hostname

Command Default

None.

Command Modes

Global configuration mode (config) (FCC and Primary eRPD)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Usage Guidelines

Use the hostname command to configure the hostname of the chassis.

Examples

The following example shows how to configure the hostname of the chassis:

HA-Shelf-FCC# configure terminal
HA-Shelf-FCC(config)# hostname prefix Shelf

link-redundancy

To configure the link redundancy, use the link-redundancy command in global configuration mode. To restore link redundancy to the default mode, use the no form of the command.

link-redundancy mode mode_name

no link-redundancy

Command Default

None.

Command Modes

Global configuration mode (config) (FCC and Primary eRPD)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Usage Guidelines

Use the link-redundancy command to configure the link redundancy mode N/A, 6+2 or 4+4.

Examples

The following example shows how to configure the link redundancy mode:

HA-Shelf-FCC# configure terminal
HA-Shelf-FCC(config)# link-redundancy mode 6+2

logging

To archive the log and send to SSH or TFTP server, use the logging command in privileged EXEC mode.

logging {all | corefile-archive | kdump-archive | shelfmgr-archive | 1588-archive | provision-archive} {scp server_ip user dir | tftp server_ip dir}

Syntax Description

all

Archive all logs and core files and send to SSH or TFTP server.

corefile-archive

Archive corefile and send to SSH or TFTP server.

kdump-archive

Archive kernel dump and send to SSH or TFTP server.

shelfmgr-archive

Archive shelf manager log and send to SSH or TFTP server.

1588-archive

Archive PTP log and send to SSH or TFTP server.

provision-archive

Archive logs created during RPD provisioning and send to SSH or TFTP server.

scp server_ip user dir

Configure the SSH server IP address, user, and destination directory.

tftp server_ip dir

Configure the TFTP server IP address and destination directory.

Command Default

None.

Command Modes

Privileged EXEC (#) (FCC and Line Card)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Usage Guidelines

Use the logging command to archive the log and send to SSH or TFTP server.

Examples

The following example shows how to archive and send the log:

HA-Shelf-FCC# logging corefile-archive tftp 10.2.11.2 log

logging 1588-archive and provision-archive

To archive PTP logs using tftp, use the logging 1588-archive command in privileged EXEC mode.

To archive logs created during RPD provisioning using tftp, use the logging provision-archive command in privileged EXEC mode.

logging [1588-archive| provision archive] tftp server_ip save_path

Syntax Description

server_ip

IP address of the server where you want to save the log files.

save_path

The path to the directory where you want to save the log files.

Command Default

None.

Command Modes

Privileged EXEC (#) (Line Card)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Examples

This is a sample output of the logging 1588-archive command for all the line cards:

HA-Shelf-Slot-0# logging 1588-archive tftp 198.51.100.1

wait for archiving 1588 logs
Wait for upload archive to server. It would take 3 minutes or more.
RPD logs are saved in
198.51.100.1:$TFTP_DIR/./RPD_1588_0027900a0cf8_LOG_1977-01-08_21_25_26_352484.tar.gz
[Done]

Examples

This is a sample output of the logging provision-archive command for all the line cards:

HA-Shelf-Slot-0# logging provision-archive tftp 198.51.100.1

wait for archiving logs
Collect tech-support info...
wait for upload archive to server
RPD provision logs are saved in
198.51.100.1:$TFTP_DIR/./RPD_0027900a0cf8_LOG_1977-01-08_18_20_10_509660.tar.gz
[Done]

logging monitor

To view and monitor logs of an RPHY device, use the logging monitor command in privileged EXEC mode. To stop monitoring logs, run the logging monitor off

logging monitor rpd

logging monitor off

Syntax Description

rpd

The RPHY device that that you want to montor logs.

Command Default

None.

Command Modes

Privileged EXEC (#) (Line Card)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Examples

This is a sample output of the logging monitor command for all the line cards:

HA-Shelf-Slot-0# logging monitor 5

F02-Shelf-Slot-0#<190>2019-01-08T17:42:17.387337+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-CORE-4039283094 Entering state init(ipsec) from state init(gcp-ira), triggered by event:TRIGGER_TCP_FAIL. 
<190>2019-01-08T17:42:17.389019+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-RCP session: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190 removing from the list of active sessions.
<187>2019-01-08T17:42:17.390218+00:00 RPDBADBAD170C20 ERR  INSTANCE_ID5-wr_cb() called for non existing FD
<190>2019-01-08T17:42:17.391799+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Session closed: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190 (120.102.22.109:41269 --> 120.102.22.37:8190)
<190>2019-01-08T17:42:17.393092+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-RCP Slave session closed: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190
<190>2019-01-08T17:42:17.394438+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-RCP sessions (vbh5, 120.102.22.37) removed
<190>2019-01-08T17:42:17.395638+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-CORE-4039283094 Remove the gcp session interface vbh5 core_ip 120.102.22.37
<190>2019-01-08T17:42:17.396748+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-CORE-4039283094 interface vbh5 core_ip 120.102.22.37 enter init-spec state retry times 1
<190>2019-01-08T17:42:17.398835+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Session closed: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190 (None)
<190>2019-01-08T17:42:17.400078+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-RCP Slave session closed: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190
<190>2019-01-08T17:42:47.396861+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-CORE-4039283094 Entering state init(tcp) from state init(ipsec), triggered by event:TRIGGER_IPSEC_OK. 
<190>2019-01-08T17:42:47.398622+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Adding new session: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190
<190>2019-01-08T17:42:47.404158+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Opening GCP session SLAVE: 120.102.22.109:None --> 120.102.22.37:8190, AF: 2, Type: 1
<190>2019-01-08T17:42:47.405400+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-GCP session opened: SLAVE 120.102.22.109:39775 --> None:None
<190>2019-01-08T17:42:47.406305+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Connecting to the GCP master: 120.102.22.37:8190
<190>2019-01-08T17:42:47.407470+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Slave session initiate, start connect: SLAVE: 120.102.22.109:None --> 120.102.22.37:8190, state: 254
<190>2019-01-08T17:42:47.408385+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-CORE-4039283094 Add the gcp session interface vbh5 core_ip 120.102.22.37
<190>2019-01-08T17:42:49.389918+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-GCP state changed interface vbh5 core_ip 120.102.22.37 triggered by TCP_OK
<190>2019-01-08T17:42:49.392372+00:00 RPDBADBAD170C20 INFO  INSTANCE_ID5-Send notification message to rcp: interface: "vbh5"
core_ip: "120.102.22.37"
status: 1
ntf_type: 1

login

To configure the login password of the FCC, use the login command in global configuration mode. To restore the default value, use the no form of the command.

login password text

no login

Command Default

None.

Command Modes

Global configuration mode (config) (FCC and Primary eRPD)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Usage Guidelines

Use the login command to configure the login password of the FCC.

Examples

The following example shows how to configure the login password:

HA-Shelf-FCC# configure terminal
HA-Shelf-FCC(config)# login password Dp*14raR

mgmt ip

To configure the FCC management port IP address, use the mgmt ip command in global configuration mode. To remove the FCC management port IP address, use the no form of the command.

mgmt ip ipv4_address netmask netmask_address gateway gateway_address

no mgmt

Command Default

None.

Command Modes

Global configuration mode (config) (FCC and Primary eRPD)

Command History

Release

Modification

Cisco Remote PHY Shelf 7200 Software 1.1

This command was introduced on the Cisco Remote PHY Shelf 7200.

Usage Guidelines

Use the mgmt ip command to configure the FCC management port IP address.

Examples

The following example shows how to configure the FCC management port IP address:

HA-Shelf-FCC# configure terminal
HA-Shelf-FCC(config)# mgmt ip 1.200.1.4 netmask 255.255.255.0 gateway 1.200.1.0