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.
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
.
!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
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
Triggering ANCP OAM
■
205
Chapter 7: Configuring ANCP
Содержание IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...