Cisco menambahkan ip route static & menghapus

7 May

1. perintah cisco untuk melihat konfigurasi ip route yang sudah ada / terdaftar

CORE-SWITCH#show ip route
Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP
D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area
N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2
E1 – OSPF external type 1, E2 – OSPF external type 2, E – EGP
i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2
ia – IS-IS inter area, * – candidate default, U – per-user static route
o – ODR, P – periodic downloaded static route
……………………………
……………………………
……………………………
S       10.0.2.0 [1/0] via 172.20.114.86
S       10.0.3.0 [1/0] via 172.20.140.11
S       10.0.0.0 [1/0] via 172.20.114.85
S       10.0.1.0 [1/0] via 172.20.114.85

2. perintah cisco untuk menghapus iproute static,misal : S       10.0.3.0 [1/0] via 172.20.140.10

CORE-SWITCH#config t
Enter configuration commands, one per line.  End with CNTL/Z.
CORE-SWITCH(config)#no ip route 10.0.3.0 255.255.255.0 172.20.140.10
CORE-SWITCH(config)#^Z

3. perintah cisco untuk menambah iproute static,misal : 10.0.3.0 255.255.255.0 172.20.114.84

CORE-SWITCH#config t
Enter configuration commands, one per line.  End with CNTL/Z.
CORE-SWITCH(config)#ip route 10.0.3.0 255.255.255.0 172.20.114.84
CORE-SWITCH(config)#^Z

4. janganlupa untuk menyimpan konfigurasinya

CORE-SWITCH#copy running-config startup-config
CORE-SWITCH#exit

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: