Configure Interfaces
For the interfaces on a router to function, you must configure them, specifying properties such as the interface location (that is, which slot the FPC is installed in and which location on the FPC the PIC is installed in), the interface type (such as SONET or ATM), encapsulation, and interface-specific properties. You can configure the interfaces that are currently present in the router, and you can also configure interfaces that are not currently present but that you might add in the future. When a configured interface appears, the JUNOS software detects its presence and applies the appropriate configuration to it. For more information on the general configuration of interfaces, see the JUNOS Internet Software Configuration Guide: Network Interfaces and Class of Service.
You can configure two different sets of properties at the interface level:
- Properties that apply to an entire AS PIC interface on a global level, including default values for system logging and timeout properties.
- Assignment of service sets and filters to a network interface.
To configure default properties for the AS PIC interface, you include the following statements at the [
edit interfaces] hierarchy level of the configuration:[edit]interfacessp-fpc/pic/port {services-options {inactivity-timeoutseconds;open-timeoutseconds;syslog {hosthostname{servicespriority-level;facility-overridefacility-name;log-prefixprefix-number;}}}}To apply services on network interfaces, you include the following statements at the [
edit interfaces] hierarchy level of the configuration:[edit]interfaces interface-name {unitlogical-unit-number{family inet {addressaddress{}service {input {[ service-setservice-set-names<service-filterfilter-name> ];post-service-filterfilter-name;}output {[ service-setservice-set-names<service-filterfilter-name> ];}}service-domain (inside | outside);}}