- Table of Contents
-
- 01-Typical configuration example
- 01-H3C_AAA_Configuration_Examples
- 02-H3C_ACL_Configuration_Examples
- 04-H3C_IGMP_Configuration_Examples
- 05-H3C_IP_Source_Guard_Configuration_Examples
- 06-H3C_Ethernet_OAM_Configuration_Examples
- 07-H3C_NQA_Configuration_Examples
- 08-H3C_QinQ_Configuration_Examples
- 09-H3C_OSPF_Configuration_Examples
- 10-H3C_MPLS_TE_Configuration_Examples
- 11-H3C_OpenFlow_Configuration_Examples
- 12-H3C_NAT_Configuration_Examples
- 13-H3C_RBAC_Configuration_Examples
- 15-H3C_POS_Interface_Configuration_Examples
- 16-H3C_CPOS_Interface_Configuration_Examples
- 17-H3C_DHCP_Relay_Redundancy_Configuration_Examples
- 18-H3C_DLDP_Configuration_Examples
- 19-H3C_IS-IS_Configuration_Examples
- 20-H3C_MPLS_L3VPN_Configuration_Examples
- 21-H3C_SSH_Configuration_Examples
- 22-H3C_Login_Management_Configuration_Examples
- 23-H3C_SNMP_Configuration_Examples
- 24-H3C_Priority_Marking_and_Queue_Scheduling_Configuration_Examples
- 25-H3C_Multicast_VPN_Configuration_Examples
- 26-H3C_BGP_Configuration_Examples
- 27-H3C_HoVPN_Configuration_Examples
- 28-H3C_L2TP_Configuration_Examples
- 30-H3C_VRRP_Configuration_Examples
- 31-H3C_Traffic_Filtering_Configuration_Examples
- 32-H3C_Samplers_and_IPv4_NetStream_Configuration_Examples
- 33-H3C_Software_Upgrade_Examples
- 34-H3C_MPLS_L2VPN_Configuration_Examples
- 35-H3C_NetStream_Configuration_Examples
- 36-H3C_Policy-Based_Routing_Configuration_Examples
- 37-H3C_Traffic_Policing_Configuration_Examples
- 38-H3C_BFD_Configuration_Examples
- 39-H3C_OSPFv3_Configuration_Examples
- 40-H3C_VPLS_Configuration_Examples
- 41-H3C_GTS_and_Rate_Limiting_Configuration_Examples
- 42-H3C_IPv6_IS-IS_Configuration_Examples
- 43-H3C_MPLS OAM_Configuration_Examples
- 44-H3C_BGP_Route_Selection_Configuration_Examples
- 45-H3C_IS-IS_Route_Summarization_Configuration_Examples
- 46-H3C_SRv6 Configuration Examples
- 47-H3C_Attack_Protection_Configuration_Examples
- 48-H3C_OSPF_Multi-Process_Configuration_Examples
- 49-H3C_OSPF_with_Multi-Instance_Configuration_Examples
- 50-H3C_ARP_Attack_Protection_Configuration_Examples
- 51-H3C_DHCPv6_Server_and_DHCPv6_Prefix_Client_Configuration_Examples
- Related Documents
-
Title | Size | Download |
---|---|---|
16-H3C_CPOS_Interface_Configuration_Examples | 107.83 KB |
Introduction
This document provides CPOS-E1 channel configuration examples.
Prerequisites
The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
This document assumes that you have basic knowledge of CPOS interface, E1, and MP.
Example: Configuring CPOS-E1 channels
Network configuration
As shown in Figure 1, branch nodes Router B through Router H are uplinked to the central node Router A through E1 links. Router A aggregates these E1 links by using a CPOS interface.
Add one additional E1 link on Router B to expand its capacity, and use an MP-group interface to bind the two E1 links.
Restrictions and guidelines
For correct network synchronization, make sure the master clock mode is configured on the SONET/SDH devices connected to the routers.
Procedures
Configuring Router A
# Configure E1 channels 1 and 2 of CPOS 3/0/4 to operate in unframed mode.
[RouterA] controller cpos 3/0/4
[RouterA-Cpos3/0/4] e1 1 unframed
[RouterA-Cpos3/0/4] e1 2 unframed
# Create MP-group 3/0/1 and assign an IP address to it.
[RouterA] interface mp-group 3/0/1
[RouterA-Mp-group3/0/1] ip address 10.1.1.1 24
[RouterA-Mp-group3/0/1] quit
# Assign Serial 3/0/4/1:0 to MP-group interface 3/0/1.
[RouterA] interface serial3/0/4/1:0
[RouterA-Serial3/0/4/1:0] ppp mp mp-group 3/0/1
[RouterA-Serial3/0/4/1:0] quit
# Assign Serial 3/0/4/2:0 to MP-group interface 3/0/1.
[RouterA] interface serial3/0/4/2:0
[RouterA-Serial3/0/4/2:0] ppp mp mp-group 3/0/1
[RouterA-Serial3/0/4/2:0] quit
Configuring Router B
# Configure E1 3/0/10 to operate in E1 mode.
<RouterB> system-view
[RouterB] controller e1 3/0/10
[RouterB-E1 3/0/10] using e1
[RouterB-E1 3/0/10] quit
# Configure E1 3/0/8 to operate in E1 mode.
[RouterB] controller e1 3/0/8
[RouterB-E1 3/0/8] using e1
[RouterB-E1 3/0/8] quit
# Create MP-group 3/0/1 and assign an IP address to it.
[RouterB] interface mp-group 3/0/1
[RouterB-Mp-group3/0/1] ip address 10.1.1.2 24
[RouterB-Mp-group3/0/1] quit
# Assign Serial 3/0/10:0 to MP-group interface 3/0/1.
[RouterB] interface serial3/0/10:0
[RouterB-Serial3/0/10:0] ppp mp mp-group 3/0/1
[RouterB-Serial3/0/10:0] quit
# Assign Serial 3/0/8:0 to MP-group interface 3/0/1.
[RouterB] interface serial3/0/8:0
[RouterB-Serial3/0/8:0] ppp mp mp-group 3/0/1
[RouterB-Serial3/0/8:0] quit
Verifying the configuration
1. Verify the MP interface configuration and state on Router A and Router B.
# Display detailed information about MP-group interface 3/0/1 on Router A.
[RouterA] display interface mp-group 3/0/1
MP-group3/0/1
Current state: UP
Line protocol state: UP
Description: MP-group3/0/1 Interface
Bandwidth: 1024kbps
Maximum transmit unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet Address is 10.1.1.1/24 (primary)
Link layer protocol: PPP
LCP: opened, MP: opened, IPCP: opened, OSICP: opened, MPLSCP: opened, IPv6CP: op
ened
Physical: MP, baudrate: 1024000 bps
Last link flapping: Never
Last clearing of counters: Never
Last 5 seconds input rate: 14 bytes/sec, 112 bits/sec, 0 packets/sec
Last 5 seconds output rate: 14 bytes/sec, 112 bits/sec, 0 packets/sec
Input: 73 packets, 24764 bytes, 0 drops
Output: 62 packets, 24882 bytes, 0 drops
The output shows that the MP-group interface on Router A is up.
# Display detailed information about MP-group interface 3/0/1 on Router B.
[RouterB] display interface mp-group 3/0/1
MP-group3/0/1
Current state: UP
Line protocol state: UP
Description: MP-group3/0/1 Interface
Bandwidth: 1024kbps
Maximum transmit unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet Address is 10.1.1.2/24 (primary)
Link layer protocol: PPP
LCP: opened, MP: opened, IPCP: opened, OSICP: opened, MPLSCP: opened, IPv6CP: opened
Physical: MP, baudrate: 1024000 bps
Last link flapping: Never
Last clearing of counters: Never
Last 10 seconds input rate: 374 bytes/sec, 2992 bits/sec, 1 packets/sec
Last 10 seconds output rate: 293 bytes/sec, 2344 bits/sec, 0 packets/sec
Input: 39 packets, 12301 bytes, 0 drops
Output: 37 packets, 11824 bytes, 0 drops
The output shows that the MP-group interface on Router B is up.
2. Verify that the MP-group interface configuration on Router A and Router B.
# Display MP information on MP-group interface 3/0/1 of Router A.
[RouterA] display ppp mp interface mp-group 3/0/1
Template: MP-group3/0/1
max-bind: 16, fragment: enabled, min-fragment: 128
Master link: MP-group3/0/1, Active members: 2, Bundle Multilink
Peer's endPoint descriptor: MP-group3/0/1
Sequence format: long (rcv)/long (sent)
Bundle Up Time: 2021/07/25 09:16:07:745
0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved
Sequence: 0 (rcv)/0 (sent)
Active member channels: 16 members
Serial3/0/4/1:0 Up-Time:2021/07/25 09:16:07:747
Serial3/0/4/2:0 Up-Time:2021/07/25 09:16:07:746
The output shows that the MP-group interface has been correctly configured.
# Display MP information on MP-group interface 3/0/1 of Router B.
[RouterB] display ppp mp interface mp-group 3/0/1
Template: MP-group3/0/1
max-bind: 16, fragment: enabled, min-fragment: 128
Master link: MP-group3/0/1, Active members: 2, Bundle Multilink
Peer's endPoint descriptor: MP-group3/0/1
Sequence format: long (rcv)/long (sent)
Bundle Up Time: 2021/07/25 09:16:07:745
0 lost fragments, 0 reordered, 0 unassigned, 0 interleaved
Sequence: 0 (rcv)/0 (sent)
Active member channels: 16 members
Serial3/0/8:0 Up-Time:2014/07/25 09:16:07:747
Serial3/0/10:0 Up-Time:2014/07/25 09:16:07:746
The output shows that the MP-group interface has been correctly configured.
3. Verify that the MP-group interface on Router A and Router B can ping each other.
# Ping MP-group interface 3/0/1 on Router B from Router A.
Ping 10.1.1.2 (10.1.1.2): 56 data bytes, press CTRL_C to break
56 bytes from 10.1.1.2: icmp_seq=0 ttl=255 time=32.998 ms
56 bytes from 10.1.1.2: icmp_seq=1 ttl=255 time=27.632 ms
56 bytes from 10.1.1.2: icmp_seq=2 ttl=255 time=34.517 ms
56 bytes from 10.1.1.2: icmp_seq=3 ttl=255 time=45.058 ms
56 bytes from 10.1.1.2: icmp_seq=4 ttl=255 time=35.121 ms
--- Ping statistics for 10.1.1.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 27.632/35.065/45.058/5.651 ms
# Ping MP-group interface 3/0/1 on Router A from Router B.
[RouterB] ping 10.1.1.1
Ping 10.1.1.1 (10.1.1.1): 56 data bytes, press CTRL_C to break
56 bytes from 10.1.1.1: icmp_seq=0 ttl=255 time=27.877 ms
56 bytes from 10.1.1.1: icmp_seq=1 ttl=255 time=27.616 ms
56 bytes from 10.1.1.1: icmp_seq=2 ttl=255 time=42.308 ms
56 bytes from 10.1.1.1: icmp_seq=3 ttl=255 time=36.238 ms
56 bytes from 10.1.1.1: icmp_seq=4 ttl=255 time=71.639 ms
--- Ping statistics for 10.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 27.616/41.136/71.639/16.214 ms
The output shows that the MP-group interfaces on Router A and Router B can ping each other.
Configuration files
· Router A:
controller cpos 3/0/4
e1 1 unframed
e1 2 unframed
#
interface mp-group 3/0/1
ip address 10.1.1.1 24
#
interface serial3/0/4/1:0
ppp mp mp-group 3/0/1
#
interface serial3/0/4/2:0
ppp mp mp-group 3/0/1
#
· Router B:
#
controller e1 3/0/10
using e1
#
controller e1 3/0/8
using e1
#
interface mp-group 3/0/1
ip address 10.1.1.2 24
#
interface serial3/0/8:0
ppp mp mp-group 3/0/1
#
interface serial3/0/10:0
ppp mp mp-group 3/0/1
#
Related documentation
· H3C CR16000-M Routers Interface Configuration Guide
· H3C CR16000-M Routers Interface Command Reference
· H3C CR16000-M Routers Layer 2—WAN Access Configuration Guide
· H3C CR16000-M Routers Layer 2—WAN Access Command Reference