Complete Configuration Example; Triggering Ancp Oam - Juniper JUNOSE 11.0.X IP SERVICES Configuration Manual

For e series broadband services routers - ip services configuration
Table of Contents

Advertisement

Complete Configuration Example

The following example contains the commands used to configure ANCP. You can
customize and use this example in your own network.
You can copy the text into a text editor and modify it (removing all prompts and
changing values) for immediate use or save the modified example as a script (.scr)
file. Script files allow you to execute commands as though they were entered at the
terminal. For information about creating and executing script files, see Command
Line Interface in JUNOSe System Basics Configuration Guide.

Triggering ANCP OAM

The l2c oam command provides an access-line test and rudimentary fault isolation
capability for the B-RAS. Issuing this command triggers the access node to perform
a loopback test on the local-loop (between the access-node and the CPE). The B-RAS
generates a GSMP port management message to the neighbor specifying the access
line identifier on the access node and OAM test characteristics desired by the B-RAS
(for example, the number of cells/message to generate and the timeout period). The
When Subscriber A requests to join 232.1.1.1, ANCP transmits an add branch
message with the corresponding input and output labels that cross-connect
port 3 and port 6 on Access Node 1.
!Configure an OIF map
host1(config)#ip igmp oif-map OIFMAP atm 2/0.101 232.1.1.1 10.1.1.1
host1(config)#ip igmp oif-map OIFMAP atm 2/0.102 232.1.1.2 10.1.1.2
!Define ANCP parameters
host1(config)#l2c
host1(config-l2c)#session-timeout 15
!Enable ANCP to listen to OIF mapping events from IGMP in this virtual router
host1(config)#l2c ip oif
!Create a listening TCP socket in the virtual router
host1(config)#l2c ip listen
!Define ANCP neighbor parameters.
host1(config-l2c)#neighbor ACCESS_NODE_1
host1(config-l2c-neighbor)#id 09af.15bc.3156
!Configure ANCP multicast labels on the corresponding outgoing interfaces
host1(config)#interface atm 2/0.101
host1(config-interface)#ip igmp version passive
host1(config-interface)#l2c peer-attachment-id " in_multicast_port_3"
host1(config)#interface atm 2/0.102
host1(config-interface)#ip igmp version passive
host1(config-interface)#l2c peer-attachment-id " in_multicast_port_5"
!Configure ANCP output labels, neighbor information, and apply OIF map
host1(config)#interface atm 2/0.11
host1(config-interface)#ip igmp apply-oif-map OIFMAP
host1(config-interface)#l2c end-user-id " out_subscriber_port_6" neighbor
ACCESS_NODE_1
host1(config)#interface atm 2/0.12
host1(config-interface)#ip igmp apply-oif-map OIFMAP
host1(config-interface)#l2c end-user-id " out_subscriber_port_7" neighbor
ACCESS_NODE_1
Chapter 7: Configuring ANCP
205
Triggering ANCP OAM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.0.x

Table of Contents