HP A8800 Configuration Manual page 278

Ip multicast
Hide thumbs Also See for A8800:
Table of Contents

Advertisement

<PE3> system-view
[PE3] router id 1.1.1.3
[PE3] multicast routing-enable
[PE3] mpls lsr-id 1.1.1.3
[PE3] mpls
[PE3-mpls] quit
[PE3] mpls ldp
[PE3-mpls-ldp] quit
# Create VPN instance a, configure an RD and route target attributes for it.
[PE3] ip vpn-instance a
[PE3-vpn-instance-a] route-distinguisher 100:1
[PE3-vpn-instance-a] vpn-target 100:1 export-extcommunity
[PE3-vpn-instance-a] vpn-target 100:1 import-extcommunity
# Enable IP multicast routing in VPN instance a, configure a share-group address, associate an
MTI with the VPN instance, and define the address range of the switch-group-pool.
[PE3-vpn-instance-a] multicast routing-enable
[PE3-vpn-instance-a] multicast-domain share-group 239.1.1.1 binding mtunnel 0
[PE3-vpn-instance-a] multicast-domain switch-group-pool 225.2.2.0 28
[PE3-vpn-instance-a] quit
# Create VPN instance b, configure an RD and route target attributes for it.
[PE3] ip vpn-instance b
[PE3-vpn-instance-b] route-distinguisher 200:1
[PE3-vpn-instance-b] vpn-target 200:1 export-extcommunity
[PE3-vpn-instance-b] vpn-target 200:1 import-extcommunity
# Enable IP multicast routing in VPN instance b, configure a share-group address, associate an
MTI with the VPN instance, and define the address range of the switch-group-pool.
[PE3-vpn-instance-b] multicast routing-enable
[PE3-vpn-instance-b] multicast-domain share-group 239.2.2.2 binding mtunnel 1
[PE3-vpn-instance-b] multicast-domain switch-group-pool 225.4.4.0 28
[PE3-vpn-instance-b] quit
# Assign an IP address, enable PIM-SM and LDP capability on the public network interface
GigabitEthernet 2/1/1.
[PE3] interface GigabitEthernet 2/1/1
[PE3-GigabitEthernet2/1/1] ip address 192.168.8.1 24
[PE3-GigabitEthernet2/1/1] pim sm
[PE3-GigabitEthernet2/1/1] mpls
[PE3-GigabitEthernet2/1/1] mpls ldp
[PE3-GigabitEthernet2/1/1] quit
# Bind GigabitEthernet 2/1/2 to VPN instance a, configure an IP address and enable PIM-SM on
the interface.
[PE3] interface GigabitEthernet 2/1/2
[PE3-GigabitEthernet2/1/2] ip binding vpn-instance a
[PE3-GigabitEthernet2/1/2] ip address 10.110.5.1 24
[PE3-GigabitEthernet2/1/2] pim sm
[PE3-GigabitEthernet2/1/2] quit
# Bind GigabitEthernet 2/1/3 to VPN instance b, configure an IP address and enable PIM-SM on
the interface.
266

Advertisement

Table of Contents
loading

Table of Contents