百花开的 发表于 2016-9-18 00:28:54

如何通过网络连接到vsphere内部虚拟机的串口

本帖最后由 百花开的 于 2016-9-18 00:56 编辑


http://blog.inetsix.net/2014/08/ ... luster-virtual-srx/
root# run show configuration
## Last commit: 2016-09-17 16:54:10 UTC by root
version 12.1X47-D20.7;
system {
    autoinstallation {
      delete-upon-commit; ## Deletes upon change/commit
      traceoptions {
            level verbose;
            flag {
                all;
            }
      }
    }
    services {
      ssh;
      web-management {
            http {
                interface ge-0/0/0.0;
            }
      }
    }
    syslog {
      user * {
            any emergency;            
      }
      file messages {
            any any;
            authorization info;
      }
      file interactive-commands {
            interactive-commands any;
      }
    }
    license {
      autoupdate {
            url https://ae1.juniper.net/junos/key_retrieval;
      }
    }
    ## Warning: missing mandatory statement(s): 'root-authentication'
}
interfaces {
    ge-0/0/0 {
      unit 0;
    }
}
security {
    screen {                           
      ids-option untrust-screen {
            icmp {
                ping-death;
            }
            ip {
                source-route-option;
                tear-drop;
            }
            tcp {
                syn-flood {
                  alarm-threshold 1024;
                  attack-threshold 200;
                  source-threshold 1024;
                  destination-threshold 2048;
                  queue-size 2000; ## Warning: 'queue-size' is deprecated
                  timeout 20;
                }
                land;
            }
      }
    }
    policies {
      from-zone trust to-zone trust {
            policy default-permit {
                match {
                  source-address any;
                  destination-address any;
                  application any;
                }
                then {
                  permit;
                }
            }
      }
      from-zone trust to-zone untrust {
            policy default-permit {
                match {
                  source-address any;
                  destination-address any;
                  application any;
                }
                then {
                  permit;
                }
            }
      }                              
      from-zone untrust to-zone trust {
            policy default-deny {
                match {
                  source-address any;
                  destination-address any;
                  application any;
                }
                then {
                  deny;
                }
            }
      }
    }
    zones {
      security-zone trust {
            tcp-rst;
      }
      security-zone untrust {
            screen untrust-screen;
            interfaces {
                ge-0/0/0.0 {
                  host-inbound-traffic {
                        system-services {
                            http;
                            https;
                            ssh;
                            telnet;
                            dhcp;
                        }
                  }
                }
            }
      }
    }
}







Rockyw 发表于 2016-9-18 12:03:55

路过了解一下
页: [1]
查看完整版本: 如何通过网络连接到vsphere内部虚拟机的串口