El siguiente comando nos permite configurar un ALIAS
para ayudarnos a ingresar comandos en forma resumida y con un nombre en
particular dado por nosotros.
Router(config)# alias exec sip show ip route
Router#
sip
Codes:
L - local, 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
Gateway
of last resort is 10.184.124.4 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.184.124.4
10.0.0.0/8 is variably subnetted, 172
subnets, 7 masks
S 10.0.1.55/32 [1/0] via 10.184.0.41
Si utilizamos el comando alias configure, el comando deberá ser ejecutado en el modo de
configuración.
Router(config)#alias configure sip1
do show ip route
Router(config)#
sip1
Codes:
L - local, 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
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, + - replicated route
Gateway
of last resort is 10.184.124.4 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.184.124.4
10.0.0.0/8 is variably subnetted, 172
subnets, 7 masks
S 10.0.1.55/32 [1/0] via 10.184.0.41
No hay comentarios.:
Publicar un comentario