3.
Enable ANCP to listen to OIF mapping events from IGMP in this virtual router.
4.
Create a listening TCP socket in the virtual router (TCP port 6068).
5.
Define ANCP neighbor parameters.
NOTE:
The ID is a 48 bit quantity that identifies the ANCP neighbor.
6.
Configure the ANCP multicast labels (input labels) on the corresponding outgoing
interfaces.
7.
Configure the ANCP output labels, the neighbor information on the subscriber
interfaces, and apply the OIF map.
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
Copyright © 2010, Juniper Networks, Inc.
196
JunosE 11.2.x IP Services Configuration Guide
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...