|
bald
发表于 2021-5-18 01:11:42
interfaces {
fe-0/0/0 {
unit 0 {
family inet {
address 202.100.1.10/24;
}
}
}
fe-0/0/1 {
unit 0 {
family ethernet-switching {
vlan {
members 102;
}
}
}
}
fe-0/0/2 {
vlan-tagging;
unit 5 {
vlan-id 5;
family inet {
address 10.1.1.10/24;
}
}
unit 6 {
vlan-id 6;
family inet {
address 10.1.2.10/24;
}
}
}
fe-0/0/3 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members 4;
}
}
}
}
vlan {
unit 4 {
family inet {
address 192.168.1.10/24;
}
}
unit 102 {
family inet {
address 202.100.2.10/24;
}
}
}
}
security {
zones {
security-zone Outside {
interfaces {
fe-0/0/0.0;
vlan.102;
}
}
security-zone Inside1 {
interfaces {
fe-0/0/2.5;
}
}
security-zone Inside2 {
interfaces {
fe-0/0/2.6;
}
}
security-zone dmz {
interfaces {
vlan.4;
}
}
}
}
vlans {
dmz {
vlan-id 4;
l3-interface vlan.4;
}
vlan-sp2 {
vlan-id 102;
l3-interface vlan.102;
}
} |
|