test@ex4200# show ## Last changed: 2013-09-13 08:54:52 UTC version 12.3R4.6; system { host-name ex4200; time-zone asia/shanghai; root-authentication { encrypted-password "$1$5BEZr/QB$fIpJR2Py03r33.NfmFpxD/"; ## SECRET-DATA } name-server { 202.207.240.225; } login { user test { uid 101; class super-user; authentication { encrypted-password "$1$TrdyzO4r$w2u65TJLBbWUSuGWEEuxh1"; ## SECRET-DATA } } } services { ssh; telnet; web-management { http { port 80; interface [ ge-0/0/23.0 me0.0 ]; } } dhcp { traceoptions { file dhcp_logfile; level all; flag all; } } } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } chassis { auto-image-upgrade; } interfaces { ge-0/0/0 { unit 0 { family ethernet-switching { port-mode trunk; vlan { members all; } } } } ge-0/0/1 { unit 0 { family ethernet-switching { port-mode trunk; } } } ge-0/0/2 { unit 0 { family ethernet-switching { port-mode trunk; vlan { members all; } } } } ge-0/0/3 { unit 0 { family ethernet-switching; } } ge-0/0/4 { unit 0 { family inet { address 101.7.156.2/24; } } } ge-0/0/5 { unit 0 { family ethernet-switching; } } ge-0/0/6 { unit 0 { family inet { address 101.7.157.1/24; } } } ge-0/0/7 { unit 0 { family ethernet-switching; } } ge-0/0/8 { unit 0 { family inet { address 192.168.60.1/24; } } } ge-0/0/9 { unit 0 { family ethernet-switching; } } ge-0/0/10 { unit 0 { family inet { address 101.7.158.1/24; } } } ge-0/0/11 { unit 0 { family ethernet-switching; } } ge-0/0/12 { unit 0 { family inet { address 172.16.1.1/24; } } } ge-0/0/13 { unit 0 { family ethernet-switching; } } ge-0/0/14 { unit 0 { family inet { address 101.7.157.2/24; } } } ge-0/0/15 { unit 0 { family ethernet-switching; } } ge-0/0/16 { unit 0 { family inet { address 192.168.50.1/24; } } } ge-0/0/17 { unit 0 { family ethernet-switching; } } ge-0/0/18 { unit 0 { family inet { address 101.7.156.1/24; } } } ge-0/0/19 { unit 0 { family ethernet-switching; } } ge-0/0/20 { unit 0 { family ethernet-switching { port-mode access; } } } ge-0/0/21 { unit 0 { family ethernet-switching; } } ge-0/0/22 { unit 0 { family inet { address 101.7.158.2/24; } } } ge-0/0/23 { unit 0 { family ethernet-switching; } } ge-0/1/0 { unit 0 { family ethernet-switching; } } xe-0/1/0 { unit 0 { family ethernet-switching; } } ge-0/1/1 { unit 0 { family ethernet-switching; } } xe-0/1/1 { unit 0 { family ethernet-switching; } } ge-0/1/2 { unit 0 { family ethernet-switching; } } xe-0/1/2 { unit 0 { family ethernet-switching; } } ge-0/1/3 { unit 0 { family ethernet-switching; } } me0 { unit 0 { family inet { address 192.168.1.1/24; } } } vlan { unit 0 { family inet { dhcp { vendor-id Juniper-ex4200-24t; } } } unit 10 { family inet { address 192.168.10.1/24; } } unit 20 { family inet { address 192.168.20.1/24; } } unit 100 { description "VLAN 100"; family inet { address 192.168.100.1/24; } } unit 101 { family inet { address 192.168.101.1/24; } } } vme { unit 0 { family inet { dhcp { vendor-id Juniper-ex4200-24t; } } } } } protocols { igmp-snooping { vlan all; } rstp; lldp { interface all; } lldp-med { interface all; } } routing-instances { new_instance { instance-type virtual-router; interface ge-0/0/16.0; interface ge-0/0/18.0; interface ge-0/0/22.0; routing-options { static { route 172.16.1.0/24 next-hop 101.7.158.1; route 192.168.60.0/24 next-hop 101.7.156.2; } } } new_instance1 { instance-type virtual-router; interface ge-0/0/10.0; interface ge-0/0/12.0; interface ge-0/0/14.0; routing-options { static { route 192.168.50.0/24 next-hop 101.7.158.2; route 192.168.60.0/24 next-hop 101.7.157.1; } } } new_instance2 { instance-type virtual-router; interface ge-0/0/4.0; interface ge-0/0/6.0; interface ge-0/0/8.0; routing-options { static { route 192.168.50.0/24 next-hop 101.7.156.1; route 172.16.1.0/24 next-hop 101.7.157.2; } } } } ethernet-switching-options { storm-control { interface all; } } vlans { default { l3-interface vlan.0; } vlan10 { description "VLAN 10"; vlan-id 10; interface { ge-0/0/0.0; } l3-interface vlan.10; } vlan100 { vlan-id 100; l3-interface vlan.100; } vlan101 { vlan-id 101; l3-interface vlan.101; } vlan20 { description "VLAN 20"; vlan-id 20; l3-interface vlan.20; } } poe { interface all; } {master:0}[edit] test@ex4200#