Upgrade to Pro — share decks privately, control downloads, hide ads and more …

instudystyle

KATSUYA
August 02, 2019

 instudystyle

KATSUYA

August 02, 2019
Tweet

More Decks by KATSUYA

Other Decks in Technology

Transcript

  1. Ansible Example code - hosts: iosxr gather_facts: no connection: local

    tasks: - name: configure interface settings iosxr_config: lines: - router static - router static vrf SHIMA - router static vrf SHIMA address-family ipv4 unicast ίʔυ͕ಡΈ΍͍͢ͷ͸ ࠾༻ཧ༝ʹͳΔ JOTUVEZTUZMF
  2. Ansible code - hosts: iosxr gather_facts: no connection: local tasks:

    - name: configure interface settings iosxr_config: lines: - ip address 172.31.1.1 255.255.255.0 - no shutdown parents: interface gi0/1/0/0 label: abcdefg ίʔυ͕ಡΈ΍͍͢ͷ͸ ࠾༻ཧ༝ʹͳΔ JOTUVEZTUZMF
  3. Show xrv#show configuration commit list Fri Jun 7 10:41:28.293 JST

    SNo. Label/ID User Line Client Time Stamp ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~ ~~~~~~~~~~ 1 abcdefg root vty0: CLI Fri Jun 7 10 JOTUVEZTUZMF