« Posts under CCIE

ip alias with NAT


まず Cisco Router での IP Alias 機能とは、設定を行なった IP Address について
Router にて Ping 応答等を行なう機能となります。この IP Address は local の
network/subnet に属する必要があります。下記コマンドにて設定できます。

ip alias

NAT における Alias 作成は、Insiobal や Outside Local のように仮想的な Address に対して、Router 上に該当 Address と同一 IP subnet をもつ Interface がある状況に対応するためで、Alias の作成を行い、ARP に応答します。

なお no-alias option は default で disable のため、default では alias が作成されます。

No Entries in the ARP table

AutoInstall Process Flowchart

It is placed in Configuration Fundamentals Configuration Guide on CCO.


About connected routes when redistributing IGP mutually

This is very basic atomic primitive important issue but I note it intentionally for my understanding.

When you use mutual redistribution between IGPs, you need to care for connected networks.

Assuming IGP-A and IGP-B are redistributed mutually:

  • If a connected network is included IGP-A, the connected route is redistributed into IGP-B, in spite of the route is not shown Router’s  ip route table as IGP-B (since it should be shown as connected, naturally.)
  • If a connected route is NOT included IGP-A, the route is not redistributed into IGP-B. You need to say “redistribute connected” if you want to redistribute it.

This is very simple, but sometime it might make you confused. At least I’m confused occasionally…

Additional information:

If you will say “redistribute connected”, above rules are not applied. For example, when you set “redistribute connected route-map INTERFACES”, only the interfaces permitted in the route-map are redistributed even if other connected interfaces are included in source IGP.


Question for something about redirect issues

If you (I) will be asked the traffic to redirect to somewhere,

  • Use rotary under line vty + autocommand (for management, administration router/SW)
  • Use nat for destination address as a inside host (for general redirection)

I’ll add here if I remind or realize new ones.

rotary under line vty

We can change telnet service port on a Router using rotary command under line vty setting.

There seems to be missing the link to this guide…


or, we can see this in old (12.2) guide.


Table 19 Services and Port Numbers for Rotary Groups and Lines

Services Provided
Base TCP Port for Rotaries
Base TCP Port for
Individual Lines

Telnet protocol



Raw TCP protocol (no
Telnet protocol)



Telnet protocol, binary mode



XRemote protocol





Telnet ポート番号の変更

次に、Telnet 接続のポート番号を変更する設定を行います。この例ではポート番号 3001 からの接続のみを許可します。

Router(config-line)#rotary 1

上記の rotary 1 コマンドによって、ポート番号 23(デフォルトポート)、3001、5001、7001、10001 からの接続が可能になります。指定できるポート番号は、以下に示す表の Base TCP Port for Rotaries の値に rotary コマンドで指定した値を加えた番号になります。


ip rcmd rsh-enable

If you are asked about a kind of rsh (remote shell protocol), you can use ip rcmd rsh-enable command to allow remote command on a router.

Cisco uses the abbreviation RCMD (Remote Command) to indicate both rsh and rcp.



The following example shows how to add two entries for remote users to the authentication database, and enable a router to support rsh commands from remote users:

ip rcmd remote-host Router1 rmtnetad1
ip rcmd remote-host Router1 netadmin4 enable
ip rcmd rsh-enable



PIR = CIR (1 + Be / Bc)

shape peak <CIR> <Bc> <Be>

maximum burst rate = shape peak rate







The router ID should match BGP and OSPF when you are using BGP synchronization

Oh, I didn’t know this restriction…


If BGP synchronization is enabled, there must be a match for the prefix in the IP routing table in order for an internal BGP (iBGP) path to be considered a valid path. BGP synchronization is enabled by default in Cisco IOS® Software. If the matching route is learned from an Open Shortest Path First (OSPF) neighbor, its OSPF router ID must match the BGP router ID of the iBGP neighbor. Most users prefer to disable synchronization with use of the no synchronization BGP subcommand.

BGP sync feature is not used now normally…

Understanding access-list wildcard

Check this great post:





IFに設定したSoOのチェックは、そのIFでupdate受信したときだけじゃなくて、vpnv4 BGP から EIGRP に redistriutes されるときにもされてると。ふむ。

CEの Backup link にこれを設定するとき、カスタマーサイトなのに ip vrf コマンド使うのに違和感がある。しかしその違和感があるだけに忘れなさそう。