Configuring a DHCP SIP Server (CLI Procedure)
You can use the sip-server statement on the EX Series switch to configure option 120 on a DHCP server. The DHCP server sends configured option values—Session Initiation Protocol (SIP) server addresses or names—to DHCP clients when they request them. Previously, you were only allowed to specify a SIP server by address using [edit system services dhcp option 120]. You specify either an IPv4 address or a fully qualified domain name to be used by SIP clients to locate a SIP server. You cannot specify both an address and name in the same statement.
To configure a SIP server using the address option:
[edit system services dhcp]user@switch# set sip-server address
For example, to configure one address:
[edit system services dhcp]user@switch set sip-server 172.168.0.11
To configure a SIP server using the name option:
[edit system services dhcp]user@switch# set sip-server name
For example, to configure a name:
[edit system services dhcp]user@switch set sip-server abc.example.com
Related Topics
- DHCP Services for EX Series Switches Overview
- Junos OS System Basics Configuration Guide at http://www.juniper.net/techpubs/software/junos/index.html
