[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring the Virtual Interfaces

CLI Quick Configuration

To quickly configure the virtual interfaces, copy the following commands and paste them into the router terminal window:

[edit services pgcp]
set virtual-interface v1 media-service vpg1_core_rtp_ms4
set virtual-interface v1 media-service vpg1_core_sip_ms8
set virtual-interface v1 media-service vpg2_core_rtp_ms5
set virtual-interface v1 media-service vpg3_core_rtp_ms6
set virtual-interface v1 interface fe-1/1/1
set virtual-interface v2 media-service vpg1_peer_rtp_ms1
set virtual-interface v2 media-service vpg1_peer_sip_ms7
set virtual-interface v2 media-service vpg2_peer_rtp_ms2
set virtual-interface v2 media-service vpg3_peer_rtp_ms3
set virtual-interface v2 interface fe-1/1/2

Step-by-Step Procedure

To configure a virtual interface:

  1. Create a virtual interface for the backbone (service provider) side of the network. Specify the names of the media services that contains the NAT pool to be used for gates on the virtual interface that you are configuring, and specify the physical router interface.
    [edit services pgcp]
    edit virtual-interface v1
    [edit services pgcp virtual-interface v1]
    user@sp-pg-router#set media-service vpg1_core_rtp_ms4
    user@sp-pg-router#set media-service vpg1_core_sip_ms8
    user@sp-pg-router#set media-service vpg2_core_rtp_ms5
    user@sp-pg-router#set media-service vpg3_core_rtp_ms6
    user@sp-pg-router#set interface fe-1/1/1
  2. Create a virtual interface for the access (peering) side of the network. Specify the names of the media services that contains the NAT pool to be used for gates on the virtual interface that you are configuring, and specify the physical router interface.
    [edit services pgcp]
    edit virtual-interface v2
    [edit services pgcp virtual-interface v2]
    user@sp-pg-router#set media-service vpg1_peer_rtp_ms1
    user@sp-pg-router#set media-service vpg1_peer_sip_ms7
    user@sp-pg-router#set media-service vpg2_peer_rtp_ms2
    user@sp-pg-router#set media-service vpg3_peer_rtp_ms3
    user@sp-pg-router#set interface fe-1/1/2

Configuration Results

Display the results of the configuration.

[edit services pgcp virtual-interface v1]
user@sp-pg-router# show
virtual-interface v1 {
media-service [ vpg1_core_rtp_ms4 vpg1_core_sip_ms8 vpg2_core_rtp_ms5 vpg3_core_rtp_ms6 ];
interface fe-1/1/1.0;
}
virtual-interface v2 {
media-service [ vpg1_peer_rtp_ms1 vpg1_peer_sip_ms7 vpg2_peer_rtp_ms2 vpg3_peer_rtp_ms3 ];
interface fe-1/1/2.0;
}

[Contents] [Prev] [Next] [Index] [Report an Error]