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

Configuring Physical Interfaces

CLI Quick Configuration

To quickly configure physical interfaces on the SP PG router, copy the following commands and paste them into the router terminal window:

[edit interfaces]
set fe-1/1/0 unit 0 family inet address 172.16.10.1
set fe-1/1/0 unit 0 family inet address 172.16.20.2
set fe-1/1/0 unit 0 family inet address 172.16.30.3
set fe-1/1/1 description peer
set fe-1/1/1 unit 0 family inet address 11.0.0.1
set fe-1/1/1 unit 0 family inet6 address 2001:db8:12:3::1/112
set fe-1/1/2 description core
set fe-1/1/2 unit 0 family inet address 10.0.0.1
set fe-1/1/2 unit 0 family inet6 address 2001:db8:14:4::1/112

Step-by-Step Procedure

To configure physical interfaces on the SP PG router:

  1. Configure an interface with the addresses of the VPGs.
    [edit interfaces]
    user@sp-pg-router# edit fe-1/1/0 unit 0 family inet
    [edit interfaces fe-1/1/0 unit 0 family inet]
    user@sp-pg-router# set address 172.16.10.1
    user@sp-pg-router# set address 172.16.20.2
    user@sp-pg-router# set address 172.16.30.3
  2. Configure an interface for the connection to the peering router.
    [edit interfaces]
    user@sp-pg-router# edit fe-1/1/1
    [edit interfaces fe-1/1/1]
    user@sp-pg-router# set description peer
    user@sp-pg-router# set unit 0 family inet address 11.0.0.1
    user@sp-pg-router# set unit 0 family inet6 address 2001:db8:12:3::1/112
  3. Configure an interface for the connection to the IP phone.
    [edit interfaces]
    user@sp-pg-router# edit fe-1/1/2
    [edit interfaces fe-1/1/2]
    user@sp-pg-router# set description core
    user@sp-pg-router# set unit 0 family inet address 10.0.0.1
    user@sp-pg-router# set unit 0 family inet6 address 2001:db8:14:4::1/112

Configuration Results

Display the results of the configuration.

[edit interfaces]
user@sp-pg-router# show
fe-1/1/0 {
unit 0 {
family inet {
address 172.16.10.1/32;
address 172.16.20.2/32;
address 172.16.30.3/32;
}
}
}
fe-1/1/1 {
description peer;
unit 0 {
family inet {
address 11.0.0.1/32;
}
family inet6 {
address 2001:db8:12:3::1/112;
}
}
}
fe-1/1/2 {
description core;
unit 0 {
family inet {
address 10.0.0.1/32;
}
family inet6 {
address 2001:db8:14:4::1/112;
}
}
}

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