set interface ge-0/0/0 unit0 family inet address 192.168.1.1/24
set interface ge-0/0/0 unit0 family inet6 address 2001:FFFF:FFFF:5::1/64
show | compare →設定確認
commit check →エラーチェック
commit →設定!!
設定後config
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.1.1/24;
}
family inet6 {
address 2001:FFFF:FFFF:5::1/64;
}
}
}
}
B)の設定例
set interface ge-0/0/0 unit0 family inet address 192.168.1.2/24
set interface ge-0/0/0 unit0 family inet6 address 2001:FFFF:FFFF:5::2/64
show | compare →設定確認
commit check →エラーチェック
commit →設定!!
設定後config
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 192.168.1.2/24;
}
family inet6 {
address 2001:FFFF:FFFF:5::2/64;
}
}
}
}
コメント