Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Copying a Statement in the Junos Configuration

    The following example shows how you can create one virtual connection (VC) on an interface, and then copy its configuration to create a second VC:

    [edit interfaces]user@host# show
    at-1/0/0 {description "PAIX to MAE West"encapsulation atm-pvc;unit 61 {point-to-point;vci 0.61;family inet {address 10.0.1.1/24;}}}
    [edit interfaces]user@host# edit at-1/0/0[edit interfaces at-1/0/0]user@host# copy unit 61 to unit 62[edit interfaces at-1/0/0]user@host# showdescription "PAIX to MAE West"encapsulation atm-pvc;
    unit 61 {point-to-point;vci 0.61;family inet {address 10.0.1.1/24;}}
    unit 62 {point-to-point;vci 0.61;family inet {address 10.0.1.1/24;}}

    Published: 2013-01-15