Skip to content

Instantly share code, notes, and snippets.

object-group network webservers
network-object host 10.1.1.11/24
network-object host 10.1.1.12/24
network-object host 10.1.1.13/24
object-group network dmzservers
network-object host 10.1.1.11/24
object-group network portalservers
network-object host 10.1.1.11/24
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit vjx1
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>vjx1</name>
<uuid>f4c001d5-4264-489a-af39-d9612488c487</uuid>
 bbennett  ~  ping6 fd26:891f:de0a:dead:beef::1
PING6(56=40+8+8 bytes) fd26:891f:de0a::2591:166a:1478:1010 --> fd26:891f:de0a:dead:beef::1
16 bytes from fd26:891f:de0a:dead:beef::1, icmp_seq=0 hlim=64 time=1.100 ms
16 bytes from fd26:891f:de0a:dead:beef::1, icmp_seq=1 hlim=64 time=0.506 ms
16 bytes from fd26:891f:de0a:dead:beef::1, icmp_seq=2 hlim=64 time=0.339 ms
--- fd26:891f:de0a:dead:beef::1 ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.339/0.648/1.100/0.327 ms
[edit firewall ipv6-name WANv6-IN]
bbennett@erlite# set rule 100 protocol
ah egp fc icmp igp ipv6 ipv6-route mobility-header rdp shim6 udp xns-idp
all eigrp ggp icmpv6 ip ipv6-frag isis mpls-in-ip rohc skip udplite xtp
ax.25 encap gre idpr-cmtp ipcomp ipv6-icmp iso-tp4 ospf rspf st vmtp
dccp esp hip idrp ipencap ipv6-nonxt l2tp pim rsvp tcp vrrp
ddp etherip hmp igmp ipip ipv6-opts manet pup sctp tcp_udp wesp
/* comment */
modifier: keyword value2 value3 value4;
statement2;
statement3 value;
section {
statement4;
section 2 {
statement5 value5;
}
}
[root@cheerleader /zones/f2b43d91-cd4e-411d-b6b7-75ce1a38c25c/root]# echo '{"update_nics": [{"mac": "e2:8e:b1:48:32:08", "remove_tags": ["vlan_id"]}]}' | vmadm update f2b43d91-cd4e-411d-b6b7-75ce1a38c25c
Successfully updated VM f2b43d91-cd4e-411d-b6b7-75ce1a38c25c
[root@cheerleader /zones/f2b43d91-cd4e-411d-b6b7-75ce1a38c25c/root]# vmadm get f2b43d91-cd4e-411d-b6b7-75ce1a38c25c | json nics[
{
"interface": "net0",
"mac": "e2:8e:b1:48:32:08",
"vlan_id": 200,
"nic_tag": "admin",
"gateway": "192.168.1.1",
"ip": "192.168.1.63",
p-asn IX Action
64512 111111 0000000 000
65535 111111 1111111 111
IX
0 = All IXes
List of triggers:
alertmanager_critical: modifier(weechat_print)
=? "${tg_tag_nick} =~ ^AlertManager_ && ${tg_message} =~ ^[CRITICAL]"
~1 ".*" --> "${tg_prefix}\t${color:196}${tg_message_nocolor}"
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/12.3R4/junos">
<rpc>
<get-chassis-inventory>
</get-chassis-inventory>
</rpc>
</rpc-reply>
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.128 192.168.1.250;
option ubnt.unifi-address 192.168.1.34;
option routers 192.168.1.1;
}