Configuring Serial Interfaces on the Cisco ASR 9000 Series Router
Configuration Examples for Serial Interfaces
542
Cisco ASR 9000 Aggregation Services Router Interfaces and Hardware Component Configuration Guide
OL-26061-03
Configuration Examples for Serial Interfaces
This section provides the following configuration examples:
• Bringing Up and Configuring a Serial Interface with Cisco HDLC Encapsulation: Example,
page 542
• Configuring a Serial Interface with Frame Relay Encapsulation: Example, page 543
• Configuring a Serial Interface with PPP Encapsulation: Example, page 545
• IPHC Configuration: Examples, page 545
Bringing Up and Configuring a Serial Interface with Cisco HDLC Encapsulation:
Example
The following example shows how to bring up a basic serial interface with Cisco HDLC encapsulation:
RP/0/0RP0RSP0/CPU0:Router#config
RP/0/0RP0RSP0/CPU0:Router(config)# interface serial 0/3/0/0/0:0
RP/0/0RP0RSP0/CPU0:Router(config-if)# ipv4 address 192.0.2.2 255.255.255.252
RP/0/0RP0RSP0/CPU0:Router(config-if)# no shutdown
Step 5
service policy output service-policy-name
Example:
RP/0/0RSP0/CPU0:router(config-if)# service policy
input | output | type service-policy-name
(Optional) Specifies the name of the QoS service
policy to which the IPHC profile applies. Only output
service policies are allowed.
Used only when mode service-policy is specified in
Step 2.
Step 6
end
or
commit
Example:
RP/0/0RSP0/CPU0:router(config-if)# end
or
RP/0/0RSP0/CPU0:router(config-if)# 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.
Command or Action Purpose