-
Notifications
You must be signed in to change notification settings - Fork 13
8‐3 Delete Commands_jp
CLIから以下のdeleteコマンドを実行できます
python [file path]/network_sketcher.py [command] --master [master file path]- 以下のように[command] 、--master [master file path] の場所は変更可能
python [file path]/network_sketcher.py -master [master file path] [command]
レイヤ3インタフェースにIPアドレスを作成します。1回に1つのIPアドレスが作成できます。複数のIPアドレスの作成が可能です。
python [file path]/network_sketcher.py add ip_address [hostname] [layer3_portname] [ip_address/subnetmask] --master [master file path] - ex.
#python .\network_sketcher.py add ip_address 'L3SW2' 'Vlan 100' '192.168.100.100/24' --master "C:\work\[MASTER]test.xlsx"
--- Added IP Address Segment --- L3SW2,Vlan 100,192.168.100.100/24
インタフェースにVLAN等のレイヤ2セグメントを作成します。1回に1つのレイヤ2セグメントが作成できます。複数のレイヤ2セグメントの作成が可能です。
python [file path]/network_sketcher.py add ip_address [hostname] [layer2_portname] [l2segment_name] --master [master file path] - ex.
#python .\network_sketcher.py add l2_segment 'L3SW2' 'GigabitEthernet 0/0' 'addvlan999' --master "C:\work\[MASTER]test.xlsx"
--- Added l2 Segment --- L3SW2,GigabitEthernet 0/0,addvlan999
VLANインタフェース(SVI)等のレイヤ3インタフェースを作成します。
python [file path]/network_sketcher.py add virtual_port [hostname] [virtual_portname] --master [master file path] - ex.
#python .\network_sketcher.py add l2_segment 'L3SW2' 'GigabitEthernet 0/0' 'addvlan999' --master "C:\work\[MASTER]test.xlsx"
--- Added virtual Port --- L3SW2,addvlan 999
- Yusuke Ogawa - Security Architect, Cisco | CCIE#17583
SPDX-License-Identifier: Apache-2.0
Copyright 2023 Cisco Systems, Inc. and its affiliates
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.