In this example the router is defined with a route. A router is initially defined as a local processor. The router attribute is then assigned to it.
Dynamic generation
/REMARK Definition of the VLAN device VLANDV
/REMARK Definition of the VLAN node VLANLN
/CREATE-PROCESSOR PROCESSOR-NAME=ROUTER-
/ ,ADMINISTRATION-TYPE=*BCAM
/CREATE-ROUTE ROUTE-NAME=ROUTER-
/ ,PROCESSOR-NAME=ROUTER-
/ ,PATH=*NODE(-
/ NODE-NAME=VLANND-
/ ,HOST-NAME=*STD-
/ ,LINE-NAME=VLANLN-
/ ,L3-PROTOCOL=*IP(-
/ L4-PROTOCOL=*TCP-
/ ,IP-ADDRESS= 172.25.0.1-
/ ,OWN-IP-ADDRESS=172.25.90.133-
/ ,LAN-ADDRESS=*DYNAMIC))
/MODIFY-ADDRESS-ASSIGNMENT ROUTE-NAME=ROUTER(ADD-IP-NET=*UNKNOWN)
Note
A router must be defined using SDF commands. Neither an AEC nor an DNS definition is permissible as the assignment of the router attribute is then not possible.