Step 1
|
configure
RP/0/RSP0/CPU0:router# configure
|
Enters global configuration mode.
|
Step 2
|
aps group
number
RP/0/RSP0/CPU0:router(config)# aps group 1
|
Adds an APS group with a specified number
and enters APS group configuration mode.
-
Use the
aps group
command in global configuration mode.
-
To remove a group, use the
no form of this command, as in:
no aps group
number , where the
value range is from 1–255.
Note
|
-
To use the
aps group
command, you must be a member of a user group associated with the proper task
IDs for aps commands.
-
The aps group command is used even when a
single protect group is configured.
|
|
Step 3
|
channel {0 |
1}
local
sonet
interface
RP/0/RSP0/CPU0:router(config-aps)# channel 0 local SONET 0/0/0/1
|
Creates a channel for the APS group.
0 designates a
protect channel, and
1 designates a
working channel.
|
Step 4
|
Repeat Step 3 for each channel in the group.
|
|
Step 5
|
exit
|
Exits APS group configuration mode and
enters global configuration mode.
|
Step 6
|
interface
loopback
number
RP/0/RSP0/CPU0:router(config)# interface loopback 1
|
(Optional) Configures a loopback interface
if a two-router APS is desired and enters interface configuration mode for a
loopback interface.
|
Step 7
|
ipv4
address
ip-address mask
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.0.1 255.255.255.224
|
Assigns an IPV4 address and subnet mask to
the loopback interface.
|
Step 8
|
exit
|
Exits interface configuration mode for a
loopback interface, and enters global configuration mode.
|
Step 9
|
Execute any one the following commands:
- interface pos
interface-path-id
- interface serial
interface-path-id
RP/0/RSP0/CPU0:router(config)# interface POS 0/2/0/0
or
RP/0/RSP0/CPU0:router(config)# interface serial 0/1/1/0/0/0:0
|
Connects the interface for the channel
selected in Step 3, and enters interface configuration mode.
For serial interfaces, specifies the
complete interface number with the
rack/slot/module/port/T3Num/T1num:instance
notation.
|
Step 10
|
ipv4
address
ip-address mask
RP/0//CPU0:router(config-if)# ipv4 address 172.18.0.1 255.255.255.224
|
Assigns an IPv4 address and subnet mask to
the interface.
|
Step 11
|
Execute any one the following commands:
- pos crc {16 |
32}
- crc {16 |
32}
RP/0/RSP0/CPU0:router(config-if)# pos crc 32
or
RP/0/RSP0/CPU0:router(config-if)# crc 32
|
Selects a CRC value for the channel. Enter
the
16 keyword to
specify 16-bit CRC mode, or enter the
32 keyword to
specify 32-bit CRC mode. For POS interfaces, the default CRC is 32. For serial
interfaces, the default is 16.
|
Step 12
|
encapsulation {frame-relay |
hdlc |
ppp}
RP/0/RSP0/CPU0:router(config-if)# encapsulation ppp
|
(Serial interfaces only) Set the Layer 2
encapsulation of an interface.
|
Step 13
|
keepalive {interval |
disable}[retry]
RP/0/RSP0/CPU0:router(config-if)# keepalive disable
|
Sets the keepalive timer for the channel,
where:
-
interval —Number of seconds (from 1 to 30)
between keepalive messages. The default is 10.
-
disable —Turns off the keepalive timer.
-
retry —(Optional) Number of keepalive
messages (from 1 to 255) that can be sent to a peer without a response before
transitioning the link to the down state. The default is 5 for interfaces with
PPP encapsulation, and 3 for interfaces with HDLC encapsulation.
The
keepalive command
does not apply to interfaces using Frame Relay encapsulation.
|
Step 14
|
no
shutdown
RP/0/RSP0/CPU0:router(config-if)# no shutdown
|
Removes the shutdown configuration.
|
Step 15
|
Repeat Step 9 through Step 13 for each channel in the group.
|
|
Step 16
|
exit
|
Exits interface configuration mode, and
enters global configuration mode.
|
Step 17
|
controller
sonet
interface-path-id
RP/0/RSP0/CPU0:router(config)# controller sonet 0/1/0/0
|
Enters SONET controller configuration mode
and specifies the SONET controller name and instance identifier with the
rack/slot/module/port
notation.
|
Step 18
|
ais-shut
RP/0/RSP0/CPU0:router(config-sonet)# ais-shut
|
Configures SONET path values such as alarm
indication signal (AIS) at shut down.
|
Step 19
|
path
scrambling
disable
RP/0/RSP0/CPU0:router(config-sonet)# path scrambling disable
|
(Optional) Disables synchronous payload
envelope (SPE) scrambling.
|
Step 20
|
clock
source {internal |
line}
RP/0/RSP0/CPU0:router(config-sonet)# clock source internal
|
Configures the SONET port TX clock source,
where the
internal keyword
sets the internal clock and the
line keyword sets
the clock recovered from the line.
-
Use the
line keyword
whenever clocking is derived from the network; use the
internal
keyword when two routers are connected back-to-back or over fiber for which no
clocking is available.
-
The line clock (line ) is the default.
|
Step 21
|
Repeat Step 16 through Step 19 for each channel in the group.
|
|
Step 22
|
end or
commit
RP/0/RSP0/CPU0:router(config-sonet)# end
or
RP/0/RSP0/CPU0:router(config-sonet)# commit
|
Saves configuration changes.
-
When you issue the
end command,
the system prompts you to commit changes:
Uncommitted changes found, commit them before exiting(yes/no/cancel)?
[cancel]:
- Entering
yes saves configuration changes to the running
configuration file, exits the configuration session, and returns the router to
EXEC mode.
- Entering
no exits the configuration session and returns the
router to EXEC mode without committing the configuration changes.
- Entering
cancel leaves the router in the current configuration
session without exiting or committing the configuration changes.
-
Use the
commit command
to save the configuration changes to the running configuration file and remain
within the configuration session.
|
Step 23
|
exit
|
Exits SONET controller configuration mode,
and enters global configuration mode.
|
Step 24
|
exit
|
Exits global configuration mode, and enters
EXEC mode.
|
Step 25
|
show
aps
RP/0/RSP0/CPU0:router# show aps
|
(Optional) Displays the operational status
for all configured SONET APS groups.
|
Step 26
|
show aps
group [number]
RP/0/RSP0/CPU0:router# show aps group 3
|
(Optional) Displays the operational status
for configured SONET APS groups.
|