- Table of Contents
-
- 02-Configuration Examples
- 01-H3C_AAA_Configuration_Examples
- 02-H3C_ACL_Configuration_Examples
- 03-H3C_ATM_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
- 14-H3C_IRF_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
- 29-H3C_VRRP_Configuration_Examples
- 30-H3C_Traffic_Filtering_Configuration_Examples
- 31-H3C_Samplers_and_IPv4_NetStream_Configuration_Examples
- 32-H3C_Software_Upgrade_Examples
- 33-H3C_MPLS_L2VPN_Configuration_Examples
- 34-H3C_NetStream_Configuration_Examples
- 35-H3C_Policy-Based_Routing_Configuration_Examples
- 36-H3C_Traffic_Policing_Configuration_Examples
- 37-H3C_BFD_Configuration_Examples
- 38-H3C_OSPFv3_Configuration_Examples
- 39-H3C_VPLS_Configuration_Examples
- 40-H3C_GTS_and_Rate_Limiting_Configuration_Examples
- 41-H3C_IPv6_IS-IS_Configuration_Examples
- 42-H3C_MPLS OAM_Configuration_Examples
- 43-H3C_BGP_Route_Selection_Configuration_Examples
- 44-H3C_IS-IS_Route_Summarization_Configuration_Examples
- 45-H3C_SRv6 Configuration Examples
- 46-H3C_Attack_Protection_Configuration_Examples
- 47-H3C_OSPF_Multi-Process_Configuration_Examples
- 48-H3C_OSPF_with_Multi-Instance_Configuration_Examples
- 49-H3C_ARP_Attack_Protection_Configuration_Examples
- 50-H3C_DHCPv6_Server_and_DHCPv6_Prefix_Client_Configuration_Examples
- 51-CE1 Interface Connection Configuration Examples
- 52-GRE Tunnel Establishment Using OSPF Configuration Examples
- 53-GRE Tunnel Establishment Using Static Routes Configuration Examples
- 54-OSPF over IPsec for Overseas Branch Access Configuration Examples
- 55-General QoS Configuration Examples
- 56-QoS Configuration Examples for the Financial Industry
- Related Documents
-
Title | Size | Download |
---|---|---|
03-H3C_ATM_Configuration_Examples | 88.31 KB |
Introduction
This document provides an IP over ATM (IPoA) configuration example.
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 ATM.
Restrictions and guidelines
This configuration is available only on the ATM subcard of the CSPEX-1304X/CSPEX-1304S, CSPEX-1404X/CSPEX-1404S, and CSPEX-1504X/CSPEX-1504S cards.CSPEX-2304X-G cards. CSPEX-1104-E cards.
Example: Configuring IPoA
Network configuration
As shown in Figure 1, Router A is the egress gateway for the headquarters of an enterprise. Router B and Router C are egress gateways for the branch sites of the enterprise. Configure IPoA for communication among the three LANs across an ATM network.
Analysis
To enable the upper-layer protocols to find a remote device by its IP address, map the IP address of the remote device to the local PVC.
Restrictions and guidelines
When you configure IPoA, follow these restrictions and guidelines:
· ATM interfaces support only manually created permanent virtual circuits (PVCs), not switched virtual circuits (SVCs) created through the exchange of signals.
· You can configure only one PVC for an ATM P2P subinterface.
· Only one IP address can be mapped to a PVC. From the static IP mapping, default mapping, or InARP mapping methods, you can choose only one IP mapping method.
· Different PVCs on the same interface cannot be mapped to the same IP address.
· The PVCs on the same interface can be configured with only one default mapping.
· If the interfaces of two routers are connected back-to-back, the local PVC mapped to the remote IP address must have the same VPI/VCI value as the remote PVC mapped to the local IP address.
Procedures
1. Configure Router A:
# Enter the view of interface ATM 4/1/1 and configure an IP address for it.
[RouterA] interface atm 4/1/1
[RouterA-ATM4/1/1] ip address 202.38.160.1 255.255.255.0
# Create PVCs, and enable them to carry IP.
[RouterA-ATM4/1/1] pvc to_b 0/40
[RouterA-ATM4/1/1-pvc-to_b-0/40] map ip 202.38.160.2
[RouterA-ATM4/1/1-pvc-to_b-0/40] quit
[RouterA-ATM4/1/1] pvc to_c 0/41
[RouterA-ATM4/1/1-pvc-to_c-0/41] map ip 202.38.160.3
2. Configure Router B:
# Enter the view of interface ATM 4/1/1 and configure an IP address for it.
[RouterB] interface atm 4/1/1
[RouterB-ATM4/1/1] ip address 202.38.160.2 255.255.255.0
# Create PVCs, and enable them to carry IP.
[RouterB-ATM4/1/1] pvc to_a 0/50
[RouterB-ATM4/1/1-pvc-to_a-0/50] map ip 202.38.160.1
[RouterB-ATM4/1/1-pvc-to_a-0/50] quit
[RouterB-ATM4/1/1] pvc to_c 0/51
[RouterB-ATM4/1/1-pvc-to_c-0/51] map ip 202.38.160.3
3. Configure Router C:
# Enter the view of interface ATM 4/1/1 and configure an IP address for it.
[RouterC] interface atm 4/1/1
[RouterC-ATM4/1/1] ip address 202.38.160.3 255.255.255.0
# Create PVCs, and enable them to carry IP.
[RouterC-ATM4/1/1] pvc to_a 0/60
[RouterC-ATM4/1/1-pvc-to_a-0/60] map ip 202.38.160.1
[RouterC-ATM4/1/1-pvc-to_a-0/60] quit
[RouterC-ATM4/1/1] pvc to_b 0/61
[RouterC-ATM4/1/1-pvc-to_b-0/61] map ip 202.38.160.2
Verifying the configuration
# Execute the display atm map-info command on Router A to verify that all PVCs are up.
<RouterA> display atm map-info
ATM4/1/1
PVC 0/40:
Protocol: IP, IP address: 202.38.160.2, State: UP
PVC 0/41:
Protocol: IP, IP address: 202.38.160.3, State: UP
# Use the ping command to verify that Router A and Router B can ping each other successfully.
Ping 202.38.160.2 (202.38.160.2): 56 data bytes, press CTRL_C to break
56 bytes from 202.38.160.2: icmp_seq=0 ttl=255 time=76.007 ms
56 bytes from 202.38.160.2: icmp_seq=1 ttl=255 time=8.790 ms
56 bytes from 202.38.160.2: icmp_seq=2 ttl=255 time=1.630 ms
56 bytes from 202.38.160.2: icmp_seq=3 ttl=255 time=0.841 ms
56 bytes from 202.38.160.2: icmp_seq=4 ttl=255 time=1.012 ms
--- Ping statistics for 202.38.160.2---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.841/17.656/76.007/29.326 ms
Configuration files
· Router A:
#
interface Ten-GigabitEthernet3/1/1
port link-mode route
ip address 1.1.1.1 255.255.255.0
#
interface ATM4/1/1
pvc to_b 0/40
map ip 202.38.160.2
pvc to_c 0/41
map ip 202.38.160.3
ip address 202.38.160.1 255.255.255.0
#
· Router B:
#
interface Ten-GigabitEthernet3/1/1
port link-mode route
ip address 2.2.2.1 255.255.255.0
#
interface ATM4/1/1
pvc to_a 0/50
map ip 202.38.160.1
pvc to_c 0/51
map ip 202.38.160.3
ip address 202.38.160.2 255.255.255.0
#
· Router C:
#
interface Ten-GigabitEthernet3/1/1
port link-mode route
ip address 3.3.3.1 255.255.255.0
#
interface ATM4/1/1
pvc to_a 0/60
map ip 202.38.160.1
pvc to_c 0/61
map ip 202.38.160.2
ip address 202.38.160.3 255.255.255.0
#
Related documentation
· H3C SR8800-X Routers Layer 2—WAN Access Command Reference
· H3C SR8800-X Routers Layer 2—WAN Access Configuration Guide