반응형

(config) # show images

(config) # show version

(config) # no boot next fallback-reboot enable

(config) # image fetch scp://user:password@192.168.1.25/builds/hdd511xx.img

(config) # image install hdd511xx.img

(config) # show uboot

(config) # uboot install

(config) # coreboot install

(config) # image boot next

(config) # write mem

(config) # reload

(config) # write mem

 

 

/var/opt/tms/images/

반응형
반응형

Commands used to install default packages required and user created for installing stack.

=========================================================================================        

    1. vi /etc/netplan/......yaml  ===> Modify your NIC settings

    3  sudo add-apt-repository universe

    4  sudo apt install -y net-tools python3-pip socat python3-dev

    9  sudo reboot

   10  sudo apt update

   11  sudo apt upgrade

   12  ifconfig

   13  sudo useradd -s /bin/bash -d /opt/stack -m stack

   14  echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack

   15  sudo su - stack

Commands used to download devstack packages and add local.conf.

===============================================================

    1  git clone https://git.openstack.org/openstack-dev/devstack

    2  cd devstack/

    3  vi local.conf                    ====>  Please refer local.conf file below

    4  ./stack.sh                   ===> Which does openstack installation

Commands used to add network configurations:

============================================

 

   12  source admin-openrc.sh

   13  neutron net-create --provider:network_type flat --provider:physical_network public --router:external --shared public

   14  neutron subnet-create --name public_subnet --enable_dhcp=False --allocation-pool start=7.7.101.101,end=7.7.101.200 --gateway=7.7.101.254 public 7.7.101.0/24

          neutron subnet-create --name public_subnet --enable_dhcp=False --allocation-pool start=10.10.10.101,end=10.10.10.200 --gateway=10.10.10.254 public 10.10.10.0/24

   15  neutron net-create mgmt

   16  neutron subnet-create --name mgmt_subnet --gateway=192.168.89.1 mgmt 192.168.89.0/24

   17  neutron router-create router1

   18  neutron router-interface-add router1 mgmt_subnet

   19  neutron router-gateway-set router1 public

 

Local.conf

==========

 

stack@gigamon:~/devstack$ cat local.conf

[[local|localrc]]

ADMIN_PASSWORD=abcdefg

HOST_IP=10.10.10.100

SERVICE_HOST=$HOST_IP

MYSQL_HOST=$HOST_IP

RABBIT_HOST=$HOST_IP

GLANCE_HOSTPORT=10.10.10.100:9292

#GLANCE_LIMIT_IMAGE_SIZE_TOTAL=32768

GLANCE_LIMIT_IMAGE_SIZE_TOTAL=102400

ADMIN_PASSWORD=$ADMIN_PASSWORD

SERVICE_TOKEN=$ADMIN_PASSWORD

DATABASE_PASSWORD=$ADMIN_PASSWORD

RABBIT_PASSWORD=$ADMIN_PASSWORD

SERVICE_PASSWORD=$ADMIN_PASSWORD

ENABLE_HTTPD_MOD_WSGI_SERVICES=True

KEYSTONE_USE_MOD_WSGI=True

## Neutron options

Q_USE_SECGROUP=True

PUBLIC_INTERFACE=enx00e04e3bc05f

# Open vSwitch provider networking configuration

Q_USE_PROVIDERNET_FOR_PUBLIC=True

OVS_PHYSICAL_BRIDGE=br-ex

PUBLIC_BRIDGE=br-ex

OVS_BRIDGE_MAPPINGS=public:br-ex

LOGFILE=$DEST/logs/stack.sh.log

VERBOSE=True

ENABLE_DEBUG_LOG_LEVEL=True

ENABLE_VERBOSE_LOG_LEVEL=True

GIT_BASE=${GIT_BASE:-https://git.openstack.org}

 

MULTI_HOST=1

 

[[post-config|$NOVA_CONF]]

[DEFAULT]

firewall_driver=nova.virt.firewall.NoopFirewallDriver

novncproxy_host=0.0.0.0

novncproxy_port=6080

scheduler_default_filters=RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,PciPassthroughFilter,NUMATopologyFilter

#[libvirt]

#live_migration_uri = qemu+ssh://stack@%s/system

##cpu_mode = none

#cpu_mode = host-passthrough

#virt_type = kvm

 

This is your host IP address: 7.7.101.2

This is your host IPv6 address: ::1

Horizon is now available at http://7.7.101.2/dashboard

Keystone is serving at http://7.7.101.2/identity/

The default users are: admin and demo

The password: gigamon

Services are running under systemd unit files.

For more information see:

https://docs.openstack.org/devstack/latest/systemd.html

DevStack Version: 2023.1

Change: 48af5d4b1bf5332c879ee52fb4686874b212697f Make rockylinux job non-voting 2023-02-14 17:11:24 +0100

OS Version: Ubuntu 20.04 focal

 

Nova.conf & Nova-cpu.conf

=========================

[libvirt]

live_migration_uri = qemu+ssh://stack@%s/system

#cpu_model = Nehalem

#cpu_mode = custom

cpu_mode = host-model

cpu_model_extra_flags = vmx

virt_type = kvm

 

glance usage

 

V-Series Image Settings

========================

kt@openstack:~$ openstack image set --property hw_vif_multiqueue_enabled=true b0181c20-d192-4006-b681-09fd2df65c5d

kt@openstack:~$ openstack image show b0181c20-d192-4006-b681-09fd2df65c5d

 

Next Step Create flavor for V-Series

=====================================

Configure flavor for V-series settings

=======================================

 (?)openstack flavor set vseries --property dpdk=true --property hw:cpu_policy=dedicated --property hw:mem_page_size=1GB --property hw:emulator_threads_policy=isolate

FM SSH credentials: admin/openstack123A!!

==============================

Commands to get the default FM GUI Password:  wget -q -O - http://169.254.169.254/latest/meta-data/instance-id

Above one could be used for first time FM Login

FM http credentials: admin/openstack123A!!

==================================================

If you're not using DNS server edit the file "/etc/hosts" and add the openstack server ip.

This will help in resolving the URL during monitoring domain creation

G-vTAP Agent

===================================================

download files

- strongSwan TAR Files

- gtap-agent_xxx.rpm

- gvtap.te file

 

# checkmodule -M -m -o gvtap.mod gvtap.te

# semodule_package -o gvtap.pp -m gvtap.mod

# semodule -i gvtap.pp

# yum install python3

# yum install python-urllib3

# yum install iproute-tc

# pip3 install urllib3

# pip3 install requests

# pip3 install netifaces

 

https://www.tecmint.com/disable-selinux-on-centos-8/

https://www.psychz.net/client/question/ko/turn-off-firewall-centos-7.html

 

 

# rpm -ivh gvtap-agent_xxx.rpm

# vi /etc/gvtap/gvtap-agent.conf

  eth0 mirror-src-ingress mirror-src-egress mirror-dst

# /etc/init.d/gvtap-agent restart

# tar -xvfpz strongswan-xxx.tar.gz

# cd strongswan-xxx

# sh ./swan-install.sh

 

 

 

[root@centos1 ~]# setenforce 0

[root@centos1 ~]# setenforce Permissive

[root@centos1 ~]# sestatus

SELinux status:                 enabled

SELinuxfs mount:                /sys/fs/selinux

SELinux root directory:         /etc/selinux

Loaded policy name:             targeted

Current mode:                   permissive

Mode from config file:          enforcing

Policy MLS status:              enabled

Policy deny_unknown status:     allowed

Max kernel policy version:      31

[root@centos1 ~]#

Tools vxlan 설정

ip link add vxlan199 type vxlan id 1005 dev eth0 dstport 4789

sudo ip link set vxlan199 up

tcpdump -nvi vxlan199

 

Tools L2GRE 설정

ip link add name gre1 type gretap local 10.0.0.2 remote 8.8.8.8 key 1234

ip link set gre1 up

sudo gvtapl mirror-list

 

V Series

apiv /stats

apiv /stats/teps

/var/log/로그

 sudo ovs-vsctl del-port vxlan0

  sudo ovs-vsctl del-port vxlan1

 sudo ovs-tcpdump -i tapd3eaa48f-ba

=========================================================

Use ip from iproute2. (You need to also specify the prefix length though.)

ip addr del 10.22.30.44/16 dev eth0

To remove all addresses (in case you have multiple):

ip addr flush dev eth0

반응형
반응형

Configure GigaVUE Fabric Components in OpenStack (gigamon.com)

GigaVUE Cloud Suite > GigaVUE Cloud Suite for Third Party Orchestration > Deploy GigaVUE Cloud Suite for Third Party Orchestration > Configure GigaVUE Fabric Components in OpenStack

Configure GigaVUE Fabric Components in OpenStack

This section provides step-by-step information on how to register GigaVUE fabric components using OpenStack or a configuration file.

Keep in mind the following when deploying the fabric components using generic mode:

  • Ensure that the Traffic Acquisition Tunnel MTU is set to the default value of 1450. To edit the Traffic Acquisition Tunnel MTU, select the monitoring domain and click on the Edit Monitoring Domain option. Enter the Traffic Acquisition Tunnel MTU value and click Save.
  • Before deploying the monitoring session ensure that the appropriate Traffic Acquisition Tunnel MTU value is set. Otherwise, the monitoring session must be un-deployed and deployed again.
  • You can also create a monitoring domain under Third Party Orchestration and provide the monitoring domain name and the connection name as groupName and subGroupName in the registration data. Refer to Create Monitoring Domain for more detailed information on how to create monitoring domain under third party orchestration.
  • User and Password provided in the registration data must be configured in the User Management page. Refer to Configure Role-Based Access for Third Party Orchestration for more detailed information. Enter the UserName and Password created in the Add Users Section.

In your OpenStack Dashboard, you can configure the following GigaVUE fabric components:

Configure G-vTAP Controller in OpenStack

You can configure more than one G-vTAP Controller in a monitoring domain.

To register G-vTAP Controller in OpenStack, use any one of the following methods:

Register G-vTAP Controller during Instance Launch

In your OpenStack dashboard, to launch the G-vTAP Controller and register G-vTAP Controller using Customization Script, follow the steps given below:

  1. On the Instance page of OpenStack dashboard, click Launch instance. The Launch Instance wizard appears. For detailed information, refer to Launch and Manage Instances topic in OpenStack Documentation.
  2. On the Configuration tab, enter the Customization Script as text in the following format and deploy the instance. The G-vTAP Controller uses this registration data to generate config file (/etc/gigamon-cloud.conf) used to register with GigaVUE-FM.

     

    #cloud-config

    write_files:

    - path: /etc/gigamon-cloud.conf

    owner: root:root

    permissions: '0644'

    content:

    Registration:

    groupName: <Monitoring Domain Name>

    subGroupName: <Connection Name>

    user: <Username>

    password: <Password>

    remoteIP: <IP address of the GigaVUE-FM>

    remotePort: 443
    The G-vTAP Controller deployed in OpenStack appears on the Monitoring Domain page of GigaVUE-FM.

    Register G-vTAP Controller after Instance Launch
    Note:  You can configure more than one G-vTAP Controller for a G-vTAP Agent, so that if one G-vTAP Controller goes down, the G-vTAP Agent registration will happen through another Controller that is active.
    To register G-vTAP Agent after launching a Instance using a configuration file, follow the steps given below:
  1. Log in to the G-vTAP Controller.
  2. Create a local configuration file (/etc/gigamon-cloud.conf) and enter the following Customization Script. 

     

    Registration:

    groupName: <Monitoring Domain Name>

    subGroupName: <Connection Name>

    user: <Username>

    password: <Password>

    remoteIP: <IP address of the GigaVUE-FM>

    remotePort: 443
  3. Restart the G-vTAP Controller service.


    $ sudo service gvtap-cntlr restart
    The deployed G-vTAP Controller registers with the GigaVUE-FM. After successful registration the G-vTAP Controller sends heartbeat messages to GigaVUE-FM every 30 seconds. If one heartbeat is missing ,the fabric node status appears as 'Unhealthy'. If more than five heartbeats fail to reach GigaVUE-FM, GigaVUE‑FM tries to reach the G-vTAP Controller and if that fails as well then GigaVUE‑FM unregisters the G-vTAP Controller and it will be removed from GigaVUE‑FM.

Note:  When you deploy V Series nodes or G-vTAP Controllers using 3rd party orchestration, you cannot delete the monitoring domain without unregistering the V Series nodes or G-vTAP Controllers.

Configure G-vTAP Agent in OpenStack

Note:  You can configure more than one G-vTAP Controller for a G-vTAP Agent, so that if one G-vTAP Controller goes down, the G-vTAP Agent registration will happen through another Controller that is active.

To register G-vTAP Agent using a configuration file:

  1. Install the G-vTAP Agent in the Linux or Windows platform. For detailed instructions, refer to Linux G-vTAP Agent Installation and Windows G-vTAP Agent Installation.
  2. Log in to the G-vTAP Agent.
  3. Edit the local configuration file and enter the following Customization Script.
  4. Restart the G-vTAP Agent service.

The deployed G-vTAP Agent registers with the GigaVUE-FM through the G-vTAP Controller. After successful registration the G-vTAP Agent sends heartbeat messages to GigaVUE-FM every 30 seconds. If one heartbeat is missing, G-vTAP Agent status appears as 'Unhealthy'. If more than five heartbeats fail to reach GigaVUE-FM, GigaVUE‑FM tries to reach the G-vTAP Agent and if that fails as well then GigaVUE‑FM unregisters the G-vTAP Agent and it will be removed from GigaVUE‑FM.

Configure GigaVUE V Series Nodes and V Series Proxy in OpenStack

Note:  It is not mandatory to register GigaVUE V Series Nodes via V Series proxy however, if there is a large number of nodes connected to GigaVUE-FM or if the user does not wish to reveal the IP addresses of the nodes, then you can register your nodes using GigaVUE V Series Proxy. In this case, GigaVUE-FM communicates with GigaVUE V Series Proxy to manage the GigaVUE V Series Nodes.

To register GigaVUE V Series Node and GigaVUE V Series Proxy in OpenStack, use any one of the following methods:

Register V Series Nodes or V Series Proxy during Instance Launch

To register V Series nodes or proxy using the Customization Script in OpenStack GUI:

  1. On the Instance page of OpenStack dashboard, click Launch instance. The Launch Instance wizard appears. For detailed information, refer to Launch and Manage Instances topic in OpenStack Documentation.
  2. On the Configuration tab, enter the Customization Script as text in the following format and deploy the instance. The V Series nodes or V Series proxy uses this customization script to generate config file (/etc/gigamon-cloud.conf) used to register with GigaVUE-FM

    #cloud-config

    write_files:

    - path: /etc/gigamon-cloud.conf

    owner: root:root

    permissions: '0644'

    content:

    Registration:

    groupName: <Monitoring Domain Name>

    subGroupName: <Connection Name>

    user: <Username>

    password: <Password>

    remoteIP: <IP address of the GigaVUE-FM>

    remotePort: 443
  • You can register your GigaVUE V Series Nodes directly with GigaVUE‑FM or you can use V Series proxy to register your GigaVUE V Series Nodes with GigaVUE‑FM. If you wish to register GigaVUE V Series Nodes directly, enter the remotePort value as 443 and the remoteIP as <IP address of the GigaVUE‑FM> or if you wish to deploy GigaVUE V Series Nodes using V Series proxy then, enter the remotePort value as 8891 and remoteIP as <IP address of the Proxy>.
  • User and Password must be configured in the User Management page. Refer to Configure Role-Based Access for Third Party Orchestration for more detailed information. Enter the UserName and Password created in the Add Users Section.

Register V Series Node or V Series Proxy after Instance Launch

To register V Series node or proxy using a configuration file:

  1. Log in to the V Series node or proxy.
  2. Edit the local configuration file (/etc/gigamon-cloud.conf) and enter the following customization script.


     

    Registration:

    groupName: <Monitoring Domain Name>

    subGroupName: <Connection Name>

    user: <Username>

    password: <Password>

    remoteIP: <IP address of the GigaVUE-FM>

    remotePort: 443
  3. Restart the V Series node or proxy service. 

 

출처: <https://docs.gigamon.com/doclib62/Content/GV-Cloud-third-party/Deploy_nodes_openstack.html>

 

 

 

ubuntu@vtap-ctrl:/etc$ more gigamon-cloud.conf

Registration:

groupName: kt

subGroupName: kt

auth: Basic a3Q6Z2lnYW1vbjEyM0EhIQ==

remoteIP: 172.25.0.17

remotePort: 443

반응형
반응형

반응형
반응형

반응형
반응형

반응형

'업무이야기 > 패킷전달플랫폼' 카테고리의 다른 글

Gigamon Basics: Building a Flow Map  (0) 2022.06.13
Gigamon Basics: Configuring Ports  (0) 2022.06.13
Gigamon Clustering #2  (0) 2021.06.11
Gigamon Clustering #1  (0) 2021.06.11
GigaSALES Certification Test  (0) 2021.03.29
반응형

Cluster B 5.9.00

TA10 [1717: normal] (config) # show running-config 
##
## Running database "initial"
## Generated at 2021/04/28 16:50:40 +0900
## Software version on which this output was taken: GigaVUE-OS 5.9.00 172922 2020-04-01 08:04:02
## Hostname: TA10
##
## Note: If you are not an admin user some command invocations may be omitted
## because you do not have permissions to see them.
##

##
## Network interface configuration
##
interface inband
  create
  exit
interface eth0
  no dhcp
  ip address 10.11.11.221 /24
  exit
interface inband
  comment ""
  no dhcp
  display
  duplex auto
  mtu 1500
  no shutdown
  speed auto
  no zeroconf
  exit

##
## Network interface IPv6 configuration
##
interface inband
  no ipv6 address autoconfig
  ipv6 address autoconfig default
  no ipv6 address autoconfig privacy
  no ipv6 dhcp client enable
  ipv6 enable
  exit

##
## Routing configuration
##
ip default-gateway 10.11.11.254

##
## Other IP configuration
##
hostname TA10
ip name-server 8.8.8.8

##
## Other IPv6 configuration
##
no ipv6 enable

##
## Local user account configuration
##
username admin password 7 $1$h1kkZTiM$YG/C.yQme.xM/aIT/4MvB/
no username sbbaek disable
username sbbaek full-name ""
username sbbaek password 7 $1$/WFiHiD1$YDm2QkykG1hRcZFawhx6h1
username sbbaek roles replace admin
no username wins disable
username wins full-name "System Administrator"
username wins password 7 $1$Yo9pcPYJ$3LljDLRnhZ1wSlST6Sp8U1
username wins roles replace admin

##
## AAA remote server configuration
##
# ldap bind-password ********
# radius-server key ********
# tacacs-server key ********

##
## AAA configuration
##
aaa authentication login default tacacs+ local

##
## Chassis level configurations
##
chassis box-id 1 serial-num C1399 type hc2 gdp disable
chassis box-id 2 serial-num D0388 type ta10 gdp disable

##
## Card level configurations
##
card slot 1/1  product-code 132-00BQ
card slot 1/3  product-code 132-00BK
card slot 1/cc1  product-code 132-00AN
card slot 2/1  product-code 132-00CC mode 48x noconfirm

##
## Port level configurations
##
port 1/1/x1 type network
port 1/1/x2 type network
port 1/1/x3 type network
port 1/1/x4 type network
port 1/1/x5 type network
port 1/1/x6 type network
port 1/1/x7 type network
port 1/1/x8 type network
port 1/1/x9 type network
port 1/1/x10 type network
port 1/1/x11 type network
port 1/1/x12 type network
port 1/1/x13 type network
port 1/1/x14 type network
port 1/1/x15 type tool
port 1/1/x15 params admin enable
port 1/1/x16 type network
port 1/1/x17 type inline-net
port 1/1/x18 type inline-net
port 1/1/x19 type inline-net
port 1/1/x20 type inline-net
port 1/1/x21 type inline-net
port 1/1/x22 type inline-net
port 1/1/x23 type inline-net
port 1/1/x24 type inline-net
port 1/3/x1 type network
port 1/3/x2 type network
port 1/3/x3 type network
port 1/3/x4 type network
port 1/3/x4 params admin enable
port 1/3/x5 type stack
port 1/3/x5 params admin enable
port 1/3/x6 type stack
port 1/3/x6 params admin enable
port 1/3/x7 type stack
port 1/3/x7 params admin enable
port 1/3/x8 type stack
port 1/3/x8 params admin enable
port 1/3/x9 type network
port 1/3/x9 params admin enable
port 1/3/x10 type network
port 1/3/x11 type network
port 1/3/x12 type network
port 1/3/x13 type network
port 1/3/x13 params admin enable
port 1/3/x14 type network
port 1/3/x14 params admin enable
port 1/3/x15 type network
port 1/3/x15 params admin enable autoneg enable
port 1/3/x16 type network
port 1/3/x16 params admin enable autoneg enable
port 2/1/q1 type network
port 2/1/q2 type network
port 2/1/q3 type network
port 2/1/q4 type network
port 2/1/x1 type network
port 2/1/x2 type network
port 2/1/x3 type network
port 2/1/x4 type network
port 2/1/x5 type network
port 2/1/x6 type network
port 2/1/x7 type network
port 2/1/x8 type network
port 2/1/x9 type network
port 2/1/x10 type network
port 2/1/x11 type network
port 2/1/x12 type network
port 2/1/x13 type network
port 2/1/x14 type network
port 2/1/x15 type network
port 2/1/x16 type network
port 2/1/x17 type network
port 2/1/x18 type network
port 2/1/x19 type network
port 2/1/x20 type network
port 2/1/x21 type network
port 2/1/x22 type network
port 2/1/x23 type network
port 2/1/x24 type network
port 2/1/x25 type network
port 2/1/x25 params admin enable
port 2/1/x26 type network
port 2/1/x27 type network
port 2/1/x28 type network
port 2/1/x29 type network
port 2/1/x30 type network
port 2/1/x31 type network
port 2/1/x32 type network
port 2/1/x33 type network
port 2/1/x34 type network
port 2/1/x35 type network
port 2/1/x36 type network
port 2/1/x37 type tool
port 2/1/x37 params admin enable autoneg enable
port 2/1/x38 type tool
port 2/1/x38 params admin enable autoneg enable
port 2/1/x39 type network
port 2/1/x40 type network
port 2/1/x41 type network
port 2/1/x42 type network
port 2/1/x43 type network
port 2/1/x44 type network
port 2/1/x45 type stack
port 2/1/x45 params admin enable
port 2/1/x46 type stack
port 2/1/x46 params admin enable
port 2/1/x47 type stack
port 2/1/x47 params admin enable
port 2/1/x48 type stack
port 2/1/x48 params admin enable

##
## Gigastream hash configurations
##
gigastream advanced-hash slot 1/cc1 default
gigastream advanced-hash slot 2/1 default

##
## Gigastream configurations
##
gigastream alias GigaStream1
  port-list 1/3/x5,1/3/x6,1/3/x7,1/3/x8 params hash advanced
  exit
gigastream alias GigaStream2
  port-list 2/1/x45,2/1/x46,2/1/x47,2/1/x48 params hash advanced
  exit

##
## Stack Link configurations
##
stack-link alias st1 between gigastreams GigaStream1 and GigaStream2

##
## Inline-network configurations
##
inline-network alias default_inline_net_1_1_1
  pair net-a 1/1/x17 and net-b 1/1/x18
  physical-bypass enable
  traffic-path bypass
  exit
inline-network alias default_inline_net_1_1_2
  pair net-a 1/1/x19 and net-b 1/1/x20
  physical-bypass disable
  traffic-path bypass
  exit
inline-network alias default_inline_net_1_1_3
  pair net-a 1/1/x21 and net-b 1/1/x22
  physical-bypass enable
  traffic-path bypass
  exit
inline-network alias default_inline_net_1_1_4
  pair net-a 1/1/x23 and net-b 1/1/x24
  physical-bypass enable
  traffic-path bypass
  exit

##
## Port-pair connection configurations
##
port-pair alias Pair1 between 1/3/x13 and 1/3/x15 lfp enable
port-pair alias Pair2 between 1/3/x14 and 1/3/x16 lfp enable

##
## Traffic map connection configurations
##
map alias dedup
  type regular byRule
  roles replace admin to owner_roles
  rule add pass macdst 0000.0000.0000 0000.0000.0000 bidir
  to 2/1/x37
  from 2/1/x25
  exit
map-passall alias intooob
  roles replace admin to owner_roles
  to 1/1/x15
  from 1/1/x19,1/1/x20
  exit

##
## SNMP configuration
##
snmp-server community 9fa97e11de17 
no snmp-server host 10.10.10.164 disable
snmp-server host 10.10.10.164 traps port 162 version 2c 9fa97e11de17
snmp-server throttle event linkspeedstatuschange interval 60 report-threshold 1
snmp-server throttle event packetdrop interval 60 report-threshold 1
snmp-server throttle event rxtxerror interval 60 report-threshold 1
no snmp-server traps event inlinetoolrecovery
no snmp-server traps event process-cpu-threshold
no snmp-server traps event process-mem-threshold
no snmp-server traps event system-cpu-threshold
no snmp-server traps event system-mem-threshold

##
## Cluster configuration
##
cluster id 1717
cluster master address vip 10.11.11.222 /24
cluster name 1717
cluster shared-secret qwertyuiopasdfghjkl
cluster enable

##
## X.509 certificates configuration
##
#
# Certificate name system-self-signed, ID 1a0571fba61930520ea3c54d3ccf14cb75a86f54
# (public-cert config omitted since private-key config is hidden)


##
## Web configuration
##
# web proxy auth basic password ********

##
## Time/NTP configuration
##
clock timezone Asia Southeast Seoul

##
## E-mail configuration
##
# email auth password ********
# email autosupport auth password ********
TA10 [1717: normal] (config) #  

 

 

반응형
반응형

Cluster A 5.9.00

wins-gigamon [1717: master] (config) # show running-config 
##
## Running database "20210428_backup"
## Generated at 2021/04/28 16:51:51 +0900
## Software version on which this output was taken: GigaVUE-OS 5.9.00 172922 2020-04-01 08:04:52
## Hostname: wins-gigamon
##
## Note: If you are not an admin user some command invocations may be omitted
## because you do not have permissions to see them.
##

##
## Network interface configuration
##
interface eth1
  create
  exit
interface inband
  create
  exit
interface eth0
  no dhcp
  ip address 10.11.11.220 /24
  exit
interface eth1
  comment ""
  dhcp
  display
  duplex auto
  mtu 1500
  no shutdown
  speed auto
  no zeroconf
  exit
interface eth2
  no zeroconf
  exit
interface inband
  comment ""
  no dhcp
  display
  duplex auto
  mtu 1500
  no shutdown
  speed auto
  zeroconf
  exit

##
## Network interface IPv6 configuration
##
interface eth0
  no ipv6 dhcp client enable
  exit
interface eth1
  no ipv6 address autoconfig
  ipv6 address autoconfig default
  no ipv6 address autoconfig privacy
  no ipv6 dhcp client enable
  ipv6 enable
  exit
interface inband
  no ipv6 address autoconfig
  ipv6 address autoconfig default
  no ipv6 address autoconfig privacy
  no ipv6 dhcp client enable
  ipv6 enable
  exit

##
## Routing configuration
##
ip default-gateway 10.11.11.254 eth0

##
## Other IP configuration
##
hostname wins-gigamon

##
## Other IPv6 configuration
##
no ipv6 enable

##
## Local user account configuration
##
username admin password 7 $1$h1kkZTiM$YG/C.yQme.xM/aIT/4MvB/
no username sbbaek disable
username sbbaek full-name ""
username sbbaek password 7 $1$/WFiHiD1$YDm2QkykG1hRcZFawhx6h1
username sbbaek roles replace admin
no username wins disable
username wins full-name "System Administrator"
username wins password 7 $1$Yo9pcPYJ$3LljDLRnhZ1wSlST6Sp8U1
username wins roles replace admin

##
## AAA remote server configuration
##
# ldap bind-password ********
# radius-server key ********
# tacacs-server key ********

##
## AAA configuration
##
aaa authentication login default tacacs+ local

##
## Chassis level configurations
##
chassis box-id 1 serial-num C1399 type hc2 gdp disable
chassis box-id 2 serial-num D0388 type ta10 gdp disable

##
## Card level configurations
##
card slot 1/1  product-code 132-00BQ
card slot 1/3  product-code 132-00BK
card slot 1/cc1  product-code 132-00AN
card slot 2/1  product-code 132-00CC mode 48x noconfirm

##
## Port level configurations
##
port 1/1/x1 type network
port 1/1/x2 type network
port 1/1/x3 type network
port 1/1/x4 type network
port 1/1/x5 type network
port 1/1/x6 type network
port 1/1/x7 type network
port 1/1/x8 type network
port 1/1/x9 type network
port 1/1/x10 type network
port 1/1/x11 type network
port 1/1/x12 type network
port 1/1/x13 type network
port 1/1/x14 type network
port 1/1/x15 type tool
port 1/1/x15 params admin enable
port 1/1/x16 type network
port 1/1/x17 type inline-net
port 1/1/x17 params speed 1000
port 1/1/x18 type inline-net
port 1/1/x18 params speed 1000
port 1/1/x19 type inline-net
port 1/1/x19 params admin enable speed 1000
port 1/1/x20 type inline-net
port 1/1/x20 params admin enable speed 1000
port 1/1/x21 type inline-net
port 1/1/x21 params speed 1000
port 1/1/x22 type inline-net
port 1/1/x22 params speed 1000
port 1/1/x23 type inline-net
port 1/1/x23 params admin enable speed 1000
port 1/1/x24 type inline-net
port 1/1/x24 params admin enable speed 1000
port 1/3/x1 type network
port 1/3/x2 type network
port 1/3/x3 type network
port 1/3/x4 type network
port 1/3/x4 params admin enable
port 1/3/x5 type stack
port 1/3/x5 params admin enable
port 1/3/x6 type stack
port 1/3/x6 params admin enable
port 1/3/x7 type stack
port 1/3/x7 params admin enable
port 1/3/x8 type stack
port 1/3/x8 params admin enable
port 1/3/x9 type network
port 1/3/x9 params admin enable
port 1/3/x10 type network
port 1/3/x11 type network
port 1/3/x12 type network
port 1/3/x13 type network
port 1/3/x13 params admin enable
port 1/3/x14 type network
port 1/3/x14 params admin enable
port 1/3/x15 type network
port 1/3/x15 params admin enable autoneg enable
port 1/3/x16 type network
port 1/3/x16 params admin enable autoneg enable
port 2/1/q1 type network
port 2/1/q2 type network
port 2/1/q3 type network
port 2/1/q4 type network
port 2/1/x1 type network
port 2/1/x2 type network
port 2/1/x3 type network
port 2/1/x4 type network
port 2/1/x5 type network
port 2/1/x6 type network
port 2/1/x7 type network
port 2/1/x8 type network
port 2/1/x9 type network
port 2/1/x10 type network
port 2/1/x11 type network
port 2/1/x12 type network
port 2/1/x13 type network
port 2/1/x14 type network
port 2/1/x15 type network
port 2/1/x16 type network
port 2/1/x17 type network
port 2/1/x18 type network
port 2/1/x19 type network
port 2/1/x20 type network
port 2/1/x21 type network
port 2/1/x22 type network
port 2/1/x23 type network
port 2/1/x24 type network
port 2/1/x25 type network
port 2/1/x25 params admin enable
port 2/1/x26 type network
port 2/1/x27 type network
port 2/1/x28 type network
port 2/1/x29 type network
port 2/1/x30 type network
port 2/1/x31 type network
port 2/1/x32 type network
port 2/1/x33 type network
port 2/1/x34 type network
port 2/1/x35 type network
port 2/1/x36 type network
port 2/1/x37 type tool
port 2/1/x37 params admin enable autoneg enable
port 2/1/x38 type tool
port 2/1/x38 params admin enable autoneg enable
port 2/1/x39 type network
port 2/1/x40 type network
port 2/1/x41 type network
port 2/1/x42 type network
port 2/1/x43 type network
port 2/1/x44 type network
port 2/1/x45 type stack
port 2/1/x45 params admin enable
port 2/1/x46 type stack
port 2/1/x46 params admin enable
port 2/1/x47 type stack
port 2/1/x47 params admin enable
port 2/1/x48 type stack
port 2/1/x48 params admin enable

##
## Gigastream hash configurations
##
gigastream advanced-hash slot 1/cc1 default
gigastream advanced-hash slot 2/1 default

##
## Gigastream configurations
##
gigastream alias GigaStream1
  port-list 1/3/x5,1/3/x6,1/3/x7,1/3/x8 params hash advanced
  exit
gigastream alias GigaStream2
  port-list 2/1/x45,2/1/x46,2/1/x47,2/1/x48 params hash advanced
  exit

##
## Stack Link configurations
##
stack-link alias st1 between gigastreams GigaStream1 and GigaStream2

##
## Gsgroup configurations
##
gsgroup alias GS1 port-list 1/3/e1

##
## Gs params configurations
##
gsparams gsgroup GS1
  3gpp-node-role disable
  5g-flow timeout 48
  cpu utilization type total rising 80
  dedup-action drop
  dedup-ip-tclass include
  dedup-ip-tos include
  dedup-tcp-seq include
  dedup-timer 50000
  dedup-vlan ignore
  diameter-packet timeout 2
  diameter-s6a-session limit 10000
  diameter-s6a-session timeout 30
  eng-watchdog-timer 60
  erspan3-timestamp format none
  flow-mask disable
  flow-sampling-rate 5
  flow-sampling-timeout 1
  flow-sampling-type device-ip
  generic-session-timeout 5
  gtp-control-sample enable
  gtp-flow timeout 48
  gtp-persistence disable
  gtp-persistence file-age-timeout 30
  gtp-persistence interval 10
  gtp-persistence restart-age-time 30
  gtp-randomsample disable
  gtp-randomsample interval 12
  ip-frag forward enable
  ip-frag frag-timeout 10
  ip-frag head-session-timeout 30
  lb failover disable
  lb failover-thres lt-bw 80
  lb failover-thres lt-pkt-rate 1000
  lb replicate-gtp-c disable
  lb use-link-spd-wt disable
  resource buffer-asf disable
  resource cpu overload-threshold 90
  resource hsm-ssl buffer disable
  resource hsm-ssl packet-buffer 1000
  resource inline-ssl standalone enable
  resource metadata disable
  resource packet-buffer overload-threshold 80
  resource xpkt-pmatch num-flows 0
  session logging level none
  sip-media timeout 30
  sip-nat disable
  sip-session timeout 30
  sip-tcp-idle-timeout 20
  ssl-decrypt decrypt-fail-action drop
  ssl-decrypt enable
  ssl-decrypt hsm-pkcs11 dynamic-object enable
  ssl-decrypt hsm-pkcs11 load-sharing enable
  ssl-decrypt hsm-timeout 1000
  ssl-decrypt key-cache-timeout 10800
  ssl-decrypt non-ssl-traffic drop
  ssl-decrypt pending-session-timeout 60
  ssl-decrypt session-timeout 300
  ssl-decrypt tcp-syn-timeout 20
  ssl-decrypt ticket-cache-timeout 10800
  tunnel-health-check action pass
  tunnel-health-check disable
  tunnel-health-check dstport 54321
  tunnel-health-check interval 600
  tunnel-health-check protocol icmp
  tunnel-health-check rcvport 54321
  tunnel-health-check retries 5
  tunnel-health-check roundtriptime 1
  tunnel-health-check srcport 54321
  xpkt-pmatch disable
  exit

##
## Gsop configurations
##
gsop alias Dedup dedup set port-list GS1

##
## Vport configurations
##
vport alias VP1 gsgroup GS1
vport alias VP1 failover-action vport-bypass
vport alias VP1 outer-traffic-path to-inline-tool
vport alias VP1 inner-traffic-path to-inline-tool
vport alias VP1 deferred-binding disable
vport alias VP1 mmon disable

##
## Inline-network configurations
##
inline-network alias default_inline_net_1_1_1
  pair net-a 1/1/x17 and net-b 1/1/x18
  physical-bypass enable
  traffic-path bypass
  exit
inline-network alias default_inline_net_1_1_2
  pair net-a 1/1/x19 and net-b 1/1/x20
  physical-bypass disable
  traffic-path bypass
  exit
inline-network alias default_inline_net_1_1_3
  pair net-a 1/1/x21 and net-b 1/1/x22
  physical-bypass enable
  traffic-path bypass
  exit
inline-network alias default_inline_net_1_1_4
  pair net-a 1/1/x23 and net-b 1/1/x24
  physical-bypass enable
  traffic-path bypass
  exit

##
## Port-pair connection configurations
##
port-pair alias Pair1 between 1/3/x13 and 1/3/x15 lfp enable
port-pair alias Pair2 between 1/3/x14 and 1/3/x16 lfp enable

##
## Traffic map connection configurations
##
map alias dedup
  type regular byRule
  roles replace admin to owner_roles
  use gsop Dedup
  rule add pass macdst 0000.0000.0000 0000.0000.0000 bidir
  to 2/1/x37
  from 2/1/x25
  exit
map-passall alias intooob
  roles replace admin to owner_roles
  to 1/1/x15
  from 1/1/x19,1/1/x20
  exit

##
## SNMP configuration
##
snmp-server community 9fa97e11de17 
no snmp-server host 10.10.10.164 disable
snmp-server host 10.10.10.164 traps port 162 version 2c 9fa97e11de17
snmp-server throttle event linkspeedstatuschange interval 60 report-threshold 1
snmp-server throttle event packetdrop interval 60 report-threshold 1
snmp-server throttle event rxtxerror interval 60 report-threshold 1
no snmp-server traps event inlinetoolrecovery
no snmp-server traps event process-cpu-threshold
no snmp-server traps event process-mem-threshold
no snmp-server traps event system-cpu-threshold
no snmp-server traps event system-mem-threshold

##
## Cluster configuration
##
cluster id 1717
cluster interface eth0
cluster master address primary ip 10.11.11.220 port 60102
cluster master address secondary ip 10.11.11.221 port 60102
cluster master address vip 10.11.11.222 /24
cluster master preference 90
cluster name 1717
cluster shared-secret qwertyuiopasdfghjkl
cluster enable

##
## X.509 certificates configuration
##
#
# Certificate name system-self-signed, ID 641af2864a5f06088b57a3bc49d4762dbcb108bb
# (public-cert config omitted since private-key config is hidden)


##
## Web configuration
##
# web proxy auth basic password ********

##
## Time/NTP configuration
##
clock timezone Asia Southeast Seoul

##
## E-mail configuration
##
# email auth password ********
# email autosupport auth password ********
wins-gigamon [1717: master] (config) #  

 

 

반응형

+ Recent posts